Free — no signup required

Storage Classes: The Hierarchy of Cost vs. Speed

3 min read

S3 is not one-size-fits-all. You pay drastically different prices depending on how frequently you access your data. Choosing the wrong storage class is one of the most common and expensive mistakes in AWS architecture.

The core trade-off is simple: the cheaper the storage, the longer you wait to retrieve your data, and the more you pay per retrieval. Understanding this trade-off is the key to choosing the right class.

1. S3 Standard

The default. Data is stored redundantly across a minimum of three Availability Zones (AZs) within a region, giving 99.999999999% (eleven nines) durability and 99.99% availability.

  • Use case: Active, frequently accessed data — cloud-native applications, dynamic websites, real-time analytics feeds.
  • Retrieval fee: None. You pay only for storage and requests.
  • Minimum storage duration: None.

2. S3 Intelligent-Tiering (The "Easy Button")

Intelligent-Tiering is designed for data with unknown or unpredictable access patterns. AWS monitors each object individually. If an object is not accessed for 30 consecutive days, it is automatically moved to a cheaper "Infrequent Access" tier. If you access it again, it moves back to the frequent-access tier instantly — with no retrieval fee.

  • Use case: Large data lakes where some files are hot and others go cold unpredictably.
  • Cost: A small per-object monitoring fee (roughly $0.0025 per 1,000 objects per month). For objects smaller than 128 KB, the monitoring fee can exceed the savings, so Intelligent-Tiering is not cost-effective for very small objects.
  • Optional archive tiers: You can configure Intelligent-Tiering to also move objects to Glacier tiers after 90 or 180 days of no access.

3. S3 Standard-IA (Infrequent Access)

Designed for data you access less than once a month but need immediately when you do access it.

  • Use case: Disaster recovery backups, secondary copies of on-premises data.
  • Trade-off: Storage is cheaper than Standard (~40% less), but you pay a per-GB retrieval fee. If you access data frequently, the retrieval fees can make this more expensive than Standard.
  • Minimum storage duration: 30 days. If you delete an object before 30 days, you are still charged for 30 days.

4. S3 One Zone-IA

Identical to Standard-IA, but data is stored in only one Availability Zone instead of three. This makes it about 20% cheaper than Standard-IA.

  • Use case: Re-creatable data where losing it is inconvenient but not catastrophic — for example, thumbnail images generated from originals stored in Standard.
  • Risk: If that single AZ experiences a catastrophic failure (rare but possible), your data is gone. Never use this for primary backups or irreplaceable data.

5. The S3 Glacier Family (Archival Storage)

Glacier classes are for data you rarely or never access. Think of them as replacing physical magnetic tape archives.

Class Retrieval Time Best For
Glacier Instant Retrieval Milliseconds Medical images, news archives — rarely accessed but urgently needed
Glacier Flexible Retrieval Minutes to 12 hours Backup archives where you can plan ahead
Glacier Deep Archive 12–48 hours Regulatory archives, tape replacement (~$1/TB/month)

Key nuance: Glacier Instant Retrieval has the same millisecond access as Standard, but its storage cost is ~68% cheaper. The catch is a higher retrieval fee and a 90-day minimum storage duration. It is ideal for data accessed perhaps once a quarter.

This is one of 18 chapters

Get every chapter — Kubernetes, Terraform, SRE, distributed systems, and more — with fast daily review built in.

See pricing