Amazon EBS volume types
Amazon EBS provides the following volume types, which differ in performance characteristics and price, so that you can tailor your storage performance and cost to the needs of your applications.
There are several factors that can affect the performance of EBS volumes, such as instance configuration, I/O characteristics, and workload demand. To fully use the IOPS provisioned on an EBS volume, use EBS–optimized instances. For more information about getting the most out of your EBS volumes, see Amazon EBS volume performance.
For more information about pricing, see Amazon EBS
Pricing
Volume types
Solid state drive (SSD) volumes
SSD-backed volumes are optimized for transactional workloads involving frequent read/write
operations with small I/O size, where the dominant performance attribute is IOPS. SSD-backed
volume types include General Purpose SSD (gp3, gp3a, and gp2) and Provisioned IOPS SSD (io2a, io2, and io1). Both volume type categories offer Amazon EBS Adaptive Volumes (gp3a and io2a), which charge
only for the storage you use. You can provision volume sizes for future storage growth
while paying only for the storage you actually use. For more information, see Amazon EBS Adaptive Volumes.
Amazon EBS Adaptive Volumes
Amazon EBS Adaptive Volumes are SSD-backed volumes that charge only for the data you store, not for the full
provisioned volume size. They're available in both the General Purpose SSD and Provisioned IOPS SSD
categories, as General Purpose Adaptive SSD (gp3a) and Provisioned IOPS Adaptive
SSD (io2a) volumes. You can set a volume size for the peak storage you need but pay only for
the storage you use at any point in time. When you delete data and your operating
system issues TRIM, Adaptive Volumes release the unused space and you no longer pay for the
deleted data. Thus, your storage bill adjusts automatically as you add or delete data. Adaptive
Volumes are a good fit for workloads whose storage needs fluctuate, are hard
to predict, or would otherwise need large storage headroom. Examples include growing databases,
log and analytics data, and development and test environments. You provision and pay for IOPS
and throughput separately from storage, so you can scale performance independently of the volume size.
To monitor used storage, use the
VolumeConsumedBytes Amazon CloudWatch metric. For more information, see Amazon CloudWatch metrics for Amazon EBS. TRIM is enabled by
default on gp3a and io2a volumes. For more information, see Amazon EBS volumes TRIM support.
For more information about Adaptive Volumes, see General Purpose Adaptive SSD (gp3a) volumes and Provisioned IOPS Adaptive SSD (io2a) volumes.
Considerations
Amazon EBS Adaptive Volumes have the following considerations:
-
With Adaptive Volumes, you will now see improved predictability across the following three data services: volume initialization, Elastic Volume modification, and snapshot creation. The time to complete each operation scales with how much data the operation moves, so identical data service operations are designed to complete in about the same time. This allows you to predict how long an operation takes and plan around it. While system load still influences timing, it is no longer the main variable.
io2adelivers faster data services operations thangp3a. If you're migrating fromgp3orio2, test against your workloads first to confirm it fits your data services needs. -
Adaptive Volumes are available in all commercial AWS Regions and the AWS GovCloud (US) Regions.
-
Adaptive Volumes are not available in the Middle East (UAE) and Middle East (Bahrain) Regions. Adaptive Volumes are also not available in the AWS European Sovereign Cloud (Germany) Region, the Amazon Web Services China (Beijing) Region, operated by Sinnet, and the Amazon Web Services China (Ningxia) Region, operated by NWCD.
-
Adaptive Volumes are not supported on Outposts, Local Zones, or Wavelength.
-
You cannot configure Adaptive Volumes (
gp3aandio2a) as Multi-AZ volumes. -
You must still choose a provisioned size when you create an Adaptive Volume. The size sets the volume's maximum storage capacity, and it's the size that your operating system, file system, and applications see. You pay only for the storage that you use. Choose a size that covers your expected peak usage and your desired headroom. It is not recommended to always choose the maximum size allowed for the volume type. The size you choose also counts toward your Adaptive Volumes storage quota, so oversized volumes can use up your quota. If you need to increase your provisioned size in the future, you can do so by using Elastic Volumes. For more information, see Quotas for Amazon EBS.
The following is a summary of the use cases and characteristics of SSD-backed volumes.
| Amazon EBS General Purpose SSD volumes | Amazon EBS Provisioned IOPS SSD volumes | |||||
|---|---|---|---|---|---|---|
| Volume type | gp3a |
gp3 6 |
gp2 |
io2a |
io2 |
io1 |
| Durability | 99.8% - 99.9% durability (0.1% - 0.2% annual failure rate) | 99.999% durability (0.001% annual failure rate) | 99.8% - 99.9% durability (0.1% - 0.2% annual failure rate) | |||
| Use cases |
|
|
Workloads that require:
|
|
||
| Volume size | 1 GiB - 64 TiB | 1 GiB - 16 TiB | 4 GiB - 64 TiB | 4 GiB - 16 TiB | ||
| Max IOPS | 80,000 3 (25.6 KiB I/O 4) | 16,000 (16 KiB I/O 4) | 256,000 3 (16 KiB I/O 4) | 64,000 (16 KiB I/O 4) | ||
| Max throughput | 2,000 MiB/s | 250 MiB/s 1 | 4,000 MiB/s | 1,000 MiB/s 2 | ||
| Amazon EBS Multi-attach | Not supported | Supported | ||||
| TRIM | Supported | |||||
| NVMe reservations | Not supported | Supported | ||||
| Boot volume | Supported | |||||
1 The throughput limit is between 128 MiB/s and 250 MiB/s, depending on the volume size. For more information, see gp2 volume performance. Volumes created before December 3, 2018 that have not been modified since creation might not reach full performance unless you modify the volume.
2 To achieve maximum throughput of 1,000 MiB/s, the volume must be provisioned with 64,000 IOPS and it must be attached to a Nitro-based instance. Volumes created before December 6, 2017 that have not been modified since creation might not reach full performance unless you modify the volume.
3 Nitro-based instances support volumes provisioned with up to 256,000 IOPS. Other instance types can be attached to volumes provisioned with up to 64,000 IOPS, but can achieve up to 32,000 IOPS.
4 Represents the required I/O size to reach maximum IOPS within the volume's throughput limit.
5 io2 and io2a volumes are designed to
deliver an average latency of under 500 microseconds for 16KiB I/O operations.
6 On Outposts, gp3 volumes support sizes up to 16 TiB, IOPS up to 16,000, and throughput up to 1,000 MiB/s.
For more information about the SSD-backed volume types, see the following:
Multi-AZ volumes
You can configure General Purpose SSD (gp3) and Provisioned IOPS SSD (io2) volumes as multi-AZ volumes for high availability and durability across two Availability Zones. The following table summarizes the characteristics of multi-AZ volumes.
| gp3 Multi-AZ | io2 Multi-AZ | |
|---|---|---|
| Durability | 99.9999% (6 nines) | 99.99999999% (10 nines) |
| Latency | Single-digit millisecond 1 | Sub-millisecond reads; writes add inter-AZ round trip 1 |
| Max IOPS | 80,000 2 | 256,000 2 |
| Max throughput | 2,000 MiB/s | 4,000 MiB/s |
| Volume size | 1 GiB - 64 TiB | 4 GiB - 64 TiB |
| Use case | Workloads that need high availability and durability across Availability Zones | |
| Multi-Attach | Not supported | |
| NVMe reservations | Not supported | |
| Boot volume | Supported | |
1 Read latency is comparable to the single-AZ equivalent. Because each write is synchronously replicated to the standby Availability Zone, the write latency of a multi-AZ volume is approximately the write latency of an equivalent single-AZ volume plus the network round trip between the active and standby Availability Zones and a small amount of replication overhead. To estimate the network round trip, use the inter-Availability Zone latency metric in Infrastructure performance in the AWS Network Manager User Guide, which provides the P50 (median) round trip. Because this is a median, actual write latency can be higher. Before you use multi-AZ in production, benchmark it with a representative workload, and design your application to tolerate write latency above your benchmark results.
2 A multi-AZ volume has a single provisioned IOPS value that applies to both reads and writes. Reads can reach the provisioned IOPS shown in the table. Because of the higher write latency, the maximum achievable write IOPS is approximately your application's queue depth divided by the multi-AZ write latency, and can't exceed the provisioned IOPS. We recommend that you benchmark with a representative workload to determine the achievable write IOPS for your configuration.
For more information, see Amazon EBS Multi-AZ volumes.
Hard disk drive (HDD) volumes
HDD-backed volumes are optimized for large streaming workloads where the dominant performance attribute is throughput. HDD volume types include Throughput Optimized HDD and Cold HDD. The following is a summary of the use cases and characteristics of HDD-backed volumes.
| Throughput Optimized HDD volumes | Cold HDD volumes | |
|---|---|---|
| Volume type | st1 |
sc1 |
| Durability | 99.8% - 99.9% durability (0.1% - 0.2% annual failure rate) | |
| Use cases |
|
|
| Volume size | 125 GiB - 16 TiB | |
| Max IOPS per volume (1 MiB I/O) | 500 | 250 |
| Max throughput per volume | 500 MiB/s | 250 MiB/s |
| TRIM | Supported | |
| Amazon EBS Multi-attach | Not supported | |
| Boot volume | Not supported | |
For more information about the Hard disk drives (HDD) volumes, see Amazon EBS Throughput Optimized HDD and Cold HDD volumes.
Previous generation volumes
Magnetic (standard) volumes are previous generation volumes that are backed by magnetic
drives. They are suited for workloads with small datasets where data is accessed infrequently
and performance is not of primary importance. These volumes deliver approximately 100 IOPS on
average, with burst capability of up to hundreds of IOPS, and they can range in size from 1 GiB
to 1 TiB.
Magnetic is a previous generation volume type. If you need higher performance or performance consistency than previous-generation volumes can provide, we recommend using one of the current generation volume types.
The following table describes previous-generation EBS volume types.
| Magnetic | |
|---|---|
| Volume type | standard |
| Use cases | Workloads where data is infrequently accessed |
| Volume size | 1 GiB-1 TiB |
| Max IOPS per volume | 40–200 |
| Max throughput per volume | 40–90 MiB/s |
| TRIM | Supported |
| Boot volume | Supported |