Interview Prep/AWS/Cost Optimization

What are the main data transfer charges people forget?

AdvancedProductionCost Optimization
Answer
  • Internet egress (beyond the free monthly allowance), the classic one.
  • Cross-AZ traffic, charged in each direction.
  • NAT gateway data processing on every GB, including traffic to AWS services without endpoints.
  • Cross-region replication and inter-region calls.
  • Transit Gateway and interface endpoint per-GB processing.
  • Public IPv4 address hourly charges.

Reductions: CloudFront in front of origins (origin to CloudFront transfer is free, and CloudFront egress pricing is lower at volume), compression, gateway endpoints, same-AZ affinity, and keeping chatty services in one region.

aws All AWS questions Roadmap: Cloud cost & architecture

More on Cost Optimization