Interview Prep/Networking/Performance, Cost & Scale

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.

All Networking questions Roadmap: Networking for DevOps

More on Performance, Cost & Scale