1. The Hidden Three-Layer Bandwidth Bill Inside AWS VPCs
Cloud invoices rarely label bandwidth under a single line item. Instead, engineering teams get billed across three compounding paths: public internet egress from S3/EC2/ALB ($0.09/GB for the first 10 TB), Managed NAT Gateway data processing ($0.045/GB on top of $0.045/hour per AZ—even when private subnets merely pull artifacts from S3 or ECR in the same region!), and Cross-AZ traffic ($0.01/GB out plus $0.01/GB in = $20/TB round-trip between availability zones).
Attaching a Gateway VPC Endpoint for S3 and DynamoDB takes five lines of Terraform, carries zero hourly or per-GB charges, and immediately zeroes out NAT Gateway processing fees for internal bucket traffic.
2. Zero-Egress Object Storage & Bandwidth Alliance Peering
For public media assets, ML checkpoints, Parquet analytics lakes, and software distribution binaries, serving bytes directly from S3 or CloudFront incurs steep per-terabyte charges. Migrating hot read-heavy objects to S3-compatible zero-egress storage such as Cloudflare R2 ($0.015/GB-month storage, $0.00/GB egress) decouples viral traffic spikes from infrastructure burn.
2026 Engineering Reference Matrix
| Transfer Path | AWS Standard Rate | GCP / Azure Typical | Zero-Egress / VPC Fix | Implementation Effort |
|---|---|---|---|---|
| Public Internet Egress (First 10 TB) | $90 / TB ($0.09/GB) | $85 – $120 / TB | $0 / TB on Cloudflare R2 | S3 SDK endpoint swap |
| Managed NAT Gateway Processing | $45 / TB + $32/mo/AZ | $45 / TB | $0 / TB via S3 Gateway Endpoint | 15-min Terraform change |
| Cross-AZ Pod/DB Replication | $20 / TB effective | $10 – $20 / TB | Topology-aware K8s routing | K8s `topologyKeys` config |
Frequently Asked Engineering Questions
Does adding an AWS S3 Gateway VPC Endpoint require application code changes?
No. It updates VPC route tables transparently so existing S3 SDK calls stay inside the AWS private backbone without traversing the NAT Gateway.
How do we migrate terabytes out of S3 without paying a massive one-time egress bill?
Use progressive lazy migration (cache-on-read into R2 as users request objects) so you pay AWS egress at most once per active object instead of migrating cold archival data.