Amazon EBS volumes and NVMe
Amazon EBS volumes are exposed as NVMe block devices on Amazon EC2 instances built on the AWS Nitro System. To fully utilize the performance and capabilities of Amazon EBS volumes exposed as NVMe block devices, the EC2 instance must have the AWS NVMe driver installed. All current generation AWS Windows and Linux AMIs come with the AWS NVMe driver installed by default.
If you use an AMI that does not have the AWS NVMe driver, you can manually install it. For more information, see AWS NVMe drivers in the Amazon EC2 User Guide.
Linux instances
The device names are /dev/nvme0n1
, /dev/nvme1n1
,
and so on. The device names that you specify in a block device mapping are renamed using
NVMe device names (/dev/nvme[0-26]n1
). The block device driver can assign NVMe device names in a
different order than you specified for the volumes in the block device mapping.
Windows instances
When you attach a volume to your instance, you include a device name for the volume. This device name is used by Amazon EC2. The block device driver for the instance assigns the actual volume name when mounting the volume, and the name assigned can be different than the name that Amazon EC2 uses.