Choosing EBS Volume Types for Performance and Cost
This lesson explains the performance model and price of each Amazon EBS volume type, since choosing the right one is one of the most common optimisation questions on the exam.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish IOPS from throughput.
- Choose between gp3, io2 and other SSD types.
- Choose between st1 and sc1 HDD types.
How EBS performance is measured
EBS performance has two dimensions. IOPS (input/output operations per second) matters for small random I/O such as database transactions; throughput (MiB/s) matters for large sequential I/O such as log processing, data warehouses and streaming. SSD volumes measure I/O in units of up to 256 KiB, HDD volumes in units of up to 1 MiB, so HDD volumes favour large sequential requests. Latency depends on the volume type and on the queue depth the application maintains. A volume is an AZ-scoped resource and can attach only to instances in the same AZ (Multi-Attach for io1 and io2 allows several Nitro instances in one AZ).
SSD volume types
gp3 is the default general purpose SSD. Every gp3 volume has a baseline of 3,000 IOPS and 125 MiB/s regardless of size, and IOPS (up to 80,000) and throughput (up to 2,000 MiB/s) can be provisioned independently of size, up to 64 TiB, since AWS raised the limits in September 2025. gp2, the previous generation, provides 3 IOPS per GiB (minimum 100, maximum 16,000), so performance is tied to size, and volumes smaller than 1 TiB can burst to 3,000 IOPS using a credit bucket shown by the BurstBalance metric. gp3 is about 20% cheaper per GiB than gp2, and migrating is done online with Elastic Volumes.
io2 Block Express is the provisioned IOPS SSD for business-critical, latency-sensitive workloads: sub-millisecond latency, up to 256,000 IOPS and 4,000 MiB/s per volume, 64 TiB, and 99.999% durability. io1 is the previous provisioned IOPS type. Provisioned IOPS volumes cost more per IOPS, so they are chosen only when a requirement exceeds gp3 limits or needs consistently low latency or Multi-Attach.
3,000IOPS
gp3 baseline at any size
125MiB/s
gp3 baseline throughput
80,000IOPS
gp3 maximum provisioned IOPS
256,000IOPS
io2 Block Express maximum per volume
Choosing an SSD volume
HDD volume types
st1 (throughput optimised HDD) suits frequently accessed, large sequential workloads such as big data, log processing and data warehouses, with throughput that scales with size and bursts using credits. sc1 (cold HDD) is the lowest-cost volume for infrequently accessed sequential data. Neither can be a boot volume. The following table summarises the volume types.
| Type | Max IOPS | Max throughput | Best for |
|---|---|---|---|
| gp3 | 80,000 (baseline 3,000) | 2,000 MiB/s (baseline 125) | Most workloads, boot volumes, databases with moderate IOPS |
| gp2 | 16,000 (3 per GiB, burst to 3,000) | 250 MiB/s | Legacy; migrate to gp3 |
| io2 Block Express | 256,000 | 4,000 MiB/s | Critical databases needing sustained IOPS and low latency |
| st1 | 500 | 500 MiB/s | Large sequential reads and writes, frequently accessed |
| sc1 | 250 | 250 MiB/s | Cold sequential data at lowest cost |
SSD or HDD?
Choosing a volume for a database
A PostgreSQL server on EC2 needs 1 TiB of storage and 12,000 IOPS with moderate latency requirements. On gp2, 1 TiB gives only 3,000 IOPS, so the team had over-provisioned a 4 TiB gp2 volume to reach 12,000 IOPS. A 1 TiB gp3 volume with 12,000 provisioned IOPS and 500 MiB/s throughput meets the requirement at a fraction of the cost, because the extra IOPS above the 3,000 baseline are cheap compared with 3 TiB of unused storage. io2 would only be justified if the database needed more than 80,000 IOPS or guaranteed sub-millisecond latency.
Why can a small gp2 volume slow down suddenly after a busy period?
Show answer
Its performance is tied to size, and it bursts on credits. When BurstBalance reaches zero, it drops to its baseline.
Exam Tips
Remember for the exam
- gp3: 3,000 IOPS and 125 MiB/s baseline at any size; provision up to 80,000 IOPS and 2,000 MiB/s.
- gp2 performance is tied to size and small volumes burst on credits (BurstBalance).
- io2 Block Express for sustained high IOPS and sub-millisecond latency.
- st1 and sc1 are HDD for sequential throughput and cannot boot an instance.
- Migrate gp2 to gp3 to save cost without losing performance.