Interview Prep/Networking/Performance, Cost & Scale

What are the main drivers of AWS network cost and how do you control each?

IntermediateProductionPerformance, Cost & Scale
Answer

NAT gateway processing (0.045 USD/GB): use endpoints. Data transfer out to internet (about 0.09 USD/GB): use CloudFront (cheaper egress and caching). Cross-AZ and cross-region transfer: locality. Public IPv4 charges: remove or use IPv6. Load balancer LCUs and idle LBs: consolidate, delete unused. TGW attachments and data: fewer hops.

Tag by workload and review Cost Explorer monthly; network cost is invisible until the bill arrives.

All Networking questions Roadmap: Networking for DevOps

More on Performance, Cost & Scale