All guides
Practice now
D3 · Cloud technology and services

Storage: S3, EBS, EFS, and Snow Family

AWS offers multiple storage options for different use cases. The CLF-C02 tests your ability to choose the right service for the scenario: S3 for objects, EBS for EC2 volumes, EFS for shared file systems.

Types of AWS storage

📦

Object storage

Amazon S3

Flat files, accessible via HTTP. No real folder structure (only prefixes). Scales infinitely.

💾

Block storage

Amazon EBS

A volume attached to an EC2 instance. Like a virtual hard drive. Formatted with a file system.

📁

File storage

Amazon EFS

A shared NFS file system. Multiple EC2 instances can mount the same EFS simultaneously.

Amazon S3 — Simple Storage Service

Icon-Architecture/48/Arch_Amazon-Simple-Storage-Service_48

Object storage with 11 nines of durability

99.999999999% durability = if you store 10 million objects, you'd expect to lose one every 10,000 years

is object storage built to store and retrieve any amount of data from anywhere. Each object can be up to 5 TB in size. Objects are stored in buckets with globally unique names.

Key S3 features

  • •
    Buckets: object containers. Globally unique name across AWS. Belong to a region.
  • •
    Versioning: keeps every version of an object. Protects against accidental deletion.
  • •
    Static website hosting: serves static websites directly from S3 with no servers.
  • •
    Pre-signed URLs: temporary URLs for accessing private objects.
  • •
    Lifecycle policies: automatically move objects between storage classes based on age.
  • •
    CRR (Cross-Region Replication): automatically replicates objects to another region (for DR or compliance).

S3 use cases

  • • Store any kind of file: images, videos, backups, logs
  • • Data lakes for analytics with Athena, EMR, Redshift Spectrum
  • • Long-term backup and archival ()
  • • Origin content for CloudFront CDN
  • • Static website hosting
  • • Storage for software artifacts and ML models
  • • Large-scale software distribution
Related labD2 · Security and Compliance

Find the bug: accidentally public S3 bucket

An audit client can download files without signing in. Find the 2 configuration problems and fix them — no guided steps.

Diagnose an accidental public exposure on an S3 bucket
Understand Block Public Access as an extra safety net on top of the bucket policy

+1 more...

6 min4 steps

S3 storage classes

The CLF-C02 exam tests when to use each class. General rule: cheaper to store = more expensive and/or slower to retrieve.

S3 Standard

Access: Frequent
Latency: Milliseconds
Durability: 11 nines (99.999999999%)
Availability: 99.99%
Cost: Most expensive per GB stored
When to use: Frequently accessed data: active web content, applications, real-time analytics data

S3 Intelligent-Tiering

Access: Variable / unknown
Latency: Milliseconds
Durability: 11 nines
Availability: 99.9%
Cost: Small monthly monitoring fee, automatically moves objects between tiers
When to use: Data with unknown or changing access patterns. AWS automatically moves objects between frequent/infrequent tiers.

S3 Standard-IA

Access: Infrequent
Latency: Milliseconds
Durability: 11 nines
Availability: 99.9%
Cost: Cheaper than Standard. Charges per retrieval.
When to use: Long-lived data that's accessed infrequently: backups, DR, disaster recovery data.

S3 One Zone-IA

Access: Infrequent
Latency: Milliseconds
Durability: 11 nines (single AZ)
Availability: 99.5%
Cost: 20% cheaper than Standard-IA, but only in one AZ
When to use: Secondary or recreatable data that doesn't need multi-AZ redundancy: thumbnails, data that can be regenerated.

S3 Glacier Instant Retrieval

Access: Archived (instant access when needed)
Latency: Milliseconds
Durability: 11 nines
Availability: 99.9%
Cost: Cheap. Charges per retrieval.
When to use: Files accessed once per quarter that need immediate retrieval: medical records, news images.

S3 Glacier Flexible Retrieval

Access: Archived (retrieval in minutes or hours)
Latency: 1-5 min (Expedited), 3-5h (Standard), 5-12h (Bulk)
Durability: 11 nines
Availability: 99.99%
Cost: Very cheap to store. Charges per retrieval.
When to use: Long-term backup, historical data archival that doesn't need immediate access.

S3 Glacier Deep Archive

