Maintained with ☕️ by
IcePanel logo

Amazon ECS adds Amazon VPC Lattice support for blue/green, linear, and canary deployments

Share

Services

[Amazon Elastic Container Service](https://aws.amazon.com/ecs/) (Amazon ECS) now supports built-in blue/green, linear, and canary deployment strategies for ECS services using [Amazon VPC Lattice](https://aws.amazon.com/vpc/lattice/). Applications that use VPC Lattice for service-to-service communication across VPCs and AWS accounts can now take advantage of managed traffic shifting natively from Amazon ECS when rolling out updates. With this launch, ECS customers using VPC Lattice can shift traffic in a controlled manner during deployments, choosing how quickly traffic moves based on their confidence in each release: all at once with blue/green, in equal increments with linear, or starting with a small percentage with canary. Teams can validate new versions with test traffic before shifting production traffic, and run custom validation steps or manual approvals with deployment lifecycle hooks, including Lambda and pause hooks. These services can also use Amazon CloudWatch alarms and the Amazon ECS deployment circuit breaker to automatically roll back deployments if issues are detected, with bake time keeping the previous version ready for a quick rollback without downtime. To get started, select your VPC Lattice target groups, listener rule, and preferred deployment strategy in the ECS service configuration using the AWS Management Console, AWS CLI, AWS SDKs, or Infrastructure-as-Code tools. This functionality can be enabled for both new and existing ECS services in all AWS [Regions](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/) where VPC Lattice is available. For more information, see [Amazon ECS deployments with VPC Lattice](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/vpc-lattice-resources-for-blue-green.html).