This repo contains Cloud Formation Templates to deploy infrastructure shown below: a highly available web site on AWS
- Network-infrastructure.yml && network-parameters.json contains template and parameters to deploy the networking components of the infrastructure, such as VPC, Internet Gateway, Private and Public Subnets, etc.
- Server-Infrastructure && server-parameters.json contains template and parameters to deploy the server components, such as the Application load balancer, Autoscaling group and web servers.
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://network-infrastructure.yml \
--parameters file://network-parameters.json \
--region=us-east-1 \
--capabilities "CAPABILITY_IAM" "CAPABILITY_NAMED_IAM"