← English news
Priority 4/5

Amazon ECS Integrates with Amazon VPC Lattice for Blue-Green and Canary Deployments

Amazon ECS now natively supports blue/green, linear, and canary deployment strategies for containerized services connected through Amazon VPC Lattice. This integration simplifies secure, cross-VPC service-to-service communication updates without requiring complex manual routing shifts.

Amazon ECS Integrates with Amazon VPC Lattice for Blue-Green and Canary Deployments

Amazon Elastic Container Service has introduced built-in support for advanced deployment patterns when utilizing Amazon VPC Lattice. This update allows development teams to execute safe deployment strategies, such as canary and linear traffic shifting, directly on services integrated with VPC Lattice. Previously, managing these progressive traffic rollouts across multiple Virtual Private Clouds and AWS accounts required complex external orchestration or custom routing logic.

Primary source

Open AWS What's New ↗

This article summarizes the source. Check the original for full details and conditions.

Comparison

AspectBefore / AlternativeAfter / This
Traffic Shifting ControlManaged via custom scripts, Application Load Balancers, or third-party service meshes.Native orchestration within ECS using VPC Lattice target groups.
Deployment StrategiesMainly limited to immediate all-at-once cutovers or complex manual DNS weight changes.Out-of-the-box support for blue/green, linear, and canary patterns.
Cross-VPC NetworkingRequired maintaining VPC peering, transit gateways, and manual route table updates during deployments.VPC Lattice handles secure service-to-service routing transparently across accounts and VPCs.

Action Checklist

  1. Verify ECS service definition and ensure it uses the VPC Lattice controller Ensure your AWS IAM permissions are updated to allow ECS to manage VPC Lattice resources.
  2. Configure the deployment controller in your ECS service spec to use ECS blue/green This specifies how traffic shifts between the green and blue target groups.
  3. Define the target groups in Amazon VPC Lattice for your routing configuration You will need a primary and a secondary target group to facilitate the traffic shifting.
  4. Test the deployment using small canary increments before full production rollout Monitor ECS service events and VPC Lattice access logs for any routing anomalies.