AWS Certified Cloud Practitioner / EC2 Instance Storage

EC2 Instance Storage Summary

1️⃣ EBS β€” Elastic Block Store πŸ’½

  • Network-attached block storage for one EC2 instance at a time

  • Tied to a specific AZ

  • Use EBS Snapshots to back up data πŸ›‘οΈ or move it across AZs πŸ”

Exam cue: block storage, single EC2, AZ-specific, snapshots.


2️⃣ AMIs β€” Amazon Machine Images πŸ–₯️

  • Ready-to-use EC2 instance templates with your customizations baked in

  • Use EC2 Image Builder to automate building, testing, and distributing AMIs

Exam cue: prebuilt EC2 templates, automation-friendly.


3️⃣ EC2 Instance Store ⚑

  • High-performance local storage attached directly to the host

  • Ephemeral β€” data is lost if the instance stops or terminates

  • Best for temporary, fast-access storage


4️⃣ EFS β€” Elastic File System πŸ“

  • Managed NFS (network file system)

  • Attaches to hundreds of instances across a region 🌍

  • Use EFS-IA for infrequently accessed files to cut cost πŸ’°

Exam cue: shared storage across instances, regional, NFS.


5️⃣ Amazon FSx πŸͺŸβš‘

FSx for Windows File Server πŸͺŸ

  • Managed Windows-native file system

  • Supports SMB, NTFS, Active Directory

  • For Windows workloads

FSx for Lustre ⚑

  • Managed high-performance Linux file system

  • For HPC workloads β€” ML, analytics, video, financial modeling

  • Connects to S3 or compute instances


6️⃣ Quick Reference

Service

Type

Use Case

Key Feature

πŸ’½ EBS

Block storage

Single EC2

AZ-specific, snapshots

πŸ–₯️ AMI

Instance image

Prebuilt EC2

Automated via Image Builder

⚑ Instance Store

Local storage

Temporary

High performance, ephemeral

πŸ“ EFS

File storage

Shared across instances

Regional, NFS, EFS-IA

πŸͺŸ FSx Windows

File storage

Windows workloads

SMB, NTFS, AD

⚑ FSx Lustre

HPC file system

High-performance computing

Linux cluster, S3 integration


7️⃣ Exam Tips πŸ’‘

  • EBS β†’ single instance, snapshots, AZ-bound

  • Instance Store β†’ ephemeral, fast

  • EFS β†’ NFS, regional, shared access

  • FSx β†’ pick the flavor based on Windows vs. HPC Linux needs

  • AMIs β†’ prebuilt EC2 images, automated via Image Builder


8️⃣ Summary βœ…

  • AWS storage options let you match the right type to the workload

  • Know the tradeoffs: block vs. file vs. local vs. managed high-performance

  • FSx and EFS give scalable shared storage; EBS and Instance Store are instance-specific

  • Always factor in backup, replication, and cost optimization