Choosing EBS Volume Types
This lesson explains how EBS volumes provide network-attached block storage for EC2 instances in one Availability Zone, and how the volume type determines performance and price.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish SSD and HDD volume types.
- Choose a volume type by the performance metric that matters.
- Describe volume features such as Multi-Attach.
- Explain the common causes of EBS performance limits.
Volume types
EBS volume types fall into SSD and HDD families. SSD volumes are optimised for small random reads and writes, measured in IOPS, which databases and boot volumes need. gp3 is the default choice: every volume, whatever its size, includes 3,000 IOPS and 125 MiB/s, and more of either can be provisioned independently, at a lower price per gigabyte than the older gp2, whose performance grows with size, at 3 IOPS per gigabyte, with burst credits for small volumes.
io2 Block Express provides provisioned IOPS with sub-millisecond latency, the highest durability and very large sizes, for critical databases that need sustained high performance; io1 is its older predecessor. HDD volumes are optimised for large sequential reads and writes, measured in throughput, at a lower price. st1 suits big data, data warehouses and log processing, and sc1 is the cheapest, for data that is rarely read. The following table summarises the types.
| Type | Media | Performance | Use for |
|---|---|---|---|
| gp3 | SSD | 3,000 IOPS and 125 MiB/s baseline at any size; more provisioned independently; ~20% cheaper per GB than gp2 | Default for most workloads |
| gp2 | SSD | 3 IOPS per GB with burst credits | Legacy general purpose |
| io2 Block Express | SSD | Up to 256,000 IOPS, sub-ms latency, 99.999% durability, up to 64 TiB | Critical, I/O-intensive databases |
| io1 | SSD | Provisioned IOPS (older) | Legacy |
| st1 | HDD | Throughput optimised, large sequential I/O | Big data, warehouses, logs |
| sc1 | HDD | Cheapest | Infrequently accessed data |
HDD volumes cannot be boot volumes.
The following diagram groups the volume types into their two families.

3,000IOPS
gp3 baseline at any size
125MiB/s
gp3 baseline throughput
Which EBS volume type?
Choosing by metric
The volume type follows from the performance measure that matters most to the workload. Databases and transactional systems perform many small random reads and writes, so their measure is IOPS and latency, and they need SSD volumes: gp3 for most, io2 when very high or consistent IOPS is required. Big data and log processing read and write large files sequentially, so their measure is throughput in MiB/s, which st1 provides at a lower price than SSD. The following table summarises the choice.
| Workload | Key metric | Type |
|---|---|---|
| Databases, transactions | IOPS and latency | gp3 or io2 |
| Big data, log processing | Throughput (MiB/s) | st1 |
Migrating gp2 to gp3 usually cuts cost and decouples performance from size.
Volume features
Amazon EBS volumes live in one Availability Zone and are replicated within it, which protects against the failure of a single disk but not of the zone; snapshots provide protection beyond the zone. Multi-Attach, available for io1 and io2 volumes, attaches one volume to up to 16 Nitro-based instances in the same zone, for clustered applications that manage concurrent writes themselves.
Elastic Volumes change a volume's size, type and performance while it is in use, with no downtime, so a gp2 volume can be converted to gp3, or its IOPS raised, without detaching it.
Volume features
Performance troubleshooting
When an EBS volume does not deliver the expected performance, the cause is usually in one of a few places. Each instance type has a maximum EBS bandwidth and IOPS, so a fast volume attached to a small instance underperforms; the instance, not the volume, is the bottleneck.
CloudWatch metrics show where the limit is. VolumeQueueLength and the throughput and IOPS metrics show whether the volume is saturated. On gp2 volumes, BurstBalance shows the remaining burst credits; when it reaches zero, performance falls to the volume's baseline, which is a common reason to move to gp3, whose performance is provisioned independently of size.
Slow volumes
Choosing a volume type
Each EBS volume type suits a different workload. The following table identifies the appropriate type for several workloads and the reason in each case.
| Workload | Volume type | Why |
|---|---|---|
| Boot volumes and most applications | gp3 | Low cost; IOPS and throughput set independently of size |
| Production database needing 40,000 IOPS with low latency | io2 Block Express | High IOPS and durability |
| Big sequential log processing | st1 | Throughput-optimised HDD, cheap |
| Rarely accessed cold data | sc1 | Lowest-cost HDD |
A team running gp2 volumes can move to gp3 with an online modification, usually saving about 20% while gaining a baseline of 3,000 IOPS regardless of size. HDD volumes cannot be boot volumes.
Which volume type suits large, sequential reads for big data at low cost?
Show answer
Throughput optimised HDD (st1). SSD types such as gp3 suit random I/O, and sc1 suits rarely accessed data.
Exam Tips
Remember for the exam
- For most workloads, gp3 is the default choice.
- For an I/O-intensive critical database needing the highest IOPS, use io2 Block Express.
- For large sequential throughput at low cost use st1, and for the coldest, cheapest storage use sc1; neither can be a boot volume.
- A volume can be attached only to instances in its own Availability Zone.
- For lower cost and independent performance tuning, migrate gp2 volumes to gp3 with Elastic Volumes.
- When a gp2 volume suddenly slows down, its burst credits are exhausted; check BurstBalance.