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
- Employment context
- DevOps Engineer · Telkom Indonesia
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:
- Legacy EC2Mutable hosts (~25m deploys)
- ContainerizationMulti-stage non-root Docker
- CI Security Gates100+ findings closed pre-prod
- ECS & EKS Rollout8m automated deploys (-20% cost)
- 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.
- ECS & EKS orchestration: Migrated stateless services onto Amazon ECS and Kubernetes (EKS) with automated rolling updates and autoscaling, eliminating SSH-based host mutations.
- 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.
- 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 |