Enhanced SSDs (ESSDs) that support the Non-Volatile Memory Express (NVMe) protocol are called NVMe disks. NVMe disks can be simultaneously attached to multiple Elastic Compute Service (ECS) instances that support NVMe for data sharing. This topic describes the limits of NVMe disks and related operations.
- The device names of the NVMe disks are displayed in the
/dev/nvmeXn1format. Examples: /dev/nvme0n1, /dev/nvme1n1, and /dev/nvme2n1.
- The partition names of the NVMe disks are displayed in the
<Device name of the disk>p<Partition number>format. Examples: /dev/nvme0n1p1, /dev/nvme1n1p1, and /dev/nvme1n1p2.
The multi-attach feature allows you to attach a single NVMe disk to up to 16 ECS instances that support the NVMe protocol at the same time. For information about how to enable the multi-attach feature for NVMe disks, see Enable multi-attach.
|The instance family must support NVMe by default. Currently, the g7se, c7se, r7se, c8y, g8y, r8y, g8ae, c8ae, and r8ae instance families support NVMe. For more information, see Overview of instance families.
Note You can call the DescribeInstanceTypes operation to query instance families and check the NvmeSupport response parameter to determine whether an instance family supports NVMe.
|The image must contain the NVMe driver. The NVMe driver is pre-installed in the following public images.
Note Only specific Linux and Windows public images support the NVMe driver.
NVMe is provided free of charge. You are charged for resources that support NVMe based on their individual billing methods. For more information about the billing of ECS resources, see Billing overview.
The following table describes the operations that you can perform on NVMe disks.
|Create an ECS instance that supports NVMe
|When you create an ECS instance that supports NVMe, you can create ESSDs along with the instance. These ESSDs are NVMe disks.
|Create an instance by using the wizard
|Enable the multi-attach feature for an NVMe disk
|When you separately create an ESSD, you can enable the multi-attach feature and attach the ESSD to multiple ECS instances that support NVMe.
|Partition and format an NVMe disk
|NVMe disks created along with instances can be partitioned and formatted.
Important The operations are applicable only to ESSDs that are created along with instances and not to ESSDs for which the multi-attach feature is enabled.
|Resize an NVMe disk
|If the disk space of an NVMe disk is insufficient, you can resize the disk online to extend it capacity.
|Resize disks online for Linux and Windows instances