Skip to content

Instantly share code, notes, and snippets.

@takakabe
Created October 3, 2017 10:40
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 takakabe/625ce28541fa19ec75b92affd69a6b40 to your computer and use it in GitHub Desktop.
Save takakabe/625ce28541fa19ec75b92affd69a6b40 to your computer and use it in GitHub Desktop.
CloudFormation
Resources:
Instance:
Type: "AWS::EC2::Instance"
Properties:
AvailabilityZone: "ap-northeast-1a"
ImageId: "ami-4af5022c"
InstanceType: "t2.micro"
KeyName: "キーペア名"
SecurityGroupIds:
- "sg-XXXXXXX"
- "sg-YYYYYYY"
SubnetId: "subnet-XXXXXXXX"
Tags:
- Key: "Name"
Value: "wawawa"
- Key: "testtag"
Value: "testes"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment