In this recipe, we will create a production-ready web application infrastructure with CloudFormation. The architecture will look like the following diagram:
Creating a production-ready web application infrastructure using CloudFormation
Getting ready
To achieve the preceding infrastructure, you need to clone this repository https://github.com/awsstar/CloudFormation-WebApp-Architecture.git. Post that, you have to create stack with it. The template will create the following AWS resources:
- Amazon IAM
- Amazon VPC
- Amazon EC2
- Amazon ELB
- Amazon AutoScaling
- Amazon CloudFront
- Amazon RDS
- Amazon S3
- Amazon Cloudwatch
- Amazon Route53
- Amazon Security Group & NACL
Before creating stack with the template, you should have following things...