Storage classes
| Storage class | When to use it | Retrieval |
|---|---|---|
| Standard | Frequently read files, such as website images.Retrieval · Milliseconds | Milliseconds |
| Intelligent-Tiering | Objects whose popularity changes over time.Retrieval · Tier-dependent | Tier-dependent |
| Standard-IA | Infrequent reads with copies across availability zones.Retrieval · Milliseconds | Milliseconds |
| One Zone-IA | Infrequent reads of data you can recreate after losing a zone.Retrieval · Milliseconds | Milliseconds |
| Express One Zone | Latency-sensitive work in a directory bucket in one zone.Retrieval · Single-digit milliseconds | Single-digit milliseconds |
| Glacier Instant Retrieval | Archives that must open immediately when requested.Retrieval · Milliseconds | Milliseconds |
| Glacier Flexible Retrieval | Archives that can wait for a restore job.Retrieval · Minutes to hours | Minutes to hours |
| Glacier Deep Archive | Long-term records that can tolerate a longer restore.Retrieval · Typically 12–48 hours | Typically 12–48 hours |
Intelligent-Tiering serves objects in milliseconds from its instant-access tiers. The optional Archive Access and Deep Archive Access tiers require a restore.
AWS storage class documentationLifecycle rules
A rule can apply to a whole bucket or a subset of objects, such as keys beginning with logs/.
- Transition
- Move eligible objects into another storage class as they age. For example, archive older log files after the period when you regularly read them.
- Expiration
- Set a retention period. In a versioned bucket, expiring the current version generally adds a delete marker. Configure noncurrent-version expiration to remove older versions.
Access control
- IAM and bucket policies
- Grant the actions a workload needs. Listing keys in a bucket and reading the contents of an object require different permissions.
- Block Public Access
- Use these settings to restrict public access. New general purpose buckets have all four settings enabled by default.
This quick reference draws on the full Tutorials Dojo S3 cheat sheet, which also covers replication, encryption and monitoring.