Access: Deep archive (retrieval in 12-48h)
Latency: Standard: 12h, Bulk: 48h
Durability: 11 nines
Availability: 99.99%
Cost: The cheapest to store of all S3 classes
When to use: Data that must be retained 7-10 years for regulatory reasons but is rarely accessed: compliance logs, historical financial data.
Related labD3 · Cloud Technology and Services

Challenge: choose the right storage class

No guided steps: read a scenario with several stacked requirements and pick, out of 4 S3 classes, the only one that meets all of them.

Compare S3 Standard, Standard-IA, Glacier Flexible Retrieval, and Glacier Deep Archive
Choose the CHEAPEST class that still meets the tolerated retrieval time

+1 more...

4 min1 steps

Amazon EBS — Elastic Block Store

Icon-Architecture/48/Arch_Amazon-Elastic-Block-Store_48

High-performance block storage for EC2 instances

Amazon EBS provides persistent block storage volumes for EC2 instances. The data persists independently of the EC2 instance's lifecycle. An EBS volume can only be attached to ONE EC2 instance at a time (with exceptions: EBS Multi-Attach for io1/io2).

TypeDescriptionIOPSUse cases
gp3 (SSD)General purpose SSD. The recommended default.Up to 16,000Boot volumes, web apps, dev/test databases
gp2 (SSD)Previous-generation general purpose SSD (deprecated, use gp3).Up to 16,000Legacy. gp3 is cheaper and more flexible.
io2 Block ExpressHigh-durability provisioned IOPS SSD.Up to 256,000Mission-critical databases (Oracle, SAP HANA), I/O-intensive workloads
io1 (SSD)Provisioned IOPS SSD. High performance.Up to 64,000Production transactional databases
st1 (HDD)Throughput-optimized HDD. For frequently accessed data.500 MB/s throughputBig data, data warehouses, log processing
sc1 (HDD)Cold storage HDD. The most economical.250 MB/s throughputBackups, infrequently accessed data

Amazon EFS — Elastic File System

Icon-Architecture/48/Arch_Amazon-EFS_48

A fully managed, shared NFS file system

Amazon EFS provides a simple, serverless, elastic NFS (Network File System) file system that can be shared across multiple EC2 instances simultaneously, even across different Availability Zones.

Advantages of EFS

  • • Scales automatically up to petabytes
  • • Shared across thousands of EC2 instances
  • • No need to provision capacity ahead of time
  • • Pay for the GB actually stored

Limitations

  • • Linux only (NFS). No Windows.
  • • More expensive than EBS per GB
  • • Higher latency than local EBS

EC2 Instance Store — Temporary storage

Instance Store is storage physically attached to the EC2 host (not networked storage like EBS). It offers very high I/O speed, but data is lost when the instance is stopped or terminated.

