Amazon ECS Service Connect adds zone-aware routing
Amazon ECS Service Connect has introduced zone-aware routing to prioritize traffic to healthy endpoints within the same Availability Zone as the client. This feature aims to reduce cross-zone data transfer costs and minimize latency. Zone-aware routing is enabled by default for new and existing services, though existing services require a redeployment to activate. The enhancement leverages Envoy's routing capabilities to discover endpoints, prioritize local traffic, and gracefully fall back to other zones if needed, without requiring application code changes.
- →Zone-aware routing for ECS Service Connect
- →How zone-aware routing works
- →Benefits of zone-aware routing
- →Walkthrough for zone-aware routing setup
Features (1) ›
- Zone-aware routing for ECS Service Connect
Amazon ECS Service Connect now routes traffic to healthy endpoints in the same Availability Zone as the client task by default. This feature reduces cross-zone data transfer costs and minimizes network latency. It is enabled by default for new and existing services, with existing services requiring a one-time redeployment to activate.
Notes (3) ›
- How zone-aware routing works
The Envoy sidecar proxy in ECS Service Connect discovers endpoints, prioritizes local AZ traffic, and routes based on residual capacity. It falls back to other AZs if local endpoints are unavailable and rebalances dynamically as endpoints scale.
- Benefits of zone-aware routing
Zone-aware routing offers reduced data transfer costs by prioritizing intra-AZ communication, lower network latency through fewer AZ traversals, and preserved high availability via automatic spillover to other zones. No application code changes are needed as the Envoy proxy handles the routing.
- Walkthrough for zone-aware routing setup
The post provides a detailed walkthrough demonstrating how to set up a multi-AZ ECS cluster, deploy services with Service Connect, and verify zone-aware routing. It includes steps for creating security groups, ECS clusters, launch templates, load balancers, task definitions, and services, along with verification and failover testing.
https://aws.amazon.com/blogs/containers/announcing-zone-aware-routing-in-amazon-ecs-service-connect/
Related releases
- Centralize ECS telemetry with ADOT gateway AWS Containers Blog ·
- Amazon ECS supports fractional GPU scheduling with EC2 G6f instances AWS What's New ·
- AWS Network Firewall adds forward proxy functionality AWS What's New ·
- Extending Amazon ECS Express Mode for Custom Container Environments AWS Containers Blog ·
- Run GPU batch inference on ECS with scale-to-zero managed instances AWS Containers Blog ·
- CloudWatch adds managed Prometheus collectors AWS What's New ·