Created
February 3, 2017 05:37
-
-
Save agentbond007/117e97167d2b3e0cf662cefd7b010ba3 to your computer and use it in GitHub Desktop.
AWS Cloudformation - EC2 instance with Ephemeral Drives
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Ec2Instance" : { | |
"Type" : "AWS::EC2::Instance", | |
"Properties" : { | |
"ImageId" : { "Fn::FindInMap" : [ "AWSRegionArch2AMI", { "Ref" : "AWS::Region" }, "PV64" ]}, | |
"KeyName" : { "Ref" : "KeyName" }, | |
"InstanceType" : "m1.small", | |
"SecurityGroups" : [{ "Ref" : "Ec2SecurityGroup" }], | |
"BlockDeviceMappings" : [ | |
{ | |
"DeviceName" : "/dev/sdc", | |
"VirtualName" : "ephemeral0" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AWS Template