CLOUD / A CONCEPT NOTE
Egress Costs
why data leaving costs money
Overview · mechanism
pitfall · examples
01 / THE SHORT VERSION
The idea in a few sentences.
Cloud providers do not charge to upload data, but they charge to download or transfer data out of their network. Egress traffic costs can become the single largest expense for media or data-heavy systems.
02 / FOLLOW THE MECHANISM
How cost is calculated
Ingress upload
uploading 10TB of photos to S3 costs $0.00 in network fees.
Internal transfer
transferring data between servers in different Availability Zones charges per GB.
Egress download
users download photos. Provider charges $0.09 per GB to exit their network.
04 / COMMAND NOTES
Read the command, then the result.
Inspect the flags and arguments before trying an example. Snippets can need local setup, replacement values, or resources in your own environment.
check private routes configuration to reduce egress costs
aws ec2 describe-vpc-peering-connections05 / CHECK YOURSELF
Could you explain Egress Costs to a teammate?
Try it out loud in two sentences: what it is, and the one detail that changes the picture. If you stall, the gap is the part to reread.
Up next in Cloud architectureSpot Instancescheap machines that vanish