Add more details like throughput, iops, etc
- Solid State Drives (SSD)
- General Purpose SSD
- Provisioned IOPS SSD
- Hard Disk Drives (HDD)
- Throughput Optimized HDD
- Cold HDD
- Previous Generation
- Magnetic
Solid State Drives (SSD)
Solid State Drives are useful for loads that include frequent read writes to the drive (High IOPS) with lower IOPS size (lower throughput). The dominant performance attribute for SSDs is IOPS. Now we will discuss different categories of EBS volumes under SSD-backed volumes.
General purpose SSD
The General-purpose SSD drives provide a balance between the performance and the case. These EBS volumes are recommended for most of the use cases by Amazon. There are two types of General-purpose SSD volumes that are gp2 and gp3.
The General-purpose SSD volume (gp3) provides the consistent 125 MiB/s throughput and 3000 IOPS within the price of provisioned storage. Additional IOPS (up to 16,000) and throughput (1000 MiB/s) can be provisioned with an additional price. The General-purpose SSD volume (gp2) provides 3 IOPS per GiB storage provisioned with a minimum of 100 IOPS. Similarly, the volumes provisioned with 5333 GiB or larger (up to 16 TiB) will have a maximum of 16,000 IOPS
Following is the performance chart of both types of General-purpose SSD volumes.
General Purpose SSD | ||
Volume type | gp3 | gp2 |
Volume size | 1 GiB – 16 TiB | |
Use cases |
|
|
Durability | 99.8% – 99.9% durability | |
Amazon EBS Multi-attach | Not supported | |
Max IOPS per volume | 16,000 | |
Max throughput per volume | 1,000 MiB/s | 250 MiB/s |
Boot volume | Supported |
Provisioned IOPS SSD
Provisioned IOPS SSD volumes are used for workloads that require high performance, lower latency, and higher throughput. Three types of Provisioned IOPS SSD volumes are io2 Block Express, io2, and io1. The io2 Block Express volume type is only supported with R5b instances.
The Provisioned IOPS SSD (io1) volume can be provisioned with a minimum of 100 and a maximum of 64,000 IOPS. The maximum ratio between provisioned IOPS and storage is 50:1. So you can provision a maximum of 50 IOPS per 1 GiB storage. The Provisioned IOPS SSD (io2) volume can be provisioned with a minimum of 100 and 256,000 IOPS, and the maximum ratio between the provisioned IOPS and storage is 1000:1. So you can provision a maximum of 1000 IOPS for 1 GiB storage.
Following is the performance chart for all the three types of Provisioned IOPS volumes types.
Provisioned IOPS SSD | |||
Volume type | io2 Block Express | io2 | io1 |
Volume size | 4 GiB – 64 TiB | 4 GiB – 16 TiB | |
Use cases | Workloads that require:
|
|
|
Durability | 99.999% durability | 99.999% durability | 99.8% – 99.9% durability |
Amazon EBS Multi-attach | Supported | ||
Max IOPS per volume | 256,000 | 64,000 | |
Max throughput per volume | 4,000 MiB/s | 1,000 MiB/s | |
Boot volume | Supported |
Hard Disk Drives (HDD)
Hard disk drives are useful for large streaming workloads that require higher throughput. The dominant performance attribute for SSDs is throughput. Now we will discuss different categories of EBS volumes under HDD-backed volumes.
Throughput optimized HDD
The throughput optimized HDD volume type is designed for frequently accessed workloads that require higher throughput. The st1 is the only EBS volume type of throughput optimized HDD.
The Throughput optimized HDD (st1) volume provides a baseline throughput of 40 MiB/s per TiB storage provisioned up to 12,800 GiB. From 12,800 GiB to onward, a consistent throughput of 500 MiB/s is provisioned with storage.
Following is the performance chart of throughput optimized HDD EBS volumes.
Throughput Optimized HDD | |
Volume type | st1 |
Volume size | 125 GiB – 16 TiB |
Use cases |
|
Durability | 99.8% – 99.9% durability |
Amazon EBS Multi-attach | Not supported |
Max IOPS per volume | 500 |
Max throughput per volume | 500 MiB/s |
Boot volume | Not supported |
Cold HDD
Cold HDD is another type of Hard disk drive provided by AWS for less frequently accessed workloads but higher throughput. Cold HDD is different from Throughput optimized based on IOPS. It has lesser IOPS than Throughput optimized HDD. Like Throughput Optimized HDD, the Cold HDD also provides a baseline throughput of 12 MiB/s per TiB storage provisioned. Following is the performance chart of Cold HDD EBS volume.
Cold HDD | |
Volume type | sc1 |
Volume size | 125 GiB – 16 TiB |
Use cases |
|
Durability | 99.8% – 99.9% durability |
Amazon EBS Multi-attach | Not supported |
Max IOPS per volume | 250 |
Max throughput per volume | 250 MiB/s |
Boot volume | Not supported |
Previous Generation
Previous generation drives are the hard disk drives used for workloads where performance is not a primary factor. It is also used for small datasets where the data is less frequently accessed. These are the previous generation hard drives, and amazon does not recommend using them. Magnetic is the only previous generation drive.
Magnetic
Magnetic is the only EBS volume type under the Previous Generation category and is used for workloads where data is infrequently accessed, and performance is not a primary factor. The following chart shows the key features of this storage type.
Magnetic | |
Volume type | standard |
Volume size | 1 GiB – 1 TiB |
Max throughput per volume | 40 – 90 MiB/s |
Max IOPS per volume | 40 – 200 |
Use cases | Workloads with infrequently accessed data |
Boot volume | Supported |
Conclusion
Amazon provides different types of EBS volumes to provision required IOPS and Throughput for different types of workloads. There are different categories of Storage drives like SSD, HDD, and the previous generation, and each category includes different volume types like io1, io2, gp2, standard, etc. This guide describes all the features and uses cases of all the EBS volumes provided by AWS.