CASE STUDY / PRODUCTION

Legacy EC2 to ECS/EKS Modernization and DevSecOps

Containerizing 20+ Netmonk services from legacy EC2 onto Amazon ECS and EKS while cutting deployment times from 25 to 8 minutes.

Status
Production
Key outcome
68% — faster deployment lead time
25m → 8mDeployment lead time (~68% faster)
20%Lower monthly AWS infrastructure cost
100+Pre-production security findings closed
AWSEKSECSDockerCI/CDDevSecOps

Telkom Indonesia (Netmonk) · Production modernization (Mar 2023 – Jun 2025)

Problem & context

As the sole DevOps engineer for Netmonk at Telkom Indonesia, I owned infrastructure, delivery, and security posture across approximately 20 production services. Initially, workloads ran on mutable Amazon EC2 instances with manual or host-coupled deployment scripts. Releases took ~25 minutes, environment drift was common, and pre-production security scanning was not enforced in the delivery pipeline.

Architecture & modernization approach

I led the migration from host-managed EC2 workloads to standardized container orchestration on Amazon ECS and Amazon EKS, paired with automated DevSecOps gates:

EC2 to ECS/EKS containerization & DevSecOps pipeline20+ Netmonk production services
  1. Legacy EC2Mutable hosts (~25m deploys)
  2. ContainerizationMulti-stage non-root Docker
  3. CI Security Gates100+ findings closed pre-prod
  4. ECS & EKS Rollout8m automated deploys (-20% cost)
  1. Containerization & runtime standardization: Refactored ~20 backend and worker services into multi-stage, non-root Docker images with explicit health checks, resource requests, and externalized configuration.
  2. ECS & EKS orchestration: Migrated stateless services onto Amazon ECS and Kubernetes (EKS) with automated rolling updates and autoscaling, eliminating SSH-based host mutations.
  3. CI/CD pipeline optimization: Rebuilt build and deployment pipelines with layer caching, parallel verification stages, and automated rollout verification, reducing end-to-end deployment duration from 25 minutes to 8 minutes.
  4. DevSecOps & cost governance: Integrated container, dependency, and secret scanning into CI—remediating 100+ security findings before production—and right-sized compute and storage tiers to cut monthly AWS spend by 20%.

Modernization comparison

Dimension Legacy EC2 State Containerized ECS / EKS State
Deployment duration ~25 minutes per release 8 minutes (~68% faster)
Security verification Post-hoc vulnerability reviews 100+ findings remediated prior to production via CI gates
Monthly cloud spend Over-provisioned static instances 20% lower monthly cost via container bin-packing and rightsizing

Production outcomes