Amazon Elastic Block Retailer (Amazon EBS) io2 and io2 Block Specific volumes now help storage fencing utilizing NVMe reservations. As I discovered whereas penning this submit, storage fencing is used to control entry to storage for a compute or database cluster, making certain that only one host within the cluster has permission to put in writing to the quantity at any given time. For instance, you’ll be able to arrange SQL Server Failover Cluster Cases (FCI) and get increased 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 fulfill the wants of essentially the most demanding I/O-intensive purposes operating on Nitro-based Amazon Elastic Compute Cloud (Amazon EC2) situations. Volumes could be as large 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 help different superior EBS options together with encryption and Multi-Connect, and could be reprovisioned on-line with out downtime. To be taught extra, you’ll be able to learn Amazon EBS io2 Block Specific Volumes with Amazon EC2 R5b Cases Are Now Typically Accessible.
To utilize reservations, you merely create an io2 quantity with Multi-Connect enabled, after which connect it to a number of Nitro-based EC2 situations (see Provisioned IOPS Volumes for a full listing of supported occasion sorts):
You probably have current io2 Block Specific volumes, you’ll be able to allow reservations by detaching the volumes from all the EC2 situations, after which reattaching them. Reservations will probably be enabled as quickly as you make the primary attachment. If you’re 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 Cases.
Issues to Know
Listed below are a few issues to bear in mind concerning NVMe reservations:
Working System Help – 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 be taught 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.
Expenses – There are not any extra expenses for this characteristic. Every reservation counts as an I/O operation.