This repo contains Cloud Formation Templates to deploy infrastructure shown below: a highly available web site on AWS
Udagram.yml contains template to deploy the components of the infrastructure, such as VPC, Internet Gateway, Private and Public Subnets, Application load balancer, Autoscaling group and web servers.
Udagram.json contains parameters that are specified in the template file. The website is accessible via the Application load balancer created.
To deploy any of the templates, use the command below upon successfully logging in to the aws cli
aws cloudformation create-stack \
--stack-name "stackName" \
--template-body file:https://Udagram.yml \
--parameters file:https://Udagram.json \
--region=us-east-1 \
--capabilities "CAPABILITY_IAM" "CAPABILITY_NAMED_IAM"