Skip to content
Draft: this topic has not been reviewed yet. Check facts against the linked AWS documentation before relying on them.

How AWS charges for data transfer and storage

Cloud Practitioner · Domain 4 · Billing, Pricing, and SupportTask 4.1: Compare AWS pricing modelsLevel 115 minDraft
Difficulty
Confidence

Most AWS bills come down to three things: compute, storage and outbound data transfer. The previous topic covered compute. This one explains the other two, which surprise many beginners.

Data transfer: what is free and what is charged

Traffic Usually Why it matters
In from the internet to AWS Free Uploading data to AWS costs nothing
Out from AWS to the internet Charged per GB Serving videos or downloads to users is a real cost
Between AWS services in the same Region Mostly free, with exceptions Keep services that talk a lot in the same Region
Between Availability Zones in the same Region Often charged High-availability designs across AZs have a small data cost
Between Regions Charged Copying data to another Region (for DR, say) costs money
From AWS origins to CloudFront Free Serving through CloudFront can lower the cost of delivering content

Two more facts to remember:

  • Every AWS account gets 100 GB of free data transfer out to the internet each month, added up across all services and Regions (except China and GovCloud).
  • Outbound data transfer is added up across services and charged at tiered rates: the more you transfer, the lower the price per GB.

Exact prices vary by Region and change over time, so always check the pricing pages or the AWS Pricing Calculator.

How storage is priced

Service You pay for Ways to pay less
Amazon S3 GB stored per month (depends on storage class), requests, retrievals for IA and Glacier classes, data transfer out Cheaper storage classes and lifecycle rules; Intelligent-Tiering when unsure
Amazon S3 Glacier classes Very low GB-month price, plus retrieval fees and minimum storage durations Use for data you rarely read; pick the retrieval speed you need
Amazon EBS GB provisioned per month (even if empty), plus extra performance on some volume types, and snapshots Right-size volumes, delete unused volumes and old snapshots
Amazon EFS GB used per month, by storage class Lifecycle management moves rarely used files to cheaper classes

The key difference: EBS charges for the size you provision, while S3 and EFS charge for what you actually store.

Putting it together: a video streaming site

A company streams videos from S3 to users worldwide.

  • Uploading new videos to S3: free data transfer in.
  • Storing 50 TB of videos: S3 storage charges; older videos move to Standard-IA to save money.
  • Streaming to viewers: data transfer out is the biggest cost. Serving through CloudFront caches videos near viewers and can lower that cost.
  • Copying the library to a second Region for disaster recovery: inter-Region transfer charges, plus storage in the second Region.

Common mix-ups

  • Data in vs data out. Uploading to AWS is free; downloading from AWS to the internet is charged.
  • Cross-AZ traffic is not always free. Spreading across AZs is still the right choice for availability, but it has a small data cost.
  • EBS bills for empty space. A 500 GB volume holding 10 GB costs the same as a full one.

Check yourself

Is it free to upload data from the internet into Amazon S3?

Yes. Inbound data transfer from the internet is free.

Which is usually charged: data transfer into AWS, or out to the internet?

Out to the internet.

A team creates a 1 TB EBS volume but stores only 100 GB on it. What are they billed for?

The full 1 TB that was provisioned.

Key takeaways

  • Costs come from compute, storage and outbound data transfer.
  • Inbound transfer is free; outbound to the internet and between Regions are charged; cross-AZ traffic often is too.
  • S3 and EFS charge for data stored; EBS charges for the size provisioned.

Cloud Study Lab is an independent study site. It is not affiliated with or endorsed by Amazon Web Services. AWS and the names of AWS certifications are trademarks of Amazon.com, Inc. or its affiliates.