When creating an AMI through Packer, you’re able to describe what type of devices you want to attach to the device.
launch_block_device_mappings will provide the specified devices during the AMI configuration. Using
ami_block_device_mappings will attach the devices to the server when it launches.
Amazon recommends starting
standard: magnetic disk
io1: Provisioned IOPS on SSD (requires
iopsto be specified.)