Add instance store volumes to an EC2 instance during launch
When you launch an instance type with non-NVMe instance store volumes, such as C1, C3, M1, M2, M3, R3, D2, H1, I2, X1, and X1e, you must specify the block device mappings for the instance store volumes that you want to attach at launch. The block device mappings must be specified in the instance launch request or in the AMI used to launch the instance.
If the AMI includes block device mappings for the instance store volumes, you do not need to specify block device mappings in the instance launch request, unless you need more instance store volumes than is included in the AMI.
If the AMI does not include block device mappings for instance store volumes, then you must specify the block device mappings in the instance launch request.
For instance types with NVMe instance store volumes, all of the supported instance store volumes are automatically attached to the instance at launch.
Considerations
-
For M3 instances, you might receive instance store volumes even if you do not specify them in the block device mapping for the instance.
To specify block device mappings in the instance launch request, use one of the following methods.