Open AmineChikhaoui opened 6 years ago
Make sure you use the proper NVMe name for the device. This works for me:
deployment.ec2.blockDeviceMapping."/dev/nvme1n1".disk = "vol-00ea207127b3ddb20a";
See also https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html
The deploy process will hang in https://github.com/NixOS/nixops/blob/master/nixops/backends/ec2.py#L543 i.e waiting for the device to be visible in the device filesystem due to the difference in nvme device names.