shiichan

Amazon ECS's Advanced Deployment Strategies Have Finally Arrived in the AWS European Sovereign Cloud!

Hey everyone, it's Shii-chan! Today I've got a nice update for anyone running containers on AWS.

AWS What's New aws.amazon.com

What was announced?

According to AWS What's New, Amazon ECS (Elastic Container Service) now supports built-in blue/green, linear, and canary deployment strategies in the AWS European Sovereign Cloud. These deployment capabilities were already available in the standard AWS partitions, and now they've been extended to the AWS European Sovereign Cloud, the independent partition built for Europe's strict data sovereignty requirements.

The story so far

Until now, if you ran Amazon ECS in the AWS European Sovereign Cloud, you had to build your own tooling to update applications safely. Shifting traffic gradually and rolling back quickly when something went wrong meant building custom deployment tooling from scratch.

What changes

Now you can use Amazon ECS's built-in deployment strategies directly. Without building custom tooling, you can validate a new version before shifting production traffic to it, which should make release work safer and faster for teams running containers in the European sovereign cloud.

Dive Deep

There are three supported deployment strategies:

  • Blue/green deployment — runs the old and new versions side by side and shifts traffic in a single step
  • Linear deployment — shifts traffic in equal increments over a specified period
  • Canary deployment — shifts a small percentage of traffic first, then the rest

You also get features that make deployments safer:

  • Deployment lifecycle hooks (Lambda hooks and pause hooks) let you run custom validation or approval workflows
  • Bake time lets you evaluate the new version after traffic has shifted
  • If something goes wrong, you can roll back automatically with Amazon CloudWatch alarms or the ECS deployment circuit breaker, or trigger a rollback directly with the StopServiceDeployment API

These capabilities are available for ECS services that use an Application Load Balancer (ALB), Network Load Balancer (NLB), or Amazon ECS Service Connect.

Wrap-up

  • Amazon ECS's blue/green, linear, and canary deployments are now available in the AWS European Sovereign Cloud
  • Production-ready features like lifecycle hooks, bake time, and automatic rollback come bundled in
  • Supported for services using an ALB, NLB, or ECS Service Connect
  • Great news for teams running Amazon ECS in the European sovereign cloud!