Amazon S3 – Storage Classes

Day 7-Part 4: Prep- AWS Certified Cloud Practitioner | CLF-C02

Amazon S3 – Storage Classes

Introduction:

Amazon S3 (Simple Storage Service) offers a range of storage classes tailored to different data access patterns and cost considerations. Each storage class is designed to optimize storage efficiency while meeting specific performance and durability requirements. This guide explores the various storage classes provided by Amazon S3 and their key features, use cases, and benefits.


S3 Storage classes for known and predictable access patterns

1. Amazon S3 Standard - General Purpose:

  • Default storage class.

  • High durability, availability(99.99% Availability), low latency.

  • Ideal for frequently accessed data.

  • Can sustain 2 concurrent facility failures

  • Use Cases: Big Data analytics, Mobile & gaming applications. Content distribution

2. Amazon S3-Infrequent Access (IA):

  • Designed for less frequently accessed data, which requires rapid access when needed

  • Lower cost than S3 Standard.

    a) Standard-Infrequent Access (Standard IA)

    • 99.9% Availability

    • Use Cases: Backups, Recovery, Archives

b) Amazon S3 One Zone-Infrequent Access (One Zone IA):

  • High durability (99.999999999%) , 99.5% Availability

  • Stored in a single Availability Zone, data is lost when Availability Zone is destroyed

  • Use Cases: Secondary backup copies of on-premise data, or data you can recreate

3. Amazon S3 Glacier Storage Classes

Amazon S3 Glacier offers cost-effective storage options tailored for data archival, with varying retrieval times to accommodate different access requirements:

a) Amazon S3 Glacier Instant Retrieval:

  • Provides near-instantaneous retrieval, suitable for infrequently accessed data.

  • Minimum Storage Duration: 90 days commitment.

  • Pricing: Includes storage fee and additional charges for retrieval.

  • Use Cases:

    • Storing historical financial data for periodic audits.

    • Archiving compliance documents for occasional checks.

b) Amazon S3 Glacier Flexible Retrieval:

  • Offers flexible retrieval options: Expedited (1-5 mins), Standard (3-5 hours), Bulk (5-12 hours)

  • Minimum Storage Duration: 90 days commitment.

  • Pricing: Based on storage duration and retrieval options.

  • Use Cases:

    • Backing up large datasets for occasional analysis.

    • Storing medical imaging data with intermittent reviews.

c) Amazon S3 Glacier Deep Archive:

  • Description: Lowest-cost storage for rarely accessed data, with retrieval times of up to 12 hours.

  • Minimum Storage Duration: 180 days commitment.

  • Pricing: Economical option for seldom-accessed data.

  • Use Cases:

    • Archiving research data sets for future reference.

    • Long-term storage of historical records for compliance.


S3 Storage classes for unknown or constantly evolving access patterns

Amazon S3 Intelligent Tiering

Amazon S3 Intelligent Tiering automatically optimizes storage costs by moving objects between access tiers based on usage patterns.

It serves as the default storage class for virtually any workload, offering 11 9s of durability within an AWS Region and millisecond-level access times.

  • Frequent Access tier (automatic): Default for regularly accessed objects.

  • Infrequent Access tier (automatic): For objects not accessed for 30 days.

  • Archive Instant Access tier (automatic): For objects not accessed for 90 days.

  • Archive Access tier (optional): Customizable storage duration.

  • Deep Archive Access tier (optional): Lower-cost storage options.

  • No Retrieval Charges: No charges for retrieval.

Use Cases:

  • Managing data with unpredictable access patterns.

  • Optimizing storage costs for datasets with varying access frequencies.

  • Perfect for data lakes, analytics, new applications, and user-generated content.


Transitioning Between Classes:

  • Manual or automated transitions using Lifecycle configurations.

  • Define rules based on object age.

  • Use Cases: Cost optimization, Compliance requirements


Comparison between Storage Classes

Here's a comparison table of the Amazon S3 Storage Classes:

Storage ClassData DurabilityAvailabilityAvailability SLA (%)ZonesMin. Storage DurationMin. Object SizeRetrieval Fee
StandardHighHigh (99.99%)99.99Multi-AZNoneNoneNone
Standard-IAHighHigh (99.9%)99.9Multi-AZ30 days128KBPer GB retrieved
One Zone-IAHighModerate (99.5%)99.5Single AZ30 days128KBPer GB retrieved
Glacier Instant RetrievalHighModerateN/AN/A90 days40KBPer GB retrieved
Glacier Flexible RetrievalHighModerateN/AN/A90 days40KBPer GB retrieved
Glacier Deep ArchiveHighModerateN/AN/A180 days40KBPer GB retrieved
Intelligent TieringHighHigh (99.9%)99.9Multi-AZNoneNoneNone

Amazon S3 Storage Classes: Hands-On | A Step-by-Step Guide

Delve into the world of Amazon S3 storage classes with our comprehensive guide. Learn how to optimize your storage costs and performance by leveraging different storage classes. Follow our step-by-step instructions to understand each storage class and its best use cases. For the full guide, visit Amazon S3 Storage Classes: Hands-On | A Step-by-Step Guide.


Summary

  1. Standard - General Purpose:

    • Default class with high durability and availability for frequently accessed data.
  2. Infrequent Access (IA):

    • Offers cost-effective storage for less frequently accessed data.
  3. Amazon S3 Glacier:

    • Tailored for data archival with varying retrieval times.
  4. Intelligent Tiering:

    • Automatically optimizes storage costs based on usage patterns.
  5. Transitioning Between Classes:

    • Manual or automated transitions based on object age for cost optimization.