EBS Multi-AZ Volumes: Synchronous Cross-AZ Replication for gp3 and io2

本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。

EBS Multi-AZ Volumes: Synchronous Cross-AZ Replication for gp3 and io2

TL;DR EBS gp3 and io2 volumes can now synchronously write to a standby copy in a second AZ, with a zero RPO and a one-call failover. For anyone running stateful EC2 workloads who currently builds cross-AZ replication by hand. Launched 30 Nov 2026 in “the majority” of Regions; exclusions are in the docs. us-east-1 prices are exactly double single-AZ gp3 (as of 1 Dec 2026). Watch: failover is manual, and ASGs and Spot are not supported. My view: a strong option for pet servers and licensed databases. Not a reason to skip backups.

简而言之,EBS gp3 和 io2 卷现在可以同步写入第二个可用区(AZ)的备用副本,实现零 RPO(恢复点目标)和一键式故障转移。这适用于目前手动构建跨可用区复制的有状态 EC2 工作负载用户。该功能于 2026 年 11 月 30 日在“大多数”区域推出;具体排除区域请参阅文档。截至 2026 年 12 月 1 日,us-east-1 的价格正好是单可用区 gp3 的两倍。注意:故障转移是手动的,且不支持自动伸缩组(ASG)和竞价实例。我的观点是:这是宠物服务器和许可数据库的一个强力选项,但不能作为跳过备份的理由。

The facts

Amazon EBS now writes every block to two Availability Zones at once for gp3 and io2, going by the launch post. You pick a standby AZ, keep using the normal EBS APIs, and trigger failover with one API call.

根据发布公告,Amazon EBS 现在会将 gp3 和 io2 的每个数据块同时写入两个可用区。您可以选择一个备用可用区,继续使用常规的 EBS API,并通过一次 API 调用触发故障转移。

How it works

A multi-AZ volume has one volume ID, an active replica and a standby replica. Per the docs, EBS acknowledges a write only after both replicas hold it. Your instance reads and writes against the active replica. The standby does not serve I/O until you fail over. Replication happens in the EBS layer, so it does not care about your OS or hypervisor, and you do not need an instance in the standby AZ.

多可用区卷拥有一个卷 ID、一个活动副本和一个备用副本。根据文档,EBS 仅在两个副本都接收到写入后才会确认写入成功。您的实例针对活动副本进行读写操作。在故障转移之前,备用副本不提供 I/O 服务。复制发生在 EBS 层,因此它不依赖于您的操作系统或虚拟机管理程序,您也不需要在备用可用区中运行实例。

Failover is a button you press

This is the part to read twice. EBS does not fail over automatically. The docs say you call FailoverVolumes, either for one volume or for every multi-AZ volume attached to an instance whose active replica is in that instance’s AZ. The instance-level version is crash-consistent across the volumes: all fail over or none do. After failover the active and standby AZs swap.

这是需要仔细阅读的部分。EBS 不会自动进行故障转移。文档指出,您需要调用 FailoverVolumes,可以针对单个卷,也可以针对挂载到实例的所有多可用区卷(前提是其活动副本位于该实例所在的可用区)。实例级别的操作在多个卷之间保持崩溃一致性:要么全部故障转移,要么全部不转移。故障转移后,活动可用区和备用可用区会进行互换。

Limits and gaps

From the docs’ considerations section: Not supported: Multi-Attach, NVMe reservations, Fast Snapshot Restore, copy volume, Fault Injection Service, Auto Scaling groups, Spot Instances, managed instances, and CreateReplaceRootVolumeTask. p6e-gb300 instances are not supported. Most other Nitro instances are. You cannot change instance type while multi-AZ volumes are attached. Detach, change, reattach.

根据文档的注意事项部分:不支持多重挂载(Multi-Attach)、NVMe 预留、快速快照恢复、卷复制、故障注入服务(FIS)、自动伸缩组、竞价实例、托管实例以及 CreateReplaceRootVolumeTask。不支持 p6e-gb300 实例,但大多数其他 Nitro 实例均支持。在挂载多可用区卷时,您无法更改实例类型。必须先卸载、更改类型,然后再重新挂载。

AWS Elastic Disaster Recovery support

AWS also announced that AWS DRS supports these volumes. The split is clean: mul

AWS 还宣布 AWS DRS(弹性灾难恢复)支持这些卷。其划分非常明确:mul