Skill 3.2.3
Deploying container-based applications (for example, Amazon ECS, Amazon EKS)
Key Concepts
In ECS, a task definition describes containers, CPU/memory, the task role and the execution role; a service keeps the desired number of tasks running behind a load balancer. Service auto scaling adjusts task count and capacity providers with managed scaling grow the EC2 Auto Scaling group to fit tasks, or use Fargate and Fargate Spot. Deployments use rolling updates with the circuit breaker, or blue/green, canary and linear deployments natively in ECS or through CodeDeploy.
EKS runs Kubernetes with managed node groups, Fargate profiles or Karpenter. Pods get AWS permissions through IRSA or EKS Pod Identity, the AWS Load Balancer Controller creates ALBs/NLBs from Ingress and Service objects, and the Horizontal Pod Autoscaler scales pods while Cluster Autoscaler or Karpenter scales nodes.