S3 EFS Glacier
LearningTree Β· AWS Β· Storage

AWS Storage
Decision Guide

Choose the right storage service in under 5 minutes. Block, file, object, or archive β€” know which one to pick for every workload and exam question.

The Storage Spectrum Introductory

AWS storage services sit on a spectrum from fastest + most expensive to cheapest + slowest access. Your job as an architect is to place each workload at the right point on this spectrum.

AWS Storage Spectrum β€” Performance vs Cost
CHEAPER STORAGE Β· SLOWER ACCESS β†’β†’β†’ ←←← FASTER ACCESS Β· HIGHER COST EBS Block Storage Sub-ms latency $0.08–$0.125/GB FSx Lustre HPC File Sub-ms, 100s GB/s Provisioned EFS File Storage Single-digit ms $0.30/GB (elastic) S3 Object Storage ~50–100 ms $0.023/GB Glacier Archive Min β†’ Hours $0.004–$0.001/GB Deep Archive 12-48 hrs
Storage Categories Core
CategoryServicesHow It WorksBest For
BlockEBSRaw disk blocks. Attach to one EC2 instance. OS mounts as drive.Databases, boot volumes, single-instance apps
FileEFS, FSxShared filesystem (NFS/SMB). Multiple instances mount simultaneously.Shared content, containers, Windows shares, HPC
ObjectS3Key-value store. Flat namespace. HTTP API access.Data lakes, backups, static assets, logs
ArchiveS3 GlacierCheapest storage. Minutes-to-hours retrieval.Compliance archives, DR copies, old backups
Decision Guide β€” Which Storage? Core
Storage Decision Flowchart
What's the access pattern? Multiple instances share data? NO (single) β†’ EBS Block storage, low latency YES (shared) Need filesystem (POSIX/SMB)? YES β†’ EFS Linux NFS β†’ FSx Windows/HPC NO (HTTP/API) Accessed frequently? YES β†’ S3 Object store, unlimited RARELY / ARCHIVE β†’ Glacier Cheapest, slow retrieval

πŸ‘‰ One-line rules: "Single instance, high IOPS" β†’ EBS. "Shared filesystem, Linux" β†’ EFS. "Windows/HPC" β†’ FSx. "Unlimited objects, HTTP" β†’ S3. "Rarely accessed, cheap" β†’ Glacier. "Lambda needs >512 MB storage" β†’ EFS (only option).

S3 storage class progression: S3 Standard (frequent) β†’ S3 Standard-IA (infrequent) β†’ Glacier Instant (quarterly access, ms retrieval) β†’ Glacier Flexible (yearly, min–hrs) β†’ Deep Archive (7+ years, 12–48 hrs). Lifecycle rules automate transitions.

Full Comparison Core
ServiceTypeAccessLatencyCapacityUse Case
EBSBlockSingle EC2Sub-ms16 TB (gp3) / 64 TiB (io2 Block Express)Databases, boot volumes
EFSFile (NFS)Multi-instance~msElasticShared content, containers, Lambda
FSx WindowsFile (SMB)Multi-instance~msProvisionedWindows apps, Active Directory
FSx LustreFile (POSIX)Multi-instanceSub-msProvisionedHPC, ML training, rendering
FSx ONTAPFile (NFS+SMB+iSCSI)Multi-protocol~msProvisionedEnterprise NAS, VMware, hybrid
S3ObjectHTTP API~50-100 msUnlimitedData lake, backups, static assets
S3 GlacierArchiveRestore requestMin β†’ HoursUnlimitedCompliance, DR, old backups
Architecture Patterns Core
Common Storage Patterns β€” Which service for which architecture
Pattern 1: Database EC2 EBS (gp3) Pattern 2: Shared FS EC2 fleet (Multi-AZ) EFS Pattern 3: Data Lake πŸ“± Apps / Analytics S3 Pattern 4: Archive S3 lifecycle Glacier Deep Archive DB + Boot Vol EBS: single-attach CMS / Containers EFS: multi-attach Files / Logs / Lake S3: unlimited objects Compliance / DR Glacier: cheapest
Exam Insights Core
If the Question Says…AnswerWhy
"Multiple EC2 instances need to access the same files"EFSShared NFS, multi-AZ. EBS = single-attach.
"Single instance, high IOPS, database workload"EBS (io2)Block storage, sub-ms latency, up to 256K IOPS.
"Windows file shares with Active Directory"FSx for WindowsSMB + AD. EFS = Linux-only NFS.
"Cheapest storage, 12-hour retrieval acceptable"S3 Glacier Deep Archive$0.00099/GB. Cheapest in AWS.
"HPC workload, 200 instances, need 100s GB/s"FSx for LustreFastest file system. Sub-ms, massive throughput.
"Unlimited storage, HTTP API access"S3Object store, no capacity limits, REST API.
"Lambda needs to read/write large files"EFSOnly shared filesystem that Lambda can mount.
"Shared storage for ECS/Fargate containers"EFSPersistent volume for containers. Survives restarts.
πŸ‘‰ Common Exam Traps

"Shared" = EFS (not EBS). "Windows" = FSx (not EFS). "Archive" = Glacier (not S3 Standard). "Elastic capacity" = EFS or S3 (not EBS β€” EBS is fixed size). "Encrypt existing unencrypted EFS" = impossible (create new + migrate).

Service Deep Dives