Study guide
Technical reference and lesson notes
Purpose of This Lesson
Amazon S3 storage classes let you balance access frequency, retrieval speed, resilience, availability, and cost. The key skill is selecting an appropriate class for an object’s access pattern and recovery requirements, either when the object is created or later through manual changes and S3 Lifecycle configurations.
Key Concepts
Durability vs. Availability
- Durability describes the likelihood that Amazon S3 permanently loses an object. The lecture describes S3 durability as 11 nines, or 99.999999999%. This durability level is the same across the storage classes covered here.
- Availability describes how readily the object or service can be accessed successfully. Availability varies by storage class and is distinct from durability.
- A highly durable object can still be temporarily unavailable. For example, S3 Standard is described as having 99.999% availability, which corresponds to approximately 53 minutes of potential unavailability per year.
Storage Class Selection Factors
When selecting a class, evaluate:
- How frequently the object is accessed.
- How quickly the object must be retrieved.
- Whether the data can tolerate storage in a single Availability Zone.
- Retrieval charges and minimum storage-duration charges.
- Whether access patterns are predictable enough for manual or lifecycle-based transitions.
S3 Storage Classes and Retrieval Behavior
S3 Standard
S3 Standard is the default general-purpose class for frequently accessed data. It provides low latency and high throughput and is suitable for big data analytics, mobile and gaming applications, and content distribution. The lecture describes it as capable of sustaining two concurrent facility failures on the AWS side and having 99.999% availability.
Use it when data is accessed regularly and predictable performance matters more than minimizing storage cost.
S3 Standard-Infrequent Access
S3 Standard-IA is intended for data that is accessed less frequently but still requires rapid access when needed. It costs less to store than S3 Standard, but retrieval incurs a charge. The lecture gives it 99.9% availability and identifies backups and disaster recovery as common use cases.
S3 One Zone-Infrequent Access
S3 One Zone-IA stores data in a single Availability Zone. It offers high durability within that single AZ, but data can be lost if the AZ is destroyed. Its availability is lower than Standard-IA; the lecture gives 99.5%.
Use it for secondary copies of backups or data that can be recreated. Do not use it as the only copy of data whose loss would be unacceptable.
S3 Glacier Instant Retrieval
Glacier Instant Retrieval is a low-cost archival class for data that is accessed infrequently but must be retrieved in milliseconds. The lecture describes a typical access pattern of once per quarter and a minimum storage duration of 90 days.
S3 Glacier Flexible Retrieval
Glacier Flexible Retrieval is designed for archival data where retrieval can take longer. It has three retrieval options:
- Expedited: approximately 1–5 minutes.
- Standard: approximately 3–5 hours.
- Bulk: approximately 5–12 hours and free according to the lecture.
The minimum storage duration is 90 days. Choose it when low storage cost is more important than immediate access and the recovery time can vary.
S3 Glacier Deep Archive
Glacier Deep Archive is intended for long-term retention at the lowest storage cost among the classes discussed. Retrieval options are:
- Standard: approximately 12 hours.
- Bulk: approximately 48 hours.
The minimum storage duration is 180 days. It is appropriate when data is rarely retrieved and the organization can tolerate a long recovery window.
S3 Intelligent-Tiering
S3 Intelligent-Tiering automatically moves objects between access tiers based on usage patterns. It charges a small monthly monitoring and auto-tiering fee, but the lecture states that it has no retrieval charges.
The tiers described are:
- Frequent Access: the default automatic tier.
- Infrequent Access: used for objects that have not been accessed for approximately 30 days.
- Archive Instant Access: automatic for objects not accessed for more than approximately 90 days.
- Archive Access: optional and configurable for objects with longer periods of inactivity.
- Deep Archive Access: optional and intended for objects that remain inactive for still longer periods.
Intelligent-Tiering is useful when access patterns are uncertain or change over time and the owner prefers automated movement rather than manually predicting the correct class.
Lifecycle and Object-Class Management
An object can receive a storage class when it is created. Its class can also be modified manually later. S3 Lifecycle configurations can automatically transition objects between storage classes based on configured rules.
Lifecycle transitions are especially useful for predictable aging patterns, such as moving newly created data from frequent-access storage to infrequent-access or archival storage after it becomes older. Before creating transitions, account for retrieval charges, minimum storage-duration charges, and the required recovery time.
Exam- or Assessment-Relevant Takeaways
- Durability is not availability. The lecture presents durability as 11 nines across the classes, while availability differs by class.
- S3 Standard is the default choice for frequently accessed, performance-sensitive data.
- Standard-IA fits infrequently accessed data that still needs rapid retrieval, such as backups and disaster recovery data.
- One Zone-IA is appropriate only when data is recreatable or is a secondary backup copy because it is held in one AZ.
- Glacier Instant Retrieval supports millisecond retrieval for archival data.
- Glacier Flexible Retrieval supports expedited, standard, and bulk retrieval with minutes-to-hours recovery times.
- Glacier Deep Archive has the lowest cost and the longest retrieval times among the Glacier options discussed.
- Intelligent-Tiering is the choice when access patterns are unpredictable and automatic tier movement is preferred; it has monitoring and auto-tiering fees but no retrieval charges according to the lecture.
- Storage-class decisions should consider access frequency, retrieval latency, AZ resilience, retrieval fees, and minimum storage duration—not storage price alone.
Tool / Feature Decision Guide
| Requirement | Preferred class or approach | Decisive reason |
|---|---|---|
| Frequently accessed data with low latency and high throughput | S3 Standard | General-purpose performance and frequent access |
| Infrequent access with rapid retrieval | S3 Standard-IA | Lower storage cost, with retrieval charges |
| Re-creatable data or a secondary backup in one AZ | S3 One Zone-IA | Lower-cost single-AZ storage is acceptable |
| Archival data requiring millisecond access | Glacier Instant Retrieval | Archive pricing with instant retrieval |
| Archival data where retrieval can take minutes to hours | Glacier Flexible Retrieval | Multiple retrieval speeds, including bulk retrieval |
| Long-term retention where recovery can take 12–48 hours | Glacier Deep Archive | Lowest-cost long-term archival option discussed |
| Unknown or changing access pattern | S3 Intelligent-Tiering | Automatic movement between access tiers |
| Predictable aging and retention policy | S3 Lifecycle configuration | Automates transitions based on object age or policy |
Common Traps / Misconceptions
- Trap: Treating 11-nines durability as 100% availability. Durability concerns permanent loss; availability concerns access at a given time.
- Trap: Using One Zone-IA for the only copy of critical data. A single-AZ failure can make the data unavailable or result in loss of that copy.
- Trap: Assuming every Glacier class provides instant retrieval. Only Glacier Instant Retrieval is described as providing millisecond retrieval.
- Trap: Confusing Glacier Flexible Retrieval with Deep Archive. Flexible Retrieval offers expedited, standard, and bulk options; Deep Archive is slower and intended for longer-term retention.
- Trap: Choosing a class only by its storage price. Retrieval charges, minimum storage durations, and recovery-time requirements also affect the decision.
- Trap: Assuming Intelligent-Tiering is free of all additional charges. The lecture specifies a monitoring and auto-tiering fee, even though it states there are no retrieval charges.
- Trap: Manually changing every object when a predictable policy exists. Lifecycle configurations can automate class transitions.
Real-World Engineer / Analyst Notes
- Treat storage class as part of the application’s data lifecycle design, not merely a billing choice.
- Document the maximum acceptable retrieval delay for backups, analytical datasets, and archived records before selecting a Glacier class.
- Validate whether a dataset is reproducible before placing it in One Zone-IA.
- For lifecycle policies, review the effect of minimum storage-duration charges and retrieval charges before deploying the rule broadly.
- Intelligent-Tiering is most valuable when access behavior is difficult to predict. For strongly predictable data aging, explicit lifecycle transitions may be easier to reason about.
- Applications should handle occasional access errors implied by service availability limits rather than assuming S3 access is continuously successful.
Quick Reference Summary
- S3 Standard: frequent access; low latency; high throughput.
- S3 Standard-IA: infrequent access; rapid retrieval; retrieval charge.
- S3 One Zone-IA: infrequent access; single AZ; suitable for secondary or recreatable data.
- Glacier Instant Retrieval: archival storage; millisecond retrieval.
- Glacier Flexible Retrieval: archival storage; expedited, standard, or bulk retrieval from minutes to hours.
- Glacier Deep Archive: long-term retention; retrieval measured in hours.
- S3 Intelligent-Tiering: automatic tier movement for changing access patterns; monitoring and auto-tiering fee; no retrieval charges stated in the lecture.
- Lifecycle configurations: automate transitions between classes.
- Durability: 11 nines across the discussed classes.
- Availability: varies by class and should not be confused with durability.
Flashcards
Q: A dataset is accessed frequently by a high-throughput analytics workload. Which S3 storage class is the default fit, and why?
A: S3 Standard, because it is intended for frequent access and provides low latency and high throughput.
Q: When would you choose S3 Standard-IA instead of S3 Standard?
A: Choose Standard-IA when data is accessed less frequently but must still be retrieved rapidly. Its lower storage cost is balanced by retrieval charges.
Q: A backup can be recreated and only a secondary copy is being stored. Which class may be appropriate, and what is the key limitation?
A: S3 One Zone-IA may be appropriate because the data is recreatable or secondary. Its key limitation is storage in only one Availability Zone.
Q: What is the decisive difference between durability and availability in S3?
A: Durability concerns permanent object loss, while availability concerns how readily the object can be accessed. The lecture describes durability as 11 nines across these classes, but availability varies.
Q: Which Glacier class should be considered when archived data must be retrieved in milliseconds?
A: Glacier Instant Retrieval, which is designed for archival data needing millisecond retrieval.
Q: A company can wait up to 12 hours and wants several retrieval-speed choices, including a bulk option. Which class fits?
A: Glacier Flexible Retrieval, which offers expedited, standard, and bulk retrieval options ranging from minutes to hours.
Q: When is Glacier Deep Archive a better choice than Glacier Flexible Retrieval?
A: Use Deep Archive for very long-term retention when the lowest storage cost is more important than quick recovery. Its stated retrieval windows are about 12 hours standard and 48 hours bulk.
Q: An object’s access pattern is unpredictable and may shift between frequent and infrequent use. Which S3 feature reduces the need for manual class selection?
A: S3 Intelligent-Tiering, because it automatically moves objects between access tiers based on usage patterns.
Q: What additional cost does the lecture associate with S3 Intelligent-Tiering?
A: A small monthly monitoring and auto-tiering fee. The lecture states that Intelligent-Tiering has no retrieval charges.
Q: A data team knows that objects become archival after a predictable period. Should it rely on Intelligent-Tiering or a Lifecycle configuration?
A: A Lifecycle configuration is a natural fit because it can automatically transition objects according to a predictable policy. Intelligent-Tiering is more useful when access patterns are uncertain.
Q: What minimum storage duration is associated with Glacier Instant Retrieval and Glacier Flexible Retrieval in the lecture?
A: Both are described as having a 90-day minimum storage duration.
Q: What is the minimum storage duration stated for Glacier Deep Archive?
A: 180 days.
Q: Why is it a mistake to select a storage class solely by comparing per-GB storage prices?
A: Retrieval charges, minimum storage-duration charges, required retrieval latency, and AZ resilience can make a cheaper storage class unsuitable for the workload.
Practice Questions
Question 1
A data engineering team stores a second copy of on-premises backup data. The data can be regenerated, and minimizing storage cost is more important than protecting this particular copy from an Availability Zone failure. Which class is the best fit?
A. S3 Standard
B. S3 Standard-IA
C. S3 One Zone-IA
D. Glacier Deep Archive
Correct answer: C. S3 One Zone-IA
Explanation: The decisive clues are that the copy is secondary and recreatable, making single-AZ storage acceptable. One Zone-IA is specifically associated with these use cases in the lecture.
Question 2
An organization archives data that is normally accessed once per quarter but must be available in milliseconds when requested. Which class should be selected?
A. S3 Standard-IA
B. Glacier Instant Retrieval
C. Glacier Flexible Retrieval
D. Glacier Deep Archive
Correct answer: B. Glacier Instant Retrieval
Explanation: Glacier Instant Retrieval combines infrequent archival access with millisecond retrieval. The other Glacier classes require longer retrieval windows.
Question 3
A compliance archive is rarely accessed, and the business can wait as long as 48 hours for bulk retrieval. It wants the lowest storage cost among the archival choices discussed. Which class is most appropriate?
A. S3 Standard
B. Glacier Instant Retrieval
C. Glacier Flexible Retrieval
D. Glacier Deep Archive
Correct answer: D. Glacier Deep Archive
Explanation: Deep Archive is intended for long-term retention and supports standard retrieval around 12 hours or bulk retrieval around 48 hours, at the lowest archival storage cost discussed.
Question 4
A product team cannot predict whether objects will be accessed frequently or only occasionally over their lifetime. It wants S3 to move objects automatically and wants to avoid retrieval charges, while accepting a monitoring fee. What should it use?
A. S3 Lifecycle transitions only
B. S3 Intelligent-Tiering
C. S3 One Zone-IA
D. Glacier Flexible Retrieval
Correct answer: B. S3 Intelligent-Tiering
Explanation: Intelligent-Tiering automatically moves objects between access tiers based on usage patterns. The lecture states that it has a monitoring and auto-tiering fee but no retrieval charges.
WordPress Metadata
Suggested Slug:
amazon-s3-storage-classes-study-guide
Meta Description:
Compare Amazon S3 storage classes, retrieval behavior, availability, durability, lifecycle transitions, and practical selection criteria.
Tags:
Amazon S3, S3 storage classes, S3 Standard, S3 Intelligent-Tiering, S3 Glacier, S3 Lifecycle, AWS storage, cloud data engineering, backup and archival, data durability, data availability