04 - EC2 Instance Storage

EC2 Instance Storage - Overview

awsec2ebsefsstoragesaa-c03index

Course Section Summary

This section covers all storage options available for EC2 instances: EBS, Snapshots, AMIs, Instance Store, and EFS.

Study Files

# Topic File Priority
1 EBS Overview 01-EBS-Overview πŸ”΄ High
2 EBS Snapshots 02-EBS-Snapshots πŸ”΄ High
3 AMI (Amazon Machine Image) 03-AMI πŸ”΄ High
4 EC2 Instance Store 04-EC2-Instance-Store 🟑 Medium
5 EBS Volume Types 05-EBS-Volume-Types πŸ”΄ High
6 EBS Encryption 06-EBS-Encryption πŸ”΄ High
7 Amazon EFS 07-Amazon-EFS πŸ”΄ High

Key Exam Topics

Storage Comparison

Feature EBS Instance Store EFS
Type Network drive Local hardware Network file system
Persistence Persists independently Ephemeral Persists independently
AZ Locked to one AZ Locked to instance Multi-AZ
Attach One instance (multi-attach for io) One instance Hundreds of instances
OS Any Any Linux only
Capacity Provisioned Fixed Auto-scaling

Quick Decision Tree

Need persistent block storage?
β”œβ”€β”€ Yes β†’ EBS
β”‚   β”œβ”€β”€ Need >32K IOPS? β†’ io1/io2 (Nitro)
β”‚   β”œβ”€β”€ General workload? β†’ gp3 (or gp2)
β”‚   β”œβ”€β”€ Big data throughput? β†’ st1
β”‚   └── Archive/cold? β†’ sc1
β”œβ”€β”€ Need shared file system across AZs?
β”‚   └── EFS (Linux only, pay-per-use)
└── Need highest possible IOPS (millions)?
    └── EC2 Instance Store (ephemeral!)

Check yourself

Quiz