wmturner / simple-ec2-cloudformation-template

Cloudformation for create an ec2 instance in autoscaling 1:1 configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Cloudformation for create an ec2 instance in autoscaling 1:1 configuration