Storage classes
Durability and availability, every S3 storage class from Express One Zone to Glacier Deep Archive, Intelligent-Tiering, minimum durations and how to choose.
What it is
Every S3 object has a storage class. They all keep data equally safe, but trade storage price against access price, speed and availability. Hot data that's read all the time belongs in S3 Standard; old data that may never be read belongs in Glacier Deep Archive, at a fraction of the price.
The class can be set at upload, changed later, or left to lifecycle rules move objects automatically.
Durability and availability
- Durability is how unlikely it is to lose an object. S3 is designed for 99.999999999% (eleven 9s) durability across multiple AZs. With 10 million objects stored, the expected loss is one object about once every 10,000 years. It's the same for all storage classes (except One Zone classes lose data if their AZ is destroyed).
- Availability is how often the data can be reached. It varies by class. S3 Standard is designed for 99.99%, roughly 53 minutes a year when it might not be available.
The storage classes
S3 Standard (general purpose)
- 99.99% availability. For frequently accessed data.
- Low latency and high throughput. Survives two concurrent facility failures.
- No minimum duration and no retrieval fee.
- Use cases: big data analytics, mobile and gaming apps, content distribution.
Infrequent Access classes
For data that's read less often but must be available immediately when it is. Cheaper storage than Standard, but with a retrieval fee per GB, a 30-day minimum storage charge, and a minimum billable size of 128 KB.
- S3 Standard-IA: 99.9% availability, stored across multiple AZs. Use cases: disaster recovery copies, backups.
- S3 One Zone-IA: stored in one AZ: still eleven 9s durability within that AZ, but data is lost if the AZ is destroyed. 99.5% availability, and cheaper. Use cases: secondary copies of on-premises backups, or data that can be re-created.
Glacier classes
Low-cost storage for archives and backups. Billing covers storage plus a retrieval cost.
- S3 Glacier Instant Retrieval: milliseconds to retrieve. For data read about once a quarter. 90-day minimum.
- S3 Glacier Flexible Retrieval (formerly S3 Glacier): data is archived, so it must be restored first:
- Expedited: 1 to 5 minutes;
- Standard: 3 to 5 hours;
- Bulk: 5 to 12 hours, and free.
- 90-day minimum.
- S3 Glacier Deep Archive: the cheapest, for long-term storage:
- Standard: within 12 hours;
- Bulk: within 48 hours.
- 180-day minimum.
S3 Intelligent-Tiering
S3 Intelligent-Tiering is for data whose access pattern is unknown or changing.
- A small monthly monitoring and automation fee per object. No retrieval fees.
- S3 moves each object between access tiers based on use:
- Frequent Access (automatic): the default tier.
- Infrequent Access (automatic): objects not read for 30 days.
- Archive Instant Access (automatic): objects not read for 90 days.
- Archive Access (optional): configurable from 90 to 730 days.
- Deep Archive Access (optional): configurable from 180 to 730 days.
- Reading an object moves it back to Frequent Access. Objects smaller than 128 KB aren't monitored and stay in Frequent Access.
S3 Express One Zone
S3 Express One Zone is a high-performance class in a single AZ.
- Objects live in a directory bucket, a special bucket type in one AZ (its name includes the AZ ID, such as
my-data--use1-az4--x-s3). - Handles hundreds of thousands of requests per second with single-digit millisecond latency: up to 10× faster than S3 Standard, with request costs 80% lower.
- Eleven 9s durability and 99.95% availability, within the AZ.
- Co-locate storage with the compute in the same AZ to cut latency.
- Use cases: latency-sensitive and data-intensive apps, AI and ML training, financial modelling, media processing, HPC. Works well with SageMaker AI model training, Athena, EMR and Glue.
Updated since the slides
The slides say Express One Zone has 50% lower request costs than S3 Standard. After later price cuts, the AWS documentation now says 80% lower.
Comparing the classes
| Class | Availability | Minimum |
|---|---|---|
| Standard | 99.99% | none |
| Intelligent-Tiering | 99.9% | none |
| Standard-IA | 99.9% | 30 days |
| One Zone-IA | 99.5% | 30 days |
| Glacier Instant | 99.9% | 90 days |
| Glacier Flexible | 99.99% | 90 days |
| Deep Archive | 99.99% | 180 days |
Storage prices in us-east-1 fall from about $0.023 per GB-month for Standard to about $0.00099 for Deep Archive, while retrieval gets slower and more expensive. Check the S3 pricing page for current numbers.
Real-world examples
- A photo-sharing app keeps new photos in Standard; after 30 days few are viewed, so they move to Standard-IA.
- A bank must keep statements for 10 years and almost never reads them. They go to Glacier Deep Archive; a rare request can wait 12 hours.
- A data lake with unpredictable queries uses Intelligent-Tiering, so nobody has to guess which data is hot.
- An ML team puts training data in Express One Zone in the same AZ as its GPU instances, so training isn't waiting on storage.
Exam tips
- "Frequently accessed" → Standard. "Unknown or changing access patterns" → Intelligent-Tiering.
- "Infrequent but needs immediate access", "backups, DR" → Standard-IA.
- "Can be re-created", "secondary copy", "cheapest immediate access" → One Zone-IA.
- "Archive, read once a quarter, milliseconds" → Glacier Instant Retrieval.
- "Archive, retrieval in minutes or hours" → Glacier Flexible Retrieval (Expedited 1–5 min, Bulk free).
- "Cheapest storage, retrieval within 12 or 48 hours", "keep for years for compliance" → Glacier Deep Archive.
- "Single-digit millisecond, very high request rate, same AZ as compute" → S3 Express One Zone.
Common traps
- "Glacier Flexible Retrieval for data needed within milliseconds." It must be restored first; use Glacier Instant Retrieval.
- "One Zone-IA for the only copy of important data." It's lost if the AZ is destroyed.
- "Store objects in Standard-IA for a week." The 30-day minimum is billed anyway.
- "Durability differs between classes." It's eleven 9s for all of them; availability differs.
Hands-on lab: change an object's storage class
Goal: upload an object straight into a cheaper class, then move it.
Costs money
A small object in Standard-IA is billed as 128 KB for 30 days: far less than a cent. Any Region works.
Upload into Standard-IA
In your lab bucket, Upload a file, open Properties in the upload page, choose storage class Standard-IA, and upload.
Change the class
Select the object → Actions → Edit storage class → Glacier Instant Retrieval → Save. The object list shows the new class.
Try a CLI upload
In CloudShell:
echo hello > a.txt
aws s3 cp a.txt s3://<your-bucket>/a.txt --storage-class INTELLIGENT_TIERINGThe object appears with storage class Intelligent-Tiering.
Expected result: objects in three different classes in the same bucket.
Clean up: delete the objects you uploaded.
AWS documentation
Versioning and replication
S3 versioning, delete markers and suspending versioning, then Cross-Region and Same-Region Replication, Batch Replication, delete markers and why replication doesn't chain.
Lifecycle rules
Moving objects between storage classes, transition and expiration actions, two classic exam scenarios, and Storage Class Analysis.