Interview Prep/AWS/ECS, EKS, Lambda and ECR

Roll out a new ECS service version with canary and automatic rollback.

IntermediateScenarioECS, EKS, Lambda and ECR
Answer

Situation read → Use CodeDeploy blue/green or ECS native blue/green.

What I'd do →

  1. Two target groups on the ALB
  2. Deployment config CodeDeployDefault.ECSCanary10Percent5Minutes
  3. CloudWatch alarms on 5xx and latency attached to the deployment group
  4. Automatic rollback on alarm
  5. Test listener for pre-traffic validation hooks

Why → Alarms trigger automatic reversal without a human.

Interview tip → Mention ECS native blue/green as the newer path.

aws All AWS questions Roadmap: EKS, ECS & serverless on AWS

More on ECS, EKS, Lambda and ECR