This project aims at building an high available wordpress web application hosted in AWS using Terraform. The infrastracture schema is represented in this picture (Amazon CloudFront and Route 53 will not be considered):
To create this scalable, HA web application we will use various AWS services, here divided into terraform modules:
The networking module is based on the vpc module, which with few lines of code builds up a VPC, configures subnets, the internet gateway and route tables.
The data module builds the following components:
The application module builds the following components:
The repo takes inspiration from this AWS workshop which deploys the same infrastructure using the AWS console.