CLOUD / A CONCEPT NOTE

Egress Costs

why data leaving costs money

~65 sec read

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

  1. Ingress upload

    uploading 10TB of photos to S3 costs $0.00 in network fees.

  2. Internal transfer

    transferring data between servers in different Availability Zones charges per GB.

  3. 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.

EXAMPLE 01 · REFERENCE

check private routes configuration to reduce egress costs

aws ec2 describe-vpc-peering-connections

Explore command anatomy in the CLI lab