Amazon Elastic Block Retailer (Amazon EBS) io2 and io2 Block Specific volumes now assist storage fencing utilizing NVMe reservations. As I realized whereas penning this publish, storage fencing is used to manage entry to storage for a compute or database cluster, guaranteeing that only one host within the cluster has permission to write down to the amount at any given time. For instance, you possibly can arrange SQL Server Failover Cluster Situations (FCI) and get greater utility availability inside a single Availability Zone with out the necessity for database replication.
As a fast refresher, io2 Block Specific volumes are designed to satisfy the wants of probably the most demanding I/O-intensive functions operating on Nitro-based Amazon Elastic Compute Cloud (Amazon EC2) cases. Volumes may be as huge as 64 TiB, and ship SAN-like efficiency with as much as 256,000 IOPS/quantity and 4,000 MB/second of throughput, all with 99.999% sturdiness and sub-millisecond latency. The volumes assist different superior EBS options together with encryption and Multi-Connect, and may be reprovisioned on-line with out downtime. To study extra, you possibly can learn Amazon EBS io2 Block Specific Volumes with Amazon EC2 R5b Situations Are Now Typically Obtainable.
To utilize reservations, you merely create an io2 quantity with Multi-Connect enabled, after which connect it to a number of Nitro-based EC2 cases (see Provisioned IOPS Volumes for a full listing of supported occasion varieties):
If in case you have current io2 Block Specific volumes, you possibly can allow reservations by detaching the volumes from the entire EC2 cases, after which reattaching them. Reservations will likely be enabled as quickly as you make the primary attachment. In case you are operating Home windows Server utilizing AMIs data-stamped 2023.08 or earlier you will want to put in the aws_multi_attach driver as described in AWS NVMe Drivers for Home windows Situations.
Issues to Know
Listed here are a few issues to bear in mind relating to NVMe reservations:
Working System Assist – You should utilize NVMe reservations with Home windows Server (2012 R2 and above, 2016, 2019, and 2022), SUSE SLES 12 SP3 and above, RHEL 8.3 and above, and Amazon Linux 2 & later (learn NVMe reservations to study extra).
Cluster and Quantity Managers – Home windows Server Failover Clustering is supported; we’re at the moment working to qualify different cluster and quantity managers.
Fees – There are not any further fees for this characteristic. Every reservation counts as an I/O operation.