3.2 AWS Storage Services

Key Takeaways

  • Amazon S3 is object storage with 99.999999999% (11 nines) durability — the most commonly used storage service on AWS.
  • Amazon EBS provides block storage volumes for EC2 instances — like a virtual hard drive that persists independently of the instance.
  • Amazon EFS is a fully managed, elastic file system that can be mounted by multiple EC2 instances simultaneously.
  • S3 storage classes range from Standard (frequent access) to Glacier Deep Archive (rarely accessed, cheapest) — choose based on access frequency.
  • AWS Storage Gateway connects on-premises environments to cloud storage for hybrid workloads.
Last updated: March 2026

AWS Storage Services

The Three Types of Cloud Storage

TypeDescriptionAWS ServiceAnalogy
Object StorageFlat structure, store files as objects with metadataAmazon S3Filing cabinet with labeled folders
Block StorageData stored in fixed-size blocks, like a virtual hard driveAmazon EBSHard drive attached to your computer
File StorageHierarchical file system (directories and files)Amazon EFS, FSxNetwork shared drive

Amazon S3 (Simple Storage Service)

Amazon S3 is object storage built to store and retrieve any amount of data from anywhere. It is one of the most important AWS services for the exam.

S3 Key Features

  • Durability: 99.999999999% (11 nines) — designed to sustain the loss of data in 2 facilities simultaneously
  • Availability: 99.99% for S3 Standard
  • Scalability: Virtually unlimited storage
  • Objects can be up to 5 TB in size
  • Buckets are the top-level containers for objects
  • Bucket names must be globally unique across ALL AWS accounts

S3 Storage Classes

Storage ClassAccess PatternMin Storage DurationRetrieval TimeCost
S3 StandardFrequent accessNoneMilliseconds$$$$
S3 Intelligent-TieringChanging/unknown access patternsNoneMilliseconds$$$$ (auto-optimized)
S3 Standard-IAInfrequent access (once/month)30 daysMilliseconds$$$
S3 One Zone-IAInfrequent access, non-critical30 daysMilliseconds$$
S3 Glacier Instant RetrievalRarely accessed, instant retrieval needed90 daysMilliseconds$$
S3 Glacier Flexible RetrievalArchive, retrieval in minutes to hours90 daysMinutes to hours$
S3 Glacier Deep ArchiveLong-term archive, rarely accessed180 daysUp to 12 hours$ (cheapest)

On the Exam: Know the access patterns for each storage class. Frequent access = Standard. Unknown/changing = Intelligent-Tiering. Infrequent = IA. Archive = Glacier. Long-term archive = Deep Archive.

S3 Key Concepts

ConceptDescription
VersioningKeep multiple versions of an object; protect against accidental deletion
Lifecycle PoliciesAutomatically transition objects between storage classes or delete them after a time
ReplicationCross-Region Replication (CRR) or Same-Region Replication (SRR) for compliance and disaster recovery
EncryptionServer-side (SSE-S3, SSE-KMS, SSE-C) or client-side encryption
Access ControlBucket policies, ACLs, IAM policies, S3 Access Points
Static Website HostingHost a static website directly from an S3 bucket

Amazon EBS (Elastic Block Store)

Amazon EBS provides persistent block storage volumes for EC2 instances. Think of EBS as a virtual hard drive that you attach to your virtual server.

EBS Key Facts

  • EBS volumes persist independently of the EC2 instance lifecycle
  • EBS volumes are AZ-specific — they can only be attached to instances in the same AZ
  • You can take snapshots of EBS volumes (stored in S3) for backup and disaster recovery
  • Snapshots are incremental — only changed blocks are saved
  • EBS volumes can be encrypted using AWS KMS

EBS Volume Types

TypeCategoryUse Case
gp3 / gp2General Purpose SSDBoot volumes, dev/test environments, low-latency apps
io2 / io1Provisioned IOPS SSDHigh-performance databases, I/O-intensive workloads
st1Throughput Optimized HDDBig data, data warehouses, log processing
sc1Cold HDDInfrequent access, lowest-cost HDD

On the Exam: EBS is for EC2 block storage. Key difference from S3: EBS = block storage (like a hard drive), S3 = object storage (like a file repository). EBS is AZ-specific; S3 is Region-wide.


Amazon EFS (Elastic File System)

Amazon EFS is a fully managed, scalable, elastic file system for Linux workloads.

FeatureDetail
ProtocolNFS (Network File System) v4
OS SupportLinux only (use FSx for Windows)
ScalingAutomatically grows and shrinks
AccessCan be mounted by multiple EC2 instances concurrently
AvailabilityMulti-AZ by default
Use CasesContent management, web serving, shared file storage

Amazon FSx

Amazon FSx provides fully managed third-party file systems:

ServiceFile SystemUse Case
FSx for Windows File ServerWindows NTFSWindows applications needing SMB protocol
FSx for LustreLustreHigh-performance computing (HPC), ML training
FSx for NetApp ONTAPNetAppEnterprise workloads migrating from on-premises
FSx for OpenZFSOpenZFSLinux workloads requiring ZFS features

Storage Comparison

FeatureS3EBSEFS
TypeObjectBlockFile
ScopeRegionAZRegion (Multi-AZ)
AccessAPI/HTTPSingle EC2 instance*Multiple EC2 instances
Max SizeUnlimited (5 TB per object)64 TiB per volumePetabytes
Durability11 nines99.999%99.999999999%
PricingPer GB stored + requestsPer GB provisionedPer GB used

*EBS Multi-Attach is available for io2 volumes but only within one AZ.

Test Your Knowledge

What level of durability does Amazon S3 Standard provide?

A
B
C
D
Test Your Knowledge

A company needs to archive data that is rarely accessed and can tolerate retrieval times of up to 12 hours. Which S3 storage class is MOST cost-effective?

A
B
C
D
Test Your Knowledge

What is the key difference between Amazon EBS and Amazon S3?

A
B
C
D
Test Your Knowledge

Which AWS storage service allows multiple EC2 instances to share a file system simultaneously?

A
B
C
D