[ SRE_ARENA ]
CONTAINERS (ECS & MICROSERVICES)

Containers: ECS, EKS, and Fargate

DOWNLOADING CONCEPT: 1. ECS VS EKS...

↳When you want to run Docker containers on AWS, you have two main choices for orchestration:

  • ■EKS (Elastic Kubernetes Service): The open-source standard. It is incredibly powerful but highly complex. You have to manage Helm charts, Ingress Controllers, and a sprawling ecosystem. Choose this if you are multi-cloud or have a dedicated Platform Engineering team.
  • ■ECS (Elastic Container Service): The AWS-native orchestrator. It is deeply integrated with IAM, ALB, and CloudWatch. There is almost zero learning curve compared to Kubernetes. Choose this if you are an AWS-only shop and want to deploy microservices as fast and simply as possible.
▲ LIVE INCIDENTYour Fargate task fails to start. It gets stuck in a 'PENDING' state for 3 minutes before failing with a cryptic 'ResourceInitializationError: unable to pull secrets or registry auth'.
sre@arena:~/cloud-ecs
sre@arena:~$ aws ecs describe-tasks --cluster prod --tasks 123456789