Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "Sample Amazon Linux x86_64 using CloudFormation",
"Parameters" : {
"KeyName" : {
"Description" : "some-key",
"Type" : "String"
}
},
"Mappings" : {
"RegionMap" : {
"us-east-1" : { "64" : "ami-1b814f72" }
}
},
"Resources" : {
"Ec2Instance" : {
"Type" : "AWS::EC2::Instance",
"Properties" : {
"ImageId" : { "Fn::FindInMap" : [ "RegionMap", { "Ref" : "AWS::Region" }, "64" ]},
"SecurityGroups" : [ "cloudfoundry" ],
"KeyName" : { "Ref" : "KeyName" },
"InstanceType" : "m1.large"
}
}
},
"Outputs" : {
"InstanceId" : {
"Value" : { "Ref" : "Ec2Instance" },
"Description" : "Instance Id of newly created instance"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.