With Nitro-based instances, EBS volumes are exposed as NVMe devices. This topic explains how to view the NVMe disks that are available to the Windows operating system on your instance. It also shows how to map those NVMe disks to the underlying Amazon EBS volumes and the device names specified for the block device mappings used by Amazon EC2.
List NVMe disks
You can find the disks on your Windows instance using Disk Management or Powershell.
To find the disks on your Windows instance
-
Log in to your Windows instance using Remote Desktop. For more information, see Connect to your Windows instance using RDP.
-
Start the Disk Management utility.
-
Review the disks. The root volume is an EBS volume mounted as
C:\
. If there are no other disks shown, then you didn't specify additional volumes when you created the AMI or launched the instance.The following is an example that shows the disks that are available if you launch an
r5d.4xlarge
instance with two additional EBS volumes.
Map NVMe disks to volumes
You can use the Get-Disk
PS C:\>
Get-Disk
Number Friendly Name Serial Number HealthStatus OperationalStatus Total Size Partition Style ------ ------------- ------------- ------------ ----------------- ---------- ---------- 3 NVMe Amazo... AWS6AAD8C2AEEE1193F0_00000001. Healthy Online 279.4 GB MBR 4 NVMe Amazo... AWS13E7299C2BD031A28_00000001. Healthy Online 279.4 GB MBR 2 NVMe Amazo... vol0a4064b39e5f534a2_00000001. Healthy Online 8 GB MBR 0 NVMe Amazo... vol03683f1d861744bc7_00000001. Healthy Online 30 GB MBR 1 NVMe Amazo... vol082b07051043174b9_00000001. Healthy Online 8 GB MBR
You can also run the ebsnvme-id command to map NVMe disk numbers to EBS volume IDs and device names.
PS C:\>
C:\PROGRAMDATA\Amazon\Tools\ebsnvme-id.exe
Disk Number: 0 Volume ID: vol-03683f1d861744bc7 Device Name: sda1 Disk Number: 1 Volume ID: vol-082b07051043174b9 Device Name: xvdb Disk Number: 2 Volume ID: vol-0a4064b39e5f534a2 Device Name: xvdc