Monolith to Microservices: Strangler Fig Pattern on AWS Fargate
Incrementally decomposing a monolithic application into Dockerized microservices deployed on Amazon ECS with AWS Fargate and ALB path-based routing.
Quick Navigation
Microservices Orchestration: Amazon ECS Fargate vs Amazon EKS
Choosing a container platform is one of the most consequential decisions for modern engineering organizations:
Interactive Architecture Diagram (Use controls to zoom & pan)
Docker Containerization, Serverless ECS Fargate, Kubernetes (EKS) နှင့် App Mesh
Microservices များကို Dockerize ပြုလုပ်ပြီး Server မလိုသည့် AWS Fargate ပေါ်တွင် Deploy လုပ်ခြင်း၊ Elastic Container Service (ECS) Task Definitions, Service Discovery, ECR Image Scanning နှင့် EKS Kubernetes Cluster စီမံခန့်ခွဲမှု စနစ်များ။
ECS EC2 Launch Type နှင့် Serverless ECS Fargate ၏ ကုန်ကျစရိတ်နှင့် လုပ်ငန်းလည်ပတ်မှု အားသာချက်များကို ချိန်ဆနိုင်ခြင်း။
ECS Task Execution Role (ECR pull, CloudWatch logs) နှင့် Task Role (App permissions) များကို ခွဲခြားသတ်မှတ်နိုင်ခြင်း။
AWS Cloud Map ဖြင့် Internal Microservices များ အချင်းချင်း Private DNS ဖြင့် ချိတ်ဆက်နိုင်ခြင်း (Service Discovery)။
ECR Image Vulnerability Scanning ဖြင့် လုံခြုံမှုမရှိသော Container Image များကို CI/CD အဆင့်တွင် တားဆီးနိုင်ခြင်း။
Container နည်းပညာသည် Developer စက်ပေါ်တွင် Run သည့် ပတ်ဝန်းကျင်နှင့် Production ပတ်ဝန်းကျင်ကို တထပ်တည်း တူညီစေပါသည်။
ECS Fargate ကို အသုံးပြုခြင်းဖြင့် EC2 Host OS များကို Patch လုပ်ရန် မလိုတော့ဘဲ Container CPU/Memory အတိုင်းသာ တိကျစွာ ငွေပေးချေရပါသည်။
Container များအတွက် Serverless Compute Engine ဖြစ်ပြီး EC2 Instance စီမံခန့်ခွဲရန် လုံးဝမလိုပါ။
Task Definition သည် Blueprint (Container Image, CPU, Memory) ဖြစ်ပြီး Service သည် ၎င်း blueprint အတိုင်း Task အရေအတွက်ကို ထိန်းကျောင်းပေးသည့် စနစ်။
Container အသစ်များကို အဆင့်ဆင့် အစားထိုးခြင်း သို့မဟုတ် Target Group သစ်သို့ 100% လွှဲပြောင်းပေးခြင်း။
လက်တွေ့ လေ့လာနိုင်သော Case Studies များ
Incrementally decomposing a monolithic application into Dockerized microservices deployed on Amazon ECS with AWS Fargate and ALB path-based routing.
Running 80+ microservices on Amazon Elastic Kubernetes Service (EKS) with Karpenter just-in-time node provisioning and AWS Load Balancer Controller.