In this lab you deploy a WordPress website that can scale with the number of visitors and keeps working when one Availability Zone fails. Every server is private: the only parts of the architecture that the internet can reach are Amazon CloudFront and, through CloudFront only, the Application Load Balancer.

| Layer | AWS services | Subnet |
|---|---|---|
| Entry point | Amazon CloudFront (HTTPS) | – |
| Load balancing | Application Load Balancer, target group | Public subnets (ALB only) |
| Web servers | Amazon EC2 in an Auto Scaling group, launch template, AMI | Private subnets |
| Database | Amazon RDS for MySQL 8.4, Multi-AZ, DB snapshot | Private subnets |
| Management | AWS Systems Manager Session Manager, AWS Secrets Manager, Amazon S3 | Reached through VPC endpoints |
WordPress is a free and open-source content management system written in PHP that uses a MySQL or MariaDB database. It is one of the most popular platforms for building blogs, company websites and online stores.
The lab takes about 90 minutes. Most of the cost comes from the RDS Multi-AZ instance, the interface endpoints and the load balancer, which are charged per hour. Delete all resources in part 7 as soon as you finish.