Characteristics

  • •
    Speed: very low latency — storage local to the physical host
  • •
    Ephemeral: data IS LOST when the instance stops, terminates, or fails
  • •
    No extra cost: included in the price of certain instance types
  • •
    Not configurable: size depends on the instance type (you can't increase it)

When to use Instance Store

  • • Temporary buffers and caches
  • • Temporary data being processed
  • • Scratch space for large computations
  • • Data that already exists elsewhere (S3, RDS)

Instance Store vs EBS

• Instance Store: faster, but ephemeral (data is lost)

• EBS: persists even if the instance restarts

• For important data → always use EBS (or S3)

Amazon FSx — Specialized file systems

Icon-Architecture/48/Arch_Amazon-FSx_48

Fully managed file systems for specific use cases

Amazon FSx provides specialized file systems for use cases EFS doesn't cover: Windows (SMB), HPC (Lustre), etc. Key takeaway for the exam: EFS = Linux/NFS. FSx = specific use cases.

FSx for Windows File Server

An SMB file system compatible with Windows and Active Directory. Ideal for Windows applications that need shared file storage. Supports DFS, NTFS, Active Directory.

When to use: Migrating Windows file servers to AWS. .NET apps that use SMB file shares.

FSx for Lustre

A high-performance file system for HPC, ML, and video processing. Designed for workloads requiring hundreds of GB/s of throughput and millions of IOPS.

When to use: HPC, ML training, genomics processing, high-speed financial analysis.

FSx for NetApp ONTAP

Compatible with NetApp ONTAP. For migrations from on-premises NetApp environments to AWS without changing applications.

When to use: Companies with NetApp infrastructure migrating to AWS.

FSx for OpenZFS

A managed ZFS file system. Instant snapshots, volume cloning, and built-in compression.

When to use: Linux workloads that use ZFS. Migration from on-premises ZFS servers.

Lifecycle Policies and AWS Backup

S3 Lifecycle Policies

Automates the transition of S3 objects between storage classes based on age, reducing costs without manual intervention.

S3 Standard30 days →Standard-IA90 days →Glacier365 days →Deep Archive or Delete

Example: access logs — active for 30 days, archived after 60 days, deleted after 1 year. Fully automated.

Icon-Architecture/48/Arch_AWS-Backup_48

AWS Backup

A centralized backup service for multiple AWS services. Create backup policies (frequency, retention, transition to cold storage) that apply to EC2, EBS, RDS, DynamoDB, EFS, FSx, and more.

  • • A single backup policy for multiple services
  • • Cross-region and cross-account backups
  • • Configurable retention (days, weeks, years)
  • • Compliance with frameworks like HIPAA, PCI
Icon-Architecture/48/Arch_AWS-Elastic-Disaster-Recovery_48

AWS Elastic Disaster Recovery

Continuously replicates servers from on-premises or the cloud (any source) into AWS. In the event of a disaster, enables recovery in minutes with an RPO of seconds and an RTO of minutes.

  • • RPO (Recovery Point Objective): seconds
  • • RTO (Recovery Time Objective): minutes
  • • No need to own DR hardware
  • • DR testing without disrupting production

AWS Snow Family — Bulk data migration

Current status: Snowcone was discontinued in November 2024, Snowmobile is retired, and Snowball Edge has not accepted new customers since November 7, 2025. For new customers, AWS recommends AWS DataSync (network transfer), AWS Data Transfer Terminal (physical drop-off at an AWS location), or AWS Outposts for edge compute. The CLF-C02 exam may still mention the Snow Family.

Icon-Architecture/48/Arch_AWS-Snowball_48

Physical devices for migrating large volumes of data into AWS

When you have petabytes of data and internet bandwidth isn't enough (it would take months/years), AWS ships a physical device to your datacenter. You copy the data to the device, ship it back, and AWS loads it into S3.

AWS Snowcone (discontinued)

Capacity: 8 TB (HDD) / 14 TB (SSD)

Weight: 2.1 kg

Migration of small volumes, edge computing in remote or space-constrained locations. Compatible with DataSync.

AWS Snowball Edge (no new customers)

Capacity: 80 TB (Storage Optimized) / 40 TB (Compute Optimized)

Weight: 22 kg

Migration of tens of TB. Also has compute capacity (EC2, Lambda on the device). For edge computing in locations without connectivity.

AWS Snowmobile (retired)

Capacity: Up to 100 PB

Weight: 45-foot shipping container on a truck

Exabyte-scale migrations. AWS drives a truck to your datacenter. For companies with tens of petabytes of historical data.

S3 vs EBS vs EFS — Comparison

DimensionS3EBSEFS
TypeObjectsBlocks (volume)Files (NFS)
AccessREST API (HTTP/S)Attached to EC2 (block device)Mounted file system (NFS v4)
ConcurrencyMillions of simultaneous clients1 instance (except Multi-Attach)Thousands of simultaneous EC2 instances
OS compatibilityAny (HTTP)Linux and WindowsLinux only (NFS)
Max object size5 TB per object, unlimited totalUp to 64 TB per volumeNo limit (scales automatically)
Durability11 nines (multi-AZ)99.999% (specific AZ)Multi-AZ (regional)
Use casesFiles, backups, static websites, data lakesEC2 OS, databases, boot volumesShared code, CMS, multi-instance web servers
Approx. priceFrom $0.023/GB/monthFrom $0.08/GB/month (gp3)From $0.30/GB/month
Related labD3 · Cloud Technology and Services

Create an Amazon S3 bucket

Create your first object storage bucket and configure access permissions.

Understand the object storage model
Create and name an S3 bucket

+1 more...

10 min6 steps

Did you get this topic?

Test what you just learned

A company has a web server with multiple EC2 instances in an Auto Scaling Group. They need every instance to share the same directory of configuration files and application assets. Which AWS storage service is the best fit?

Ready to test "Storage: S3, EBS, EFS, and Snow"?

Put what you learned to the test with original CLF-C02 exam questions.

Start CLF-C02 mock exam

Unlimited mock exams with the Pro plan

Log in to track your progress.