I am trying to launch an EC2 Instance with CloudFormation that uses ephemeral / instance storage rather than EBS.
I have managed this with Opsworks - so that in the EC2 management window "root device" is not ebs. I have yet to figure out how to do this with a CloudFormation template.
I have a feeling it has something to do with BlockDeviceMappings but have not figure it out yet. Closest discussion to what I want to do I found here: https://forums.aws.amazon.com/message.jspa?messageID=243921
Can someone supply a CloudFormation template snippet to launch a ephemeral storage based instance?
Other parts of the docs that seem useful:
- http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-template.html
- http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-mapping.html
- http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html
- http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-ec2.html