Mounting a NVME disk on AWS EC2

前端 未结 4 539
后悔当初
后悔当初 2021-01-30 17:25

So I created i3.large with NVME disk on each nodes, here was my process :

  1. lsblk -> nvme0n1 (check if nvme isn\'t yet mounted)
  2. sudo mkfs.ext4 -E nodiscar
4条回答
  •  春和景丽
    2021-01-30 18:11

    You may find useful new EC2 instance family equipped with local NVMe storage: C5d.

    See announcement blog post: https://aws.amazon.com/blogs/aws/ec2-instance-update-c5-instances-with-local-nvme-storage-c5d/

    Some excerpts from the blog post:

    • You don’t have to specify a block device mapping in your AMI or during the instance launch; the local storage will show up as one or more devices (/dev/nvme*1 on Linux) after the guest operating system has booted.
    • Other than the addition of local storage, the C5 and C5d share the same specs.
    • You can use any AMI that includes drivers for the Elastic Network Adapter (ENA) and NVMe
    • Each local NVMe device is hardware encrypted using the XTS-AES-256 block cipher and a unique key.
    • Local NVMe devices have the same lifetime as the instance they are attached to and do not stick around after the instance has been stopped or terminated.

提交回复
热议问题