Networking
Traffic cost
31 / 69

Chatty services spread across Availability Zones pay for every hop that crosses a zone.

Cross-AZ data transfer is billed in both directions and adds latency. Zone-aware routing keeps traffic local when it can.

Default: zone-blind balancingcheckoutzone Ainventory Ainventory Binventory Cabout two thirds of calls cross a zone boundaryTopology-aware routingcheckoutzone Ainventory Ainventory Binventory Cprefers a same-zone endpoint, falls back if none is healthy

Turn on zone-aware routing

Set service.kubernetes.io/topology-mode: Auto on Services, and enable zone-aware routing on the load balancer targets where supported.

Keep replicas balanced

Zone-local routing needs endpoints in each zone. Use topology spread constraints so no zone is starved or overloaded.

Measure it

Use VPC Flow Logs or Cost Explorer's inter-AZ usage types to find the chatty pairs before optimising.