View a markdown version of this page

Amazon EBS General Purpose SSD volumes - Amazon EBS

Amazon EBS General Purpose SSD volumes

General Purpose (gp3 and gp2) and General Purpose Adaptive (gp3a) volumes are backed by solid-state drives (SSD). They balance price and performance for a wide variety of transactional workloads. We recommend these volumes for most workloads.

Amazon EBS offers the following types of General Purpose SSD volumes:

General Purpose Adaptive SSD (gp3a) volumes

General Purpose Adaptive Volumes (gp3a) are suited for a wide variety of general purpose workloads and charge only for the storage that you use, not the provisioned volume size. This lets you size a volume for future growth without paying for unused storage. It also means that you don't need to constantly grow your volume using Elastic Volumes as the data grows, or shrink it through complex copy operations. You can provision and scale IOPS and throughput independent of the volume size. gp3a volumes are a companion to gp3 volumes. They're designed for long-running workloads that have cyclical storage patterns, or whose storage growth is hard to predict. To choose between them, consider your application, your typical storage utilization, and your performance requirements. For more information, see How to choose between gp3a and gp3 volumes.

Billing model

gp3a volumes are billed for the storage that you use, in two tiers. When the used storage on a volume passes 500 GiB, the per-GiB rate drops, so gp3a volumes become more cost-effective as they grow. Unlike gp3 volumes, gp3a volumes don't include baseline IOPS or throughput, which are billed separately, based on the values that you provision. For more information, see Amazon EBS Pricing.

Durability and Latency

gp3a volumes provide single-digit millisecond latency and 99.8 percent to 99.9 percent volume durability with an annual failure rate (AFR) no higher than 0.2 percent, which translates to a maximum of two volume failures per 1,000 running volumes over a one-year period. AWS designs gp3a volumes to deliver their provisioned performance 99 percent of the time. These characteristics are the same as for gp3 volumes.

Tip

For latency-sensitive workloads, we recommend that you use io2a volumes. io2a volumes are designed to deliver an average latency of under 500 microseconds for 16KiB I/O operations. io2a volumes also deliver better outlier latency compared to General Purpose volumes, reducing the frequency of I/Os exceeding 800 microseconds by over 10 times. For more information, see Provisioned IOPS Adaptive SSD (io2a) volumes.

Volume specifications

gp3a volumes support the same specifications as gp3 volumes: volume sizes up to 64 TiB, up to 80,000 IOPS, and up to 2,000 MiB/s of throughput.

gp3a volumes differ from gp3 volumes in the following ways:

  • Storage is billed based on the amount of data stored on the volume (used storage), not the provisioned volume size.

  • Unlike gp3 volumes, gp3a volumes do not include baseline IOPS or throughput with the price of storage. You provision IOPS and throughput separately and are billed for the values that you provision. gp3a volumes have a minimum of 1,000 provisioned IOPS and 125 MiB/s provisioned throughput.

  • gp3a volumes are not available as Multi-AZ volumes. If you need a Multi-AZ volume, use a gp3 volume instead.

Migrate to gp3a from gp3

You can change a gp3 volume to gp3a by using Elastic Volumes. Once the modification is completed, the billing model changes and it doesn't interrupt your Amazon EC2 instance. For more information, see Modify an Amazon EBS volume using Elastic Volumes operations.

When you modify a volume from gp3 to gp3a, the TrimOnAttach property is set to enabled by default, unless you override it. However, the change takes effect only after a one-time detach and reattach of the volume. Once TRIM is enabled on the volume and your operating system issues TRIM for deleted data, Amazon EBS can exclude deleted blocks from your bill. For more information, see Amazon EBS volumes TRIM support.

How to choose between gp3a and gp3 volumes

Use the following guidelines:

General Purpose SSD (gp3) volumes

General Purpose SSD (gp3) volumes help to provide the right balance of price and performance for most applications. You can scale volume performance independently of volume size, so you can provision the performance you need without adding storage capacity. Additionally, gp3 volumes offer a 20 percent lower price per GiB than General Purpose SSD (gp2) volumes.

Use gp3 volumes for small volumes, ephemeral workloads, and boot volumes. For larger volumes, or for long-running workloads with cyclical or hard-to-predict storage growth, consider gp3a volumes instead. For more information, see General Purpose Adaptive SSD (gp3a) volumes.

gp3 volumes provide single-digit millisecond latency and 99.8 percent to 99.9 percent volume durability with an annual failure rate (AFR) no higher than 0.2 percent, which translates to a maximum of two volume failures per 1,000 running volumes over a one-year period. AWS designs gp3 volumes to deliver their provisioned performance 99 percent of the time.

gp3 volume performance

Tip

gp3 volumes do not use burst performance. They can indefinitely sustain their full provisioned IOPS and throughput performance.

IOPS performance

gp3 volumes deliver a consistent baseline IOPS performance of 3,000 IOPS, which is included with the price of storage. You can provision additional IOPS (up to a maximum of 80,000) for an additional cost at a ratio of 500 IOPS per GiB of volume size. Maximum IOPS can be provisioned for volumes 160 GiB or larger (500 IOPS per GiB × 160 GiB = 80,000 IOPS).

Throughput performance

gp3 volumes deliver a consistent baseline throughput performance of 125 MiB/s, which is included with the price of storage. You can provision additional throughput (up to a maximum of 2,000 MiB/s) for an additional cost at a ratio of 0.25 MiB/s per provisioned IOPS. Maximum throughput can be provisioned at 8,000 IOPS or higher and 16 GiB or larger (8,000 IOPS × 0.25 MiB/s per IOPS = 2,000 MiB/s).

