Skip to content

Instantly share code, notes, and snippets.

@takakabe takakabe/ec2_create
Created Oct 3, 2017

Embed
What would you like to do?
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
You can’t perform that action at this time.