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.