Skip to content

Instantly share code, notes, and snippets.

@Atalanta
Created April 2, 2011 11:57
Show Gist options
  • Save Atalanta/899438 to your computer and use it in GitHub Desktop.
Save Atalanta/899438 to your computer and use it in GitHub Desktop.
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description" : "Test template that fires up a single FreeBSD instance",
"Parameters" : {
"KeyPair" : {
"Description" : "The EC2 Key Pair to allow SSH access to the instance",
"Type" : "String"
}
},
"Resources" : {
"Ec2Instance" : {
"Type" : "AWS::EC2::Instance",
"Properties" : {
"KeyName" : { "Ref" : "KeyPair" },
"ImageId" : "ami-bfdaeecb"
}
}
},
"Outputs" : {
"InstanceId" : {
"Description" : "The InstanceId of the newly created EC2 instance",
"Value" : { "Ref" : "Ec2Instance" }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment