Choosing an Amazon ECS blue/green rollout: all-at-once, canary, or linear

An all-at-once cutover gives the new revision every production request at the switch. A canary or linear rollout lets you watch it handle a share of that traffic first. The same Terraform setup for a Fargate service supports all these options, with readiness checks and automatic rollback on a CloudW
When you switch an Amazon ECS service all at once, every production request goes straight to the new revision. A gradual rollout lets you see how the replacement handles a share of production traffic while there's still time to stop the cutover. For one Fargate HTTP service, the Terraform setup is the same either way. You pick the traffic shift in AWS CodeDeploy, set up readiness checks on the load balancer, and enable automatic rollback.
Read the full article on LearnXops (free with a LearnXops account).