Note

On Outposts, gp3 volumes support sizes up to 16 TiB, IOPS up to 16,000, and throughput up to 1,000 MiB/s.

gp3 volume size

A gp3 volume can range in size from 1 GiB to 64 TiB.

Migrate to gp3 from gp2

If you are currently using gp2 volumes, you can migrate your volumes to gp3 using Modify an Amazon EBS volume using Elastic Volumes operations operations. You can use Amazon EBS Elastic Volumes operations to modify the volume type, IOPS, and throughput of your existing volumes without interrupting your Amazon EC2 instances. When using the console to create a volume or to create an AMI from a snapshot, General Purpose SSD gp3 is the default selection for volume type. In other cases, gp2 is the default selection. In these cases, you can select gp3 as the volume type instead of using gp2.

To find out how much you can save by migrating your gp2 volumes to gp3, use the Amazon EBS gp2 to gp3 migration cost savings calculator.

General Purpose SSD (gp2) volumes

They offer cost-effective storage that is ideal for a broad range of transactional workloads. With gp2 volumes, performance scales with volume size.

Tip

gp3 volumes are the latest generation of General Purpose SSD volumes. They offer more predictable performance scaling and prices that are up to 20 percent lower than gp2 volumes. For more information, see General Purpose SSD (gp3) volumes.

To find out how much you can save by migrating your gp2 volumes to gp3, use the Amazon EBS gp2 to gp3 migration cost savings calculator.

gp2 volumes provide single-digit millisecond latency and 99.8 percent to 99.9 percent volume durability with an annual failure rate (AFR) no higher than 0.2 percent, which translates to a maximum of two volume failures per 1,000 running volumes over a one-year period. AWS designs gp2 volumes to deliver their provisioned performance 99 percent of the time.

gp2 volume performance

IOPS performance

Baseline IOPS performance scales linearly between a minimum of 100 and a maximum of 16,000 at a rate of 3 IOPS per GiB of volume size. IOPS performance is provisioned as follows:

  • Volumes 33.33 GiB and smaller are provisioned with the minimum of 100 IOPS.

  • Volumes larger than 33.33 GiB are provisioned with 3 IOPS per GiB of volume size up to the maximum of 16,000 IOPS, which is reached at 5,334 GiB (3 X 5,334).

  • Volumes 5,334 GiB and larger are provisioned with 16,000 IOPS.

gp2 volumes smaller than 1 TiB (and that are provisioned with less than 3,000 IOPS) can burst to 3,000 IOPS when needed for an extended period of time. A volume's ability to burst is governed by I/O credits. When I/O demand is greater than baseline performance, the volume spends I/O credits to burst to the required performance level (up to 3,000 IOPS). While bursting, I/O credits are not accumulated and they are spent at the rate of IOPS that is being used above baseline IOPS (spend rate = burst IOPS - baseline IOPS). The more I/O credits a volume has accrued, the longer it can sustain its burst performance. You can calculate Burst duration as follows:

(I/O credit balance) Burst duration = ------------------------------ (Burst IOPS) - (Baseline IOPS)

When I/O demand drops to baseline performance level or lower, the volume starts to earn I/O credits at a rate of 3 I/O credits per GiB of volume size per second. Volumes have an I/O credit accrual limit of 5.4 million I/O credits, which is enough to sustain the maximum burst performance of 3,000 IOPS for at least 30 minutes.

Note

Each volume receives an initial I/O credit balance of 5.4 million I/O credits, which provides a fast initial boot cycle for boot volumes and a good bootstrapping experience for other applications.

The following table lists example volume sizes and the associated baseline performance of the volume, the burst duration (when starting with 5.4 million I/O credits), and the time needed to refill an empty I/O credits balance.

Volume size (GiB) Baseline performance (IOPS) Burst duration at 3,000 IOPS (seconds) Time to refill empty credit balance (seconds)

1 to 33.33

100

1,862

54,000

100

300

2,000

18,000

334 (min size for max throughput)

1,002

2,703

5,389

750

2,250

7,200

2,400

1,000

3,000

N/A*

N/A*

5,334 (min size for max IOPS) and larger

16,000

N/A*

N/A*

* The baseline performance of the volume exceeds the maximum burst performance.

You can monitor the I/O credit balance for a volume using the Amazon EBS BurstBalance metric in Amazon CloudWatch. This metric shows the percentage of I/O credits for gp2 remaining. For more information, see Amazon EBS I/O characteristics and monitoring. You can set an alarm that notifies you when the BurstBalance value falls to a certain level. For more information, see Creating CloudWatch Alarms.

Throughput performance

gp2 volumes deliver throughput between 128 MiB/s and 250 MiB/s, depending on the volume size. Throughput performance is provisioned as follows:

  • Volumes that are 170 GiB and smaller deliver a maximum throughput of 128 MiB/s.

  • Volumes larger than 170 GiB but smaller than 334 GiB can burst to a maximum throughput of 250 MiB/s.

  • Volumes that are 334 GiB and larger deliver 250 MiB/s.

Throughput for a gp2 volume can be calculated using the following formula, up to the throughput limit of 250 MiB/s:

Throughput in MiB/s = IOPS performance × I/O size in KiB / 1,024

gp2 volume size

A gp2 volume can range in size from 1 GiB to 16 TiB. Keep in mind that volume performance scales linearly with the volume size.