Skip to content

Instantly share code, notes, and snippets.

@agentbond007
Created February 3, 2017 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agentbond007/117e97167d2b3e0cf662cefd7b010ba3 to your computer and use it in GitHub Desktop.
Save agentbond007/117e97167d2b3e0cf662cefd7b010ba3 to your computer and use it in GitHub Desktop.
AWS Cloudformation - EC2 instance with Ephemeral Drives
"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"
}
]
}
}
@agentbond007
Copy link
Author

AWS Template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment