Interview Prep/AWS/Observability, Deployments and Governance

What deployment strategies do you use on AWS and when?

BeginnerProductionObservability, Deployments and Governance
Answer
flowchart LR
    R["Rolling: replace in batches, cheapest"] --> B["Blue/green: full new stack, instant switch and rollback"]
    B --> C["Canary: small % first, watch alarms, then all"]
    C --> L["Linear: shift in equal steps over time"]
  • EC2/ASG: instance refresh (rolling) with checkpoints, or blue/green via two target groups and ALB weighted forwarding.
  • ECS: rolling with deployment circuit breaker and alarm-based rollback, or blue/green with traffic shifting.
  • Lambda: aliases with weighted routing via CodeDeploy (Canary10Percent5Minutes, Linear10PercentEvery1Minute).
  • EKS: Argo Rollouts or Flagger with ALB weights.

Pick canary for high-traffic services where metrics detect problems quickly; blue/green when you need instant rollback.

aws All AWS questions

More on Observability, Deployments and Governance