Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 489 Bytes

File metadata and controls

10 lines (8 loc) · 489 Bytes

Simple ec2 in autoscaling 1:1

This template creates an EC2 instance in autoscaling group 1:1 with security group and role associated with them. By default the script create ubuntu 16.04, but changing the AMI it's possible to change it

How to run

aws cloudformation create-stack --profile profile-name --stack-name stack-name --template-body file://ec2.yml --parameters file://ec2-parameters.json --region eu-central-1 --capabilities CAPABILITY_IAM