How do you reduce cross-AZ data transfer costs?
IntermediateProductionPerformance, Cost & Scale
Answer
Keep chatty tiers in the same AZ where tolerable, enable topology-aware routing in Kubernetes, use zonal DNS endpoints (for RDS read replicas and MSK rack awareness), turn on follower fetching for Kafka consumers, and put NAT gateways per AZ.
Cross-AZ traffic costs 0.01 USD per GB each way. Find the biggest flows with VPC flow logs or Cost Explorer filtered by DataTransfer-Regional-Bytes.
More on Performance, Cost & Scale
What are the main drivers of AWS network cost and how do you control each?IntermediateHow do you find what is driving a surprise NAT gateway bill?AdvancedHow do you tune Linux network settings for a high-traffic server?IntermediateHow do you reach 100k+ concurrent connections on one proxy?AdvancedHow do you choose instance types for network-heavy workloads on AWS?IntermediateWhat is a placement group and when does it matter for networking?Intermediate