Figure 1: Where stored data on gp3a and Snapshot size on gp3 were read after TRIM, and the results (dark theme version)
On 2026-11-30, Amazon EBS gained two volume types that bill for the data you store: gp3a (general purpose) and io2a (provisioned IOPS). AWS calls them Adaptive Volumes. On the same day, TRIM (the command an operating system uses to tell storage which blocks it no longer uses) became available on all volume types.
A gp3a volume bills for stored data, so deleting a file does not lower the bill until the operating system sends TRIM. To see a failed TRIM, I wrote 8 GiB to a gp3 volume in Tokyo, deleted 6 GiB, and ran fstrim, which failed. VolumeConsumedBytes (the stored-data metric) stayed at 8 GiB (one measurement). I expect a gp3a volume on which TRIM fails to end up in the same state, because it bills for stored data, but I did not run a failing TRIM on gp3a (reason: time).
This post is for two readers: engineers who are considering a change from gp3 to gp3a, and engineers who compare EBS with Amazon FSx for NetApp ONTAP (FSx for ONTAP) and want to know which assumptions gp3a changes. It covers eight points:
- The crossover where the monthly cost of
gp3andgp3aswaps - The three prerequisites for lowering stored data
- How to confirm the drop with
VolumeConsumedBytes - Where my Snapshot measurement and the documentation disagree on TRIM and Snapshot size
- The performance of
gp3aandio2a - How TRIM uses IOPS, and why to run
fstrimon a schedule - The constraints of
gp3aandio2a: no multi-AZ, and billing for all provisioned IOPS and throughput - Which assumptions change, and which stay, when you compare with FSx for ONTAP
EBS multi-AZ volumes, announced the same day, are in the companion post Designing multi-AZ block storage on AWS: write latency, IOPS, and failover measured in Tokyo, and what resync requires.
A Qiita post (in Japanese) already gives the monthly break-even as a formula: re:Invent 2026 の EBS 新機能:gp3a に移すと本当に安くなるのか?!(Qiita). My arithmetic uses the same prices, with IOPS and throughput matched to the gp3 free baseline. A Classmethod post (in Japanese) writes and deletes data on gp3a and tracks stored data: Amazon EBS の Adaptive Volumes(gp3a)を試してみた(クラスメソッド). This post adds five things that neither has:
- A
VolumeConsumedBytesmeasurement with agp3volume on whichfstrimfails as the control - A measurement in which
gp3Snapshots did not shrink, and how it differs from the documentation - A performance measurement of
gp3aandio2a - A check that creating
gp3awith 500 IOPS produced a volume with 3,000 IOPS - A comparison of AWS selection guidance with the arithmetic, and the assumptions that change when you compare with FSx for ONTAP
Conclusion
The eight points below come from measurements in the Tokyo Region and from the AWS documentation I read on 2026-12-06. Each section gives the conditions and values. The next section defines the terms.
- The stored-data level at which
gp3andgp3acost the same depends on provisioned size. With IOPS and throughput matched to thegp3free baseline (3,000 IOPS, 125 MiB/s), a 1,024 GiB volume that is 20% used costs $98.30 per month ongp3and $43.66 ongp3a. At 1,024 GiB,gp3acosts less up to about 865 GiB stored (about 85%). At 256 GiB,gp3costs less once more than about 6 GiB is stored. At 4,096 GiB,gp3acosts less even when the volume is full. AWS selection guidance picksgp3for 1,024 GiB at 80% use, but the arithmetic givesgp3a$3.32 per month less - Three prerequisites must hold before stored data can drop. (1) The volume's
TrimOnAttachis enabled. It is enabled by default ongp3aandio2aand disabled by default on other volume types. After you change it, reattach the volume. For a root volume, stop the instance and reattach. The Classmethod post Amazon EBS のルートボリュームを gp3 から gp3a へ変更してみた (in Japanese) reports that reattaching a root volume changedDeleteOnTerminationfromtruetofalse, so as an operating step, check the value after you reattach. (2) The operating system sends TRIM. Amazon Linux 2023 enablesfstrim.timerby default, and so does Windows Server 2016 and later. (3) The instance is Nitro-based - You confirm that stored data dropped after TRIM with
VolumeConsumedBytes. The metric is hourly. In Tokyo, I ranfstrimat 09:09 UTC, and ongp3athe value fell from 8.07 GiB to 2.07 GiB at the point for the next hour. Ongp3, wherefstrimfailed, it did not fall (one measurement). I cite the AWS Application Migration Service (AWS MGN) user guide FAQ because that page explains how AWS MGN issues TRIM to agp3aorio2amigration target, and it describes how long TRIM takes, how much IOPS it uses, and its effect on existing volume types, none of which the EBS User Guide states. It says TRIM can take several hours to complete and that the metric updates hourly - A
gp3Snapshot did not shrink even thoughfstrimsucceeded. The Snapshot block count (512 KiB per block) did not change for 130 minutes. The AWS MGN FAQ says TRIM currently has no effect on existing volume types such asgp3. The EBS User Guide TRIM page says blocks freed by TRIM are left out of later Snapshots. The two statements disagree. Forgp3a, the Classmethod post Amazon EBS のルートボリュームを gp3 から gp3a へ変更してみた (in Japanese) reports that the Snapshot block count fell from 209,299 to 106,632 afterfstrim -
gp3aperformed likegp3, andio2aperformed likeio2. In Tokyo with 3,000 IOPS provisioned, 4 KiB random writes at queue depth 4 or more peaked at 3,047 to 3,149 writes per second on all four types. At queue depth 1,gp3andgp3areached about 1,070 writes per second, andio2andio2areached about 2,800 to 2,900 - TRIM uses provisioned IOPS the way writes do. The AWS MGN FAQ says one TRIM takes 1 IOPS and only one TRIM runs at a time per volume. The EBS User Guide recommends a periodic
fstrimover thediscardmount option. I did not measure the IOPS that TRIM consumes (reason: time) -
gp3aandio2acannot be multi-AZ, and they bill for all the IOPS and throughput you set. When I createdgp3awith 500 IOPS, below the minimum of 1,000, the API returned no error and created the volume with 3,000 IOPS (confirmed twice). Three thousand IOPS costs $18 per month, so check the IOPS withdescribe-volumesafter you create a volume. TRIM is also unavailable on multi-AZ volumes - When you compare with FSx for ONTAP,
gp3achanges only the billing for unused space. The assumptions about copies of the same data, tiering of data that is not read (which you can set on NFS, SMB, and LUN volumes), sharing between hosts, and protection against an AZ failure stay the same. Calculate thegp3amonthly cost first if all of these hold: the data is a block device, one EC2 instance attaches to it, and you need none of NFS, SMB, sharing, copies, or tiering. This applies even to a volume you considered for FSx for ONTAP because of cost
Terms
| Term | Meaning in this post |
|---|---|
| Adaptive Volumes | EBS volumes billed for the data you store. Two types: gp3a and io2a |
| Provisioned size | The size you set when you create the volume. The operating system sees this size |
| Stored data | Data written to the volume and not released by TRIM. Shown by the CloudWatch metric VolumeConsumedBytes |
| Utilization | Stored data divided by provisioned size |
| TRIM | The standard command an operating system uses to tell storage which blocks are no longer in use. On Linux, fstrim or the discard mount option sends it |
TrimOnAttach | An EBS volume setting. When enabled, the volume accepts TRIM when attached to an instance |
TrimState | The TRIM state of an attachment, shown in the volume's attachment information (Attachments[].TrimState) |
| AWS MGN | AWS Application Migration Service. Its user guide FAQ describes EBS TRIM |
| Queue depth | The number of writes issued at the same time without waiting for completion. At 1, each write waits for the previous one to finish |
| Elastic Volumes | The EBS feature that changes the type or IOPS of a running volume without stopping it |
| Thin provisioning | An allocation method in which a volume consumes SSD only for the data actually written |
| FlexClone | The FSx for ONTAP feature that creates a writable copy of a volume without copying the data |
| Capacity pool | The FSx for ONTAP storage tier that is cheaper than SSD and billed by capacity used |
How gp3 and gp3a are billed
I obtained the Tokyo prices, effective 2026-11-01, from the AWS Price List API on 2026-12-01. On the AWS price pages, GB means 1024³ bytes, the same value as GiB. This post uses "GB" and "GiB" as written there, without converting the numbers.
| Item | gp3 | gp3a |
|---|---|---|
| Storage | Provisioned size at $0.096 per GB-month | Stored data at $0.096 per GB-month up to 500 GB, and $0.072 per GB-month above 500 GB |
| IOPS | First 3,000 free, then $0.006 per IOPS-month | All provisioned IOPS at $0.006 per IOPS-month. The minimum you can set is 1,000. When I set 500, no error occurred and the volume was created with 3,000 IOPS (see the table "Defaults at creation") |
| Throughput | First 125 MiB/s free, then $0.048 per MiBps-month | All provisioned throughput at $0.048 per MiBps-month |
TRIM default (TrimOnAttach) | Disabled | Enabled |
| Multi-AZ | Supported | Not supported |
Changing from gp3 | — | Elastic Volumes changes it without downtime |
io2a keeps the io2 IOPS prices and bills storage on the data you store. In Tokyo, storage costs $0.142 per GB-month up to 500 GB and $0.108 per GB-month above 500 GB (io2 costs $0.142 per GB-month of provisioned size). AWS recommends io2a in place of io2 unless you need multi-AZ.
Monthly cost arithmetic
The monthly cost table after the formula has two gp3a columns. The left column matches IOPS and throughput to the gp3 free baseline: 3,000 IOPS and 125 MiB/s. The right column sets gp3a to its minimum, 1,000 IOPS and 125 MiB/s. Every column includes only storage, IOPS, and throughput charges. Snapshots are not included.
The formula, where S is provisioned size, U is stored data (both in GiB), I is IOPS, and T is throughput in MiB/s:
gp3 = 0.096 × S + 0.006 × max(I − 3000, 0) + 0.048 × max(T − 125, 0) gp3a = 0.096 × min(U, 500) + 0.072 × max(U − 500, 0) + 0.006 × I + 0.048 × T | Provisioned size | Utilization | Stored data | gp3 monthly cost ($) | gp3a (3,000 IOPS / 125 MiB/s) monthly cost ($) | gp3a (1,000 IOPS / 125 MiB/s) monthly cost ($) |
|---|---|---|---|---|---|
| 256 GiB | 20% | 51.2 GiB | 24.58 | 28.92 | 16.92 |
| 256 GiB | 80% | 204.8 GiB | 24.58 | 43.66 | 31.66 |
| 1,024 GiB | 20% | 204.8 GiB | 98.30 | 43.66 | 31.66 |
| 1,024 GiB | 50% | 512 GiB | 98.30 | 72.86 | 60.86 |
| 1,024 GiB | 80% | 819.2 GiB | 98.30 | 94.98 | 82.98 |
| 4,096 GiB | 20% | 819.2 GiB | 393.22 | 94.98 | 82.98 |
| 4,096 GiB | 80% | 3,276.8 GiB | 393.22 | 271.93 | 259.93 |
The monthly costs are arithmetic on public prices, not an actual bill. Lowering gp3a to 1,000 IOPS saves $12.00 per month, but 1,000 IOPS is below the gp3 free baseline, so performance can drop.
The crossover for each provisioned size, at 3,000 IOPS and 125 MiB/s, is:
| Provisioned size | Range in which gp3a costs less |
|---|---|
| 256 GiB | Up to about 6 GiB stored (about 2% utilization) |
| 1,024 GiB | Up to about 865 GiB stored (about 85% utilization) |
| 4,096 GiB | At any amount stored, because the gp3a price above 500 GB is lower than the gp3 price |
The AWS selection guidance and the arithmetic differ:
- AWS guidance: choose
gp3awhen a volume will have more than 250 GB of unused space or store more than 1.5 TB, andgp3otherwise. The guidance assumes you provisiongp3awith the same 3,000 IOPS and 125 MiB/s thatgp3includes - The guidance leans more toward
gp3than the arithmetic does. For 1,024 GiB at 80% use, about 205 GiB is unused, so the guidance saysgp3, but the arithmetic givesgp3a$3.32 per month less - Where the monthly difference is small, decide by the IOPS and throughput you need. For 1,024 GiB at 80% use, the difference is $3.32 per month
Prerequisites for lowering stored data
On gp3a and io2a, stored data drops only when TRIM runs. After you delete a file, the blocks still count as stored data until the operating system sends TRIM.
Three prerequisites
| Prerequisite | Detail |
|---|---|
The volume's TrimOnAttach is enabled | Enabled from creation on gp3a and io2a. Disabled by default on other volume types |
| The operating system sends TRIM | Amazon Linux 2023 enables fstrim.timer by default. Windows Server 2016 and later enable it by default |
| The instance is Nitro-based | TRIM is not available on instances that are not Nitro-based |
Operating steps
- After you enable
TrimOnAttachon an existing volume, detach and reattach the volume. TRIM is not available until you reattach it - For a root volume, stop the instance and reattach the volume. The Classmethod post on the root volume change (in Japanese, Amazon EBS のルートボリュームを gp3 から gp3a へ変更してみた(クラスメソッド)) reports that reattaching changed
DeleteOnTerminationfromtruetofalse. After you reattach, check theDeleteOnTerminationvalue - Send TRIM with a periodic
fstrim. The EBS documentation recommends a periodicfstrimover thediscardmount option - TRIM uses provisioned IOPS and throughput the way writes do. The AWS MGN FAQ says one TRIM takes 1 IOPS and only one TRIM runs at a time per volume
Constraints in the EBS documentation
| Item | Detail |
|---|---|
| Not supported | Multi-AZ volumes, Local Zones, Wavelength, Outposts, some Regions that do not support TRIM (Tokyo supported TRIM in my measurement), and some instance families such as trn2 |
| Granularity | Blocks of 512 KiB. A TRIM that does not align to a block boundary leaves the partly trimmed block counted as changed in the next Snapshot |
| Existing Snapshots | Unchanged when you enable TRIM |
| Cost | No extra charge for TRIM |
How to confirm stored data, and the defaults at creation
Measurement conditions
I measured in the Tokyo Region on 2026-12-01 and 2026-12-04.
| Item | 2026-12-01 | 2026-12-04 |
|---|---|---|
| What was measured | Creation and TRIM defaults, stored data while writing | Stored data after fstrim, Snapshot size, and performance |
| Instance | t3.micro | t3.medium (Amazon Linux 2023) |
| File system | XFS | XFS |
| Volumes | One 20 GiB gp3a (1,000 IOPS, 125 MiB/s) | One 20 GiB gp3a and one 20 GiB gp3, three 10 GiB gp3 volumes, and gp3, gp3a, io2, and io2a volumes at 3,000 IOPS |
| How values were read | AWS API and the hourly CloudWatch VolumeConsumedBytes. describe-volumes in AWS CLI 2.38.3 did not return TrimOnAttach and TrimState, so I read them with boto3 1.44.16 | Hourly CloudWatch VolumeConsumedBytes (UTC), block counts from the EBS direct APIs, fio, and dd |
The Classmethod post on gp3a (in Japanese, Amazon EBS の Adaptive Volumes(gp3a)を試してみた(クラスメソッド)) read TrimState with AWS CLI 2.43.0. describe-volumes in AWS CLI 2.38.3 did not return TrimOnAttach or TrimState, so if they are missing, update the AWS CLI or read them with an AWS SDK.
Defaults at creation
| What I checked (2026-12-01) | Result |
|---|---|
Creating gp3a without IOPS | Created with 3,000 IOPS and 125 MiB/s |
Creating gp3a with 500 IOPS (the documented minimum is 1,000) | No error. The volume was created with 3,000 IOPS (confirmed twice) |
Creating io2a with 100 IOPS | Created. io2a takes no throughput setting (it follows IOPS) |
TrimOnAttach on gp3a and io2a | enabled without being set |
TrimOnAttach on gp3 | disabled without being set |
TrimState after attaching (gp3a) | enabled |
Type change and combinations
| What I checked (2026-12-01) | Result |
|---|---|
Changing gp3 to gp3a (10 GiB, not attached) | modify-volume accepted it immediately. Fifteen seconds later the volume was gp3a with 3,000 IOPS and 125 MiB/s |
Creating gp3a as multi-AZ | The EC2 API rejected it (UnknownVolumeType) |
Stored data over time, and whether fstrim succeeded
Stages 1 and 2 ran on a 20 GiB gp3a on 2026-12-01. Stages 3 and 4 ran on 2026-12-04, with the same steps on a 20 GiB gp3a and a 20 GiB gp3. I wrote an 8 GiB file, kept it for 75 minutes, deleted a 6 GiB file, and ran fstrim. VolumeConsumedBytes is an hourly value.
| Stage | Date | Action | File system usage (df) | VolumeConsumedBytes (hourly) |
|---|---|---|---|---|
| Start | 2026-12-01 | After mounting (gp3a) | 1 GiB | — |
| 1 | 2026-12-01 | Wrote 4 GiB (gp3a, 20% of provisioned size) | 5 GiB | 4.07 GiB |
| 2 | 2026-12-01 | Wrote 6 GiB more (gp3a, 10 GiB in total, 50%) | 11 GiB | 10.07 GiB |
| 3 | 2026-12-04 | Wrote 8 GiB and kept it for 75 minutes (gp3a) | 8,368 MiB | About 8.07 GiB (8,665,432,064 bytes, three hourly points, in the 07:00, 08:00, and 09:00 UTC hours) |
| 3 | 2026-12-04 | Same action (gp3) | 8,368 MiB | About 8.07 GiB (8,665,432,064 bytes) |
| 4 | 2026-12-04 | Deleted 6 GiB and ran fstrim at 09:09 UTC (gp3a). fstrim trimmed 20 GiB | 2,224 MiB | About 2.07 GiB (2,222,981,120 bytes, two hourly points, in the 10:00 and 11:00 UTC hours) |
| 4 | 2026-12-04 | Same action (gp3). fstrim failed (the discard operation is not supported) | 2,224 MiB | Stayed at 8,665,432,064 bytes at all five points |
- On
gp3a,VolumeConsumedBytesdropped by 6 GiB oncefstrimsucceeded. Ongp3, wherefstrimfailed, it stayed at 8.07 GiB. Thegp3volume on whichfstrimfails is the control. All I can say is that, in this one measurement, the value did not drop on thegp3volume wherefstrimfailed. I do not generalize it to "the value drops only when TRIM goes through" -
VolumeConsumedBytesalso appears forgp3.lsblk -Dshows the largest single discard the operating system sees (DISC-MAX): 2 TB ongp3aand 0 B ongp3.TrimOnAttachis disabled ongp3, sofstrimfailed - In stages 1 and 2,
VolumeConsumedByteswas about 1 GiB below thedffigure (dfshowed 1 GiB right after mounting). In stages 3 and 4, the gap was about 0.1 GiB (about 8.07 GiB against 8,368 MiB, and about 2.07 GiB against 2,224 MiB). I thinkVolumeConsumedBytesdoes not count the space XFS uses at format time, but I did not isolate the cause of the gap - In stage 4, the value dropped at the point for the hour after the one in which I ran
fstrim. The AWS MGN FAQ says TRIM can take several hours to complete and that the metric updates hourly. Because the metric is hourly, the value does not change for a while afterfstrim - The Classmethod post on
gp3a(Amazon EBS の Adaptive Volumes(gp3a)を試してみた, in Japanese) also reports that the value drops ongp3aafter a delete andfstrim
TRIM and Snapshot size
The EBS User Guide TRIM page says that blocks freed by TRIM are left out of later Snapshots and that Snapshot cost drops. Snapshots cost $0.050 per GB-month in Tokyo. The AWS MGN FAQ, in contrast, says TRIM currently has no effect on existing volume types such as gp3. The two statements disagree.
On 2026-12-04 in Tokyo, I compared Snapshot size after fstrim on three 10 GiB gp3 volumes attached to a t3.medium (Amazon Linux 2023, XFS). The volumes were a write-only control (control), a volume with TrimOnAttach enabled on which fstrim succeeded (trim_on), and a volume left disabled on which fstrim failed (trim_off).
| Volume | Written | Deleted | TrimOnAttach | fstrim |
|---|---|---|---|---|
control | 1 GiB | None | Default (disabled) | Not run |
trim_on | 4.2 GiB | 3 GiB | Enabled before attaching | Succeeded |
trim_off | 4.2 GiB | 3 GiB | Default (disabled) | Failed |
I read Snapshot size as the block count returned by the EBS direct APIs (512 KiB per block).
Time since measurement start (control does not run fstrim, so its values are for the same times) | control | trim_on | trim_off |
|---|---|---|---|
| 5 minutes | 2,193 blocks | 8,336 blocks | 8,337 blocks |
| 65 minutes | 2,193 blocks | 8,336 blocks | 8,337 blocks |
| 130 minutes | 2,193 blocks | 8,336 blocks | 8,337 blocks |
-
trim_on, wherefstrimsucceeded, had the same size astrim_off, where it failed, and the size did not change for 130 minutes -
trim_onshould hold about 1.2 GiB of data, but its Snapshot stayed at the amount I wrote (about 4.1 GiB) - Under these conditions (
gp3, XFS,fstrimright after the delete, 5 to 130 minutes later), I did not observe the shrink that the EBS User Guide TRIM page describes. The measurement agrees with the AWS MGN FAQ and disagrees with the EBS User Guide - For
gp3a, the Classmethod post on the root volume change reports that the block count fell from 209,299 to 106,632 afterfstrim(Amazon EBS のルートボリュームを gp3 から gp3a へ変更してみた(クラスメソッド), in Japanese). My measurement coversgp3Snapshots only
If you plan to enable TRIM on gp3 to shrink Snapshots, confirm the Snapshot size before production with the method in this section: the block count that the EBS direct APIs return.
gp3a and io2a performance
On 2026-12-04 in Tokyo, I attached volumes provisioned at 3,000 IOPS to a t3.medium and measured four types: gp3, gp3a, io2, and io2a. I ran 4 KiB random writes with fio (direct=1). Values are writes per second.
| Volume | Queue depth 1 (writes/s) | Queue depth 4 (writes/s) | Queue depth 16 (writes/s) | Queue depth 32 (writes/s) | Mean time at queue depth 1 |
|---|---|---|---|---|---|
gp3 | 1,074 | 3,149 | 3,048 | 3,053 | 0.918 ms |
gp3a | 1,060 | 3,149 | 3,047 | 3,051 | 0.929 ms |
io2 | 2,825 | 3,149 | 3,052 | 3,048 | 0.345 ms |
io2a | 2,920 | 3,149 | 3,047 | 3,049 | 0.335 ms |
With dd synchronous writes (queue depth 1), gp3 took about 0.90 ms, gp3a about 0.90 ms, io2 about 0.34 ms, and io2a about 0.35 ms.
- Under these conditions,
gp3aperformed likegp3andio2aperformed likeio2. AWS states thatgp3aandgp3, andio2aandio2, have the same performance, and my measurement does not contradict it (see the EBS User Guide and the product page in the sources table) - At queue depth 4 or more, every volume peaked near the provisioned 3,000 IOPS (3,047 to 3,149). The comparison holds for the 3,000 IOPS I provisioned
- These performance values come from newly created volumes. The measurement scope section lists the conditions I did not measure
Assumptions when you compare with FSx for ONTAP
| Aspect | Assumption when you compare gp3 or io2 | Assumption with gp3a |
|---|---|---|
| Unused space | EBS bills for provisioned size. FSx for ONTAP volumes use thin provisioning, so volume usage grows only by the data written. SSD is billed on the capacity provisioned for the file system | EBS also bills only for stored data. FSx for ONTAP SSD stays billed on provisioned capacity. Second- and third-generation file systems can decrease provisioned SSD |
| Copies of the same data | EBS holds one volume per copy (Volume Clones create copies instantly, but each copy is a separate volume). FSx for ONTAP FlexClone does not copy data | Unchanged. On gp3a, each copy still adds stored data |
| Data that is not read | EBS keeps it on SSD. FSx for ONTAP can tier NFS, SMB, and LUN volumes to the capacity pool (for LUNs, check the read-error conditions first; see design point 6 in the companion post) | Unchanged. gp3a has no tiering |
| Protection against an AZ failure | EBS multi-AZ volumes are gp3 and io2 | gp3a and io2a cannot be multi-AZ |
How to choose, by assumption:
- If one EC2 instance uses the data as an EBS block device and you are considering FSx for ONTAP only because of cost, calculate the
gp3amonthly cost first. When you need none of NFS or SMB access, sharing between hosts, copies of the data, or tiering of data that is not read,gp3acan be enough - If sharing between hosts, many copies of the same data, or tiering of data that is not read is a requirement,
gp3adoes not change the FSx for ONTAP assumptions. The case for many copies rests on FlexClone not copying data. A LUN that you copy with FlexClone is still a LUN, and NFS, SMB, and S3 Access Points cannot read it - If protection against an AZ failure is a requirement, consider a
gp3orio2multi-AZ volume. FSx for ONTAP Multi-AZ also meets the same requirement. The companion post has the material for that decision: Designing multi-AZ block storage on AWS: write latency, IOPS, and failover measured in Tokyo, and what resync requires
Measurement scope
I measured only the conditions described in each section. The table below lists what I did not measure, with a reason category for each.
| Not measured | Reason category |
|---|---|
| Regions other than Tokyo | Out of scope |
| Operating systems other than Amazon Linux 2023, such as RHEL 9.3 | Time |
| File systems other than XFS | Time |
Snapshot block counts on gp3a | Out of scope (I cite the value the Classmethod post reports) |
Snapshot changes more than 130 minutes after fstrim | Time |
| The effect of a TRIM that does not align to a 512 KiB boundary | Time |
fstrim running at the same time on several volumes, and the IOPS it consumes | Time |
| Performance at IOPS values other than 3,000 | Time |
| Performance of a volume created from a Snapshot | Time |
| The actual bill | Out of scope (the monthly costs are arithmetic on public prices) |
- I confirmed stored data after
fstrimon one 20 GiBgp3a. The control is one 20 GiBgp3on whichfstrimfails - The performance values apply to one condition: 3,000 IOPS provisioned
Steps to check in your own environment
Run these steps on test volumes only.
- List large
gp3volumes withaws ec2 describe-volumes --filters Name=volume-type,Values=gp3. - Read the hourly
VolumeConsumedBytesmetric in the CloudWatchAWS/EBSnamespace for those volumes. The metric appears on bothgp3aandgp3. - Compare the monthly cost of
gp3andgp3awith the formula in "Monthly cost arithmetic". Forgp3astorage, multiply stored data by $0.096 up to 500 GB and by $0.072 above. Multiply all provisioned IOPS and throughput by their prices. - On a test
gp3volume, runaws ec2 modify-volume --volume-id <volume ID> --volume-type gp3a, and confirm that the volume changes without downtime while attached. - Detach and reattach the volume, and confirm that
Attachments[].TrimStateindescribe-volumesisenabled. AWS CLI 2.38.3 did not returnTrimState, and 2.43.0 did (the 2.43.0 result is from the Classmethod post). Check withaws --version, and update the AWS CLI ifTrimStateis missing. - Delete files, run
fstrim, and read the next hourlyVolumeConsumedBytes. In my measurement, it dropped at the point for the hour after the one in whichfstrimran.
Before production, check performance under the production conditions: a volume created from a Snapshot, the same instance, and the same IOPS setting. My performance values come from newly created volumes.
Sources
| Topic | Source |
|---|---|
| Launch of Adaptive Volumes, billing, TRIM default, selection guidance | What's New, product page |
Two-tier gp3a billing, no free baseline, performance and durability | EBS User Guide: General Purpose SSD volumes |
IOPS range (gp3a 1,000 to 80,000, default 3,000) | EC2 API Reference: ModifyVolume |
| Pricing examples, the lower rate above 500 GB | Amazon EBS pricing |
| TRIM for all volume types | What's New |
| TRIM exclusions, 512 KiB granularity, no extra charge, IOPS use, exclusion from Snapshots | EBS User Guide: TRIM |
| TRIM can take several hours, one TRIM takes 1 IOPS, TRIM currently has no effect on existing volume types (read on 2026-12-06) | AWS MGN User Guide: Storage questions |
Classmethod post: VolumeConsumedBytes drops after a delete and fstrim (in Japanese) | Amazon EBS の Adaptive Volumes(gp3a)を試してみた(クラスメソッド) |
Classmethod post: root volume reattach, gp3a Snapshot reduction, DeleteOnTermination change (in Japanese) | Amazon EBS のルートボリュームを gp3 から gp3a へ変更してみた(クラスメソッド) |
| FSx for ONTAP volume thin provisioning, decreasing provisioned SSD | How FSx for ONTAP works |
| Tokyo prices | AWS Price List API (effective 2026-11-01, obtained 2026-12-01) |
The full tables and records are in my GitHub repository. The notes are in Japanese, except the English edition noted below.
- EBS Adaptive Volumes and TRIM (note in my repository, in Japanese)
- When EBS stops being the cheaper answer (note in my repository, English edition)
- EBS multi-AZ volumes and FSx for ONTAP Multi-AZ (note in my repository, in Japanese)
These calculations and checks are my personal testing and do not represent the views of my employer. I used only public documentation and results I confirmed in my own account.
I hope this helps infrastructure engineers reviewing the cost of large, lightly used EBS volumes, and solutions architects comparing the cost of FSx for ONTAP with EBS.
See you next time.
Yoshiki Fujiwara


