On this page
For as long as Amazon EBS has existed, a volume has lived in one Availability Zone. If you wanted a database on EC2 to survive the loss of a zone without losing a committed write, you built it yourself: a second instance, replication at the database or block layer, and a cluster manager to decide who is in charge. On 30 November 2026 AWS announced EBS multi-AZ volumes: one volume ID, written synchronously to two zones, with a recovery point objective of zero and a failover you start with one API call.
A synchronous write to a second zone cannot be free. The announcement gives no figure for what it costs, and none for how long a failover takes to the application. So I measured both in Ireland. On a gp3 volume the median 4 KiB write went from 0.96 ms to 1.47 ms. On io2 it went from 0.33 ms to 1.07 ms. A failover made the volume readable in the other zone 2.2 seconds after the API call, with the last acknowledged write on it and nothing after.

The test
One script, run from AWS CloudShell, creates four 100 GiB volumes in one zone: gp3 and io2, each as a single-AZ volume and as a multi-AZ volume with its standby in a second zone. All four have 3,000 IOPS, so they share one ceiling. It launches a c7i.large in each zone, attaches all four volumes to the first instance, and runs fio against each raw device. Then it starts a writer on the multi-AZ gp3 volume and fails the volume over and back while the writer runs.
%%{init: {'theme':'base','themeVariables':{'primaryColor':'#FFF3E0','primaryTextColor':'#232F3E','primaryBorderColor':'#FF9900','lineColor':'#232F3E','clusterBkg':'#F8FAFC','clusterBorder':'#CBD5E1','edgeLabelBackground':'#FFFFFF','nodeTextColor':'#232F3E'}}}%%
flowchart TD
A["Instance in zone 1:
fio, then a writer"] --> V1["gp3 and io2,
single-AZ"]
A --> V2["gp3 and io2, multi-AZ:
active replica in zone 1"]
V2 --> S["Standby replica in zone 2:
every write stored here before it is acknowledged"]
B["Instance in zone 2:
polls the volume for readability"] --> S
style A fill:#FFF3E0,stroke:#FF9900,stroke-width:2px,color:#232F3E
style B fill:#FFF3E0,stroke:#FF9900,stroke-width:2px,color:#232F3E
style V1 fill:#F0FFF4,stroke:#1D8102,stroke-width:2px,color:#145202
style V2 fill:#F0FFF4,stroke:#1D8102,stroke-width:2px,color:#145202
style S fill:#F3E8FF,stroke:#7C3AED,stroke-width:2px,color:#4C1D95Creating a multi-AZ volume is one extra parameter on CreateVolume, and it can only be given at creation. An existing volume is converted by snapshot and restore; ModifyVolume cannot do it. This is the line from the script, where standby is the zone ID of the second zone:
multi = {"MultiAvailabilityZoneConfiguration": {"ConfigurationType": "multi-az-1", "StandbyAvailabilityZones": [standby]}}The same volume was then attached to both instances, which the service allows: the instance in the standby zone sees the device and cannot use it. Before the failover, a read from that instance failed with Remote I/O error.
Write latency
All figures are from fio with direct I/O at queue depth 1, 40 seconds per test, random offsets over a 2 GiB area written beforehand.
| Volume | 4 KiB write, median | 4 KiB write, p99 | 16 KiB write, median | 4 KiB read, median |
|---|---|---|---|---|
| gp3, single-AZ | 0.96 ms | 1.12 ms | 1.07 ms | 0.59 ms |
| gp3, multi-AZ | 1.47 ms | 1.70 ms | 1.58 ms | 0.59 ms |
| io2, single-AZ | 0.33 ms | 0.47 ms | 0.31 ms | 0.35 ms |
| io2, multi-AZ | 1.07 ms | 1.37 ms | 1.14 ms | 0.44 ms |
Replication added 0.50 ms to a gp3 write and 0.74 ms to an io2 write. The ping between the two instances averaged 0.76 ms, with a best case of 0.62 ms. The documentation gives a rule of thumb: the write latency of the single-AZ volume, plus the network round trip between the zones, plus a little overhead. io2 fits it almost exactly, 0.33 plus 0.76 against a measured 1.07. gp3 did better than the rule, adding less than one round trip.
The proportions matter more than the microseconds. The gp3 write got about half as slow again. The io2 write got more than three times slower, because io2 starts so much faster that the trip to the other zone becomes most of the write. If you pay for io2 for its write latency, a multi-AZ io2 volume in this pair of zones writes about as fast as a single-AZ gp3 volume. Reads did not change on gp3. On io2 the median read went from 0.35 to 0.44 ms, which I would want to see repeated before reading anything into it.
One caution on the io2 single-AZ figure. At 0.33 ms per write, queue depth 1 already reaches the 3,000 IOPS the volume was given, so that test was touching its ceiling and the true latency may be a little lower still.
Throughput
Latency and throughput are different questions, and the second one has a calmer answer.
| Volume | Writes per second, one at a time | Writes per second, 16 in flight |
|---|---|---|
| gp3, single-AZ | 1,030 | 3,000 |
| gp3, multi-AZ | 680 | 3,000 |
| io2, single-AZ | 3,000 | 3,000 |
| io2, multi-AZ | 911 | 3,000 |
With 16 writes in flight, all four volumes delivered exactly their provisioned 3,000 IOPS. Replication took nothing away. With one write at a time, the rate is simply one divided by the latency, and it fell by a third on gp3 and by more than two thirds on io2.
That is the whole design consequence in one table. A workload that issues writes in parallel will not notice. A workload that waits for each write before sending the next will, and the classic case is a database commit: one log flush, acknowledged, then the next. Group commit softens it, because many transactions share a flush, but a single session committing row by row is bounded by that first column. An overnight batch that commits each row would take half as long again on multi-AZ gp3. The fix is the usual one, commit in batches, and it is worth doing before the migration and not after.
Failover
Failover is never automatic. You call FailoverVolumes with the volume and the zone its active replica is in, and EBS swaps the roles:
response = ec2.failover_volumes(VolumeId=volume, SourceActiveAvailabilityZoneId=source_zone)While the call was made, the first instance was writing one 4 KiB record after another to the raw device, each one numbered, time-stamped and acknowledged before the next, about 390 a second. The second instance was trying to read the same volume ten times a second.
%%{init: {'theme':'base','themeVariables':{'primaryColor':'#FFF3E0','primaryTextColor':'#232F3E','primaryBorderColor':'#FF9900','lineColor':'#232F3E','signalColor':'#0073BB','signalTextColor':'#0F172A','actorBkg':'#FFF3E0','actorBorder':'#FF9900','actorTextColor':'#232F3E','noteBkgColor':'#FFF8E7','noteBorderColor':'#FF9900','noteTextColor':'#232F3E'}}}%%
sequenceDiagram
participant O as Operator
participant A as Instance, zone 1
participant E as EBS volume
participant B as Instance, zone 2
O->>E: FailoverVolumes
A->>E: Write record 27623
E-->>A: Acknowledged
A->>E: Write record 27624
E-->>A: Remote I/O error
Note over E: Standby promoted, zones swapped
B->>E: Read
E-->>B: Data, last record 27623| Time after the API call | Event |
|---|---|
| 0.41 s | FailoverVolumes returned |
| 0.45 s | Last write acknowledged on the old active instance, record 27623 |
| 0.56 s | Next write on that instance failed with error 121, Remote I/O error |
| 0.83 s | DescribeVolumes showed the zones swapped |
| 2.18 s | The instance in the other zone could read the volume |
| 2.22 s | It found the last record: 27623 |
The recovery point claim held. The last record the writer had been told was safe, 27623, was the last record on the volume in the other zone. Nothing acknowledged was lost, and record 27624, which was refused, was not there. From the last acknowledged write to the first successful read on the other side was 1.7 seconds. AWS says storage failover is designed to finish in under 10 seconds, 99% of the time; this one took about two.
The status fields never moved. Five, twenty and forty seconds after the failover the volume reported in-sync and ready, so it could have been failed over again at once. Forty seconds later I did, back to the first zone: the second instance lost the volume half a second after the call, and the writer on the first instance, which had simply kept retrying, wrote record 27624 at 2.16 seconds. Nobody reattached or rescanned anything. The instance that holds the standby side keeps its device, gets errors while it is the standby, and gets its disk back when the roles swap.
What failover leaves to you
Two seconds is the storage. The application’s recovery time is that plus everything the service does not do, and the documentation is direct about it.
- The decision. EBS does not fail over on its own. Something of yours has to notice trouble and make the call: a runbook, or automation watching stalled I/O and zonal signals. And
FailoverVolumesis not a readiness check; it refuses withFailoverNotReadywhen the standby cannot take over. - The compute. A volume in the other zone is no use without an instance there. Pre-attach one, as this test did, or accept the time to launch one. An Auto Scaling group cannot do this for you: multi-AZ volumes are not supported in Auto Scaling groups, nor on Spot Instances.
- The file system and the database. The standby instance must mount the file system and start the database, which then runs crash recovery exactly as after a power cut. This test wrote to the raw device, so it measured none of that.
- The clients. Traffic has to find the new instance, through DNS or a load balancer.
- Fencing. The storage does this part for you, and it is the part that home-built clusters most often get wrong. The old active instance could not write after the swap. There is no window in which both sides accept writes.
After a failover, the instance that was active does not hang. Its writes fail at once with a Remote I/O error. A database there is likely to see I/O errors on its data files and stop, and a file system may remount read-only; I did not test either. That is correct behaviour, and it means the old side needs a clean restart or a planned shutdown before you fail back to it. Rehearse both directions.
Price
The pricing page examples put multi-AZ at about twice the single-AZ rate: gp3 storage at $0.16 per GB-month against $0.08, io2 at $0.25 against $0.125, and provisioned IOPS doubled as well. The replication traffic between zones is included. The examples do not name a Region, so check your own.
Twice the storage price sounds like a lot until it is set against what it replaces. The alternative is a second instance running a replica, its licence where the software is licensed per instance, and the people who keep a cluster manager healthy. A multi-AZ volume needs no instance in the standby zone at all until the day you fail over. For licensed databases and for software that cannot cluster, that is where the saving is.
Limits
- gp3 and io2 only, on most Nitro-based instances, up to 64 multi-AZ volumes per instance.
- Multi-AZ is chosen at creation and cannot be removed. Converting in either direction goes through a snapshot.
- Not supported: Multi-Attach, Fast Snapshot Restore, Auto Scaling groups, Spot Instances, and the AWS Fault Injection Service, so you cannot use FIS to rehearse it.
- The instance type cannot be changed while a multi-AZ volume is attached. Detach, change, reattach.
- Snapshots are taken from the active zone and do not carry the multi-AZ setting; a volume restored from one is single-AZ unless you ask again.
- If the standby has a problem the volume stays available, with I/O paused for what the documentation calls typically up to about 60 seconds while it goes
out-of-sync. A minute of stalled writes is something to plan timeouts around. - Not available in N. California, Bahrain, UAE, GovCloud or the China Regions.
Recommendation
This is the right tool for a specific job: a stateful workload on EC2, on one instance, that must not lose a committed write when a zone goes, and that cannot or should not be clustered. Licensed commercial databases, older line-of-business systems, and anything brought from a data centre where the SAN did synchronous replication all fit. It is zonal protection inside one Region. It does nothing for a regional outage, and it is not a backup.
- Measure your own pair of zones. The added latency is the round trip between them, and that differs by pair. Ireland gave 0.5 to 0.75 ms here.
- Think twice about multi-AZ io2. Its advantage is write latency, and replication takes most of that away. In this test multi-AZ gp3 at 1.47 ms cost far less than multi-AZ io2 at 1.07 ms. Choose io2 here for its durability or its IOPS, not its speed.
- Find the serial writers. Any job that commits one row at a time will slow by the latency ratio. Batch the commits.
- Build the rest of the failover. A pre-attached standby instance, a tested start-up of the database on it, a way to move clients, and a rule for who decides. The two seconds are only the beginning of your recovery time.
- Use a managed database if you can. If the engine is one RDS or Aurora runs, they already do all of the above. This feature is for what they do not cover.
For clinical and other regulated systems, the result that matters is the first one in the failover table: the last acknowledged write was the last write on the other side. A recovery point of zero is usually what the safety case asks for, and here it can be shown with a test that takes twenty minutes. Put that test in your own validation pack; do not rely on mine.
This launch is in my re:Invent 2026 adopt, pilot and watch list under Pilot, with the latency and the recovery time as the open questions. Both now have a first answer.
A note on testing: I ran the script once from AWS CloudShell in eu-west-1 on 2 December 2026, between the zones euw1-az1 and euw1-az2, on two c7i.large instances with Amazon Linux 2023 and fio 3.32. Each latency figure is one 40-second fio run on a new, empty 100 GiB volume with 3,000 IOPS, written to as a raw device. The failover was done twice, once in each direction, on the gp3 volume only, and the readability check polled ten times a second, so those times are good to about a tenth of a second. I did not test a real zone failure, an impaired standby, io2 failover, a file system or a database on the volume, boot volumes, or larger and faster volumes. Prices and limits are from the AWS pages. Everything the script created was deleted when it finished.
The complete sample for this article is on GitHub: nithinmohantk/blog-samples-working-repo/ebs-multi-az-latency. Clone it with git clone https://github.com/nithinmohantk/blog-samples-working-repo.git and open the ebs-multi-az-latency folder. Its README says how to run it and what has been verified.
References & Further Reading
- → Amazon EBS now supports multi-Availability Zone volumes— The AWS announcement, 30 November 2026
- → Amazon EBS Multi-AZ volumes— User Guide: how replication, failover, monitoring and limits work
- → FailoverVolumes— API reference
- → Amazon EBS Multi-AZ Volumes— Product page: durability figures and the failover design target
- → Amazon EBS pricing— Multi-AZ rates in the pricing examples
- → AWS re:Invent 2026: What to Adopt, Pilot and Watch— Where this launch sits among the others
- → Sample code for this article— The lab script and the recorded output of the run
Discover more from C4: Container, Code, Cloud & Context
Subscribe to get the latest posts sent to your email.