Skip to content

Instantly share code, notes, and snippets.

@tamarabartlett
Last active April 19, 2017 23:36
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 tamarabartlett/3aa92c4b71ec4a3ed9dc67cdd1f34df8 to your computer and use it in GitHub Desktop.
Save tamarabartlett/3aa92c4b71ec4a3ed9dc67cdd1f34df8 to your computer and use it in GitHub Desktop.
ec2 instances
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "Create a single EC2 instance in AWS",
"Resources" : {
"InstanceOneStelligentBlog" : {
"Type" : "AWS::EC2::Instance",
"Properties" : {
"InstanceType" : "t1.micro",
"SecurityGroupIds" : ["this-is-the-security-group-output"],
"ImageId" : "ami-7f77b31f",
"KeyName" : "stelligent-blog-test",
"Tags" : [
{"Key" : "Name", "Value" : "StelligentBlog Instance 1"}
]
}
},
"InstanceTwoStelligentBlog" : {
"Type" : "AWS::EC2::Instance",
"Properties" : {
"InstanceType" : "t1.micro",
"SecurityGroupIds" : ["this-is-the-security-group-output"],
"ImageId" : "ami-7f77b31f",
"KeyName" : "stelligent-blog-test",
"Tags" : [
{"Key" : "Name", "Value" : "StelligentBlog Instance 2"}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment