S3 stores data as objects in buckets. Versioning retains earlier copies, replication copies objects between buckets, and Object Lock protects retained versions. Access policies, encryption, lifecycle rules, and events control how that data is used and managed.
Storage classes
Amazon S3 storage classesA storage class determines an object storage option with particular access, placement, and billing characteristics. trade access speed and frequency for price. All are designed for the same 11 nines of durability; they differ in availability, retrieval time, retrieval fees and minimum storage durationA minimum storage duration is the billed retention period that can still incur charges when data leaves a storage class early..
How it works
- Pick a class per objectAn object is stored data together with metadata that describes it., by how often and how fast it is read.
- The less often data is read, the cheaper the storage, with retrieval fees and minimum durations added.
- Lifecycle rules can move objects to cheaper classes as they age.
| Class | Access pattern | Retrieval | Min duration | AZs |
|---|---|---|---|---|
| S3 Standard | Frequent | Milliseconds | None | 3 or more |
| S3 Intelligent-Tiering | Unknown or changing | Milliseconds; no retrieval fees | None | 3 or more |
| S3 Express One Zone | Latency-sensitive | Single-digit milliseconds | None | 1 |
| S3 Standard-IA | About once a month | Milliseconds | 30 days | 3 or more |
| S3 One Zone-IA | Once a month, re-creatable | Milliseconds | 30 days | 1 |
| S3 Glacier Instant Retrieval | About once a quarter | Milliseconds | 90 days | 3 or more |
| S3 Glacier Flexible Retrieval | About once a year | Minutes to hours | 90 days | 3 or more |
| S3 Glacier Deep Archive | Less than once a year | Hours | 180 days | 3 or more |
Exam cues
- If the question says unknown or changing access, think Intelligent-Tiering.
- If the question says rarely accessed but needs immediate access, think Standard-IA or Glacier Instant Retrieval.
- If the question says long-term archive, cheapest, hours are fine, think Glacier Deep Archive.
- If the question says re-creatable data at lowest cost, think One Zone-IA.
Remember
- All classes: 11 nines durability.
- Minimums: Standard-IA and One Zone-IA 30 days, Glacier IR and Flexible 90 days, Deep Archive 180 days.
- Availability: Standard 99.99%, Standard-IA and Intelligent-Tiering 99.9%, One Zone-IA 99.5%.
Trap: Cheaper classes are not always cheaper overall. Frequently read data in Standard-IA or Glacier pays retrieval fees that can exceed the storage savings.
From the AWS docs (13)
- S3 Standard is the default storage class, for frequently accessed data (more than once a month) with millisecond access, no minimum storage duration and 99.99% designed availability.
- S3 Intelligent-Tiering is for data with unknown, changing or unpredictable access patterns; it charges per-object monitoring and automation fees but no retrieval fees.
- S3 Standard-IA is for long-lived, infrequently accessed data (about once a month) with millisecond access, a 30-day minimum storage duration and per-GB retrieval fees.
- S3 One Zone-IA stores data in one Availability Zone for re-creatable, infrequently accessed data; it has a 30-day minimum and is not resilient to the loss of that AZ.
- S3 Express One Zone gives single-digit millisecond access for latency-sensitive applications in one Availability Zone you choose.
- S3 Glacier Instant Retrieval is for archive data accessed about once a quarter that needs millisecond access, with a 90-day minimum storage duration.
- S3 Glacier Flexible Retrieval is for archives accessed about once a year, with retrieval in minutes to hours, a 90-day minimum, and objects restored before access.
- S3 Glacier Deep Archive is for archives accessed less than once a year, with retrieval in hours and a 180-day minimum storage duration; it is the lowest-cost class.
- All of these storage classes are designed for 99.999999999% durability.
- Amazon S3 archives data at the lowest costs in S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive.
- S3 storage classes are designed for different availability: S3 Standard 99.99%, Standard-IA, Intelligent-Tiering and Glacier Instant Retrieval 99.9%, and One Zone-IA 99.5%.
- S3 Express One Zone stores objects in directory buckets in one Availability Zone you choose, so compute in that zone can be co-located with its storage for the lowest latency.
- S3 Storage Class Analysis watches access patterns to help decide when to move data to STANDARD_IA; results appear after 24 to 48 hours and update daily, with optional daily export to a bucket.
S3 Lifecycle basics
S3 Lifecycle rules manage objectsAn object is stored data together with metadata that describes it. over time, moving them to cheaper storage and deleting them when no longer needed.
How it works
- Write a rule for a bucketA bucket is a container for objects stored in S3. or a prefixA prefix is the beginning of an object key used to select related object names..
- Transition actions move objects to cheaper classes after a number of days.
- Expiration actions delete objects at the end of their retention.
Exam cues
- If the question says move old data to cheaper storage or delete it automatically, think S3 Lifecycle.
Remember
- Transitions and expirations, by object age.
Trap: Lifecycle rules act on object age; they do not watch access patterns. S3 Intelligent-Tiering does that.
Flashcards
Nothing to review here right now. Pick other topics or another filter.
·
All 11 cards as a list
A company's data is accessed in unpredictable patterns. Which Amazon S3 storage class moves it between tiers automatically without retrieval fees?
S3 Intelligent-Tiering.
Monthly reports are read about once a month but must open in milliseconds. Which Amazon S3 storage class fits at lower cost than S3 Standard?
S3 Standard-IA, with a 30-day minimum and per-GB retrieval fees.
A company must keep compliance archives for 10 years and reads them less than once a year; retrieval within hours is fine. Which Amazon S3 storage class is cheapest?
S3 Glacier Deep Archive, with retrieval in hours and a 180-day minimum.
Medical images are rarely read, but when needed they must open in milliseconds. Which Amazon S3 archive class fits?
S3 Glacier Instant Retrieval, for data accessed about once a quarter with millisecond access.
A company stores thumbnails it can regenerate from originals. Which Amazon S3 storage class is cheapest for infrequent access?
S3 One Zone-IA. It keeps data in one AZ, which is acceptable for re-creatable data.
Is S3 One Zone-IA as resilient as S3 Standard-IA?
No. One Zone-IA keeps data in a single AZ and is not resilient to that AZ's loss; Standard-IA uses at least three AZs.
How do Amazon S3 Standard and S3 Standard-IA differ in their intended access patterns?
S3 Standard is for frequently accessed data. S3 Standard-IA is for long-lived data accessed infrequently and charges retrieval fees.
What should a company consider before using Amazon S3 One Zone-IA for infrequently accessed data?
S3 One Zone-IA stores data in one Availability Zone and is not resilient to its loss. It suits data that can be recreated.
Which Amazon S3 storage class suits a latency-sensitive application that needs fast access to objects?
S3 Express One Zone provides single-digit millisecond access in one Availability Zone.
Which Amazon S3 storage class suits data with unpredictable access patterns?
S3 Intelligent-Tiering is designed for unknown or changing access patterns. It charges monitoring and automation fees but no retrieval fees.
Logs in S3 are read for 30 days, kept for a year, then deleted. How can costs drop automatically?
An S3 Lifecycle rule: transition to a cheaper class after 30 days, archive later, and expire after a year.