AWS CLF-C02 — Domain 3: Cloud Technology & Services
EBS is a network drive (not a physical drive) that you can attach to your EC2 instances while they run.
EBS volumes are locked to an AZ. To move a volume to another AZ, you must first create a snapshot, then create a new volume from the snapshot in the target AZ.
| Type | Name | Max IOPS | Max Throughput | Size | Boot? | Best For |
|---|---|---|---|---|---|---|
gp3 | General Purpose SSD | 16,000 | 1,000 MB/s | 1 GiB – 16 TiB | Yes | Most workloads, system boot, virtual desktops, dev/test |
gp2 | General Purpose SSD | 16,000 | 250 MB/s | 1 GiB – 16 TiB | Yes | Same as gp3 (older generation, IOPS linked to size) |
io1 | Provisioned IOPS SSD | 64,000 | 1,000 MB/s | 4 GiB – 16 TiB | Yes | Critical business apps needing sustained IOPS, databases |
io2 | Provisioned IOPS SSD | 256,000 | 4,000 MB/s | 4 GiB – 64 TiB | Yes | Highest performance SSD, sub-ms latency, mission-critical |
st1 | Throughput Optimized HDD | 500 | 500 MB/s | 125 GiB – 16 TiB | No | Big data, data warehouses, log processing |
sc1 | Cold HDD | 250 | 250 MB/s | 125 GiB – 16 TiB | No | Infrequently accessed, lowest cost |
Only SSD volumes (gp2, gp3, io1, io2) can be used as boot volumes. HDD volumes (st1, sc1) cannot be boot volumes. If a question mentions "highest IOPS" or "database workload needing sustained IOPS" → io1/io2 (Provisioned IOPS).
| Feature | Description |
|---|---|
| EBS Snapshot Archive | Move snapshot to an "archive tier" that is 75% cheaper. Takes 24-72 hours to restore. |
| Recycle Bin | Protect against accidental deletion. Set retention rules (1 day to 1 year). Deleted snapshots go to recycle bin. |
| Fast Snapshot Restore (FSR) | Force full initialization of snapshot to have no latency on first use. Expensive. |
"How to move an EBS volume to another AZ?" → Create a snapshot, then restore it in the new AZ. "How to move to another Region?" → Copy the snapshot to the target Region, then create a volume.
AMIs are Region-specific. To use an AMI in another Region, you must copy it to that Region first. AMIs speed up deployment because software is pre-installed.
Instance Store = ephemeral (temporary) + highest performance. If you see "highest disk I/O performance" in an exam question, think Instance Store. If you need data to persist, use EBS.
| Storage Class | Description | Cost |
|---|---|---|
| EFS Standard | Frequently accessed files | Higher per-GB cost |
| EFS Infrequent Access (EFS-IA) | Lower cost for infrequently accessed files. Files moved automatically via Lifecycle Policies. | Up to 92% lower cost |
"Shared file storage across multiple AZs for Linux?" → EFS. "Shared file storage for Windows?" → FSx for Windows File Server. EFS does NOT work with Windows.
| Feature | EBS | EFS | Instance Store |
|---|---|---|---|
| Type | Network block storage | Network file system (NFS) | Physical disk on host |
| AZ Scope | Single AZ | Multi-AZ | Single instance |
| Attach to | One instance (io1/io2: multi-attach) | Many instances | One instance |
| Persistence | Persistent | Persistent | Ephemeral (lost on stop/terminate) |
| OS Support | Linux & Windows | Linux only | Linux & Windows |
| Pricing | Provisioned capacity | Pay per use | Included with instance |
| Performance | Good | Good | Highest I/O |
Fully managed third-party high-performance file systems on AWS.
"Windows shared file system with Active Directory?" → FSx for Windows File Server. "High-performance computing on Linux?" → FSx for Lustre. "Linux shared file system, multi-AZ?" → EFS.