In this lab you deploy WordPress on AWS with a fully private architecture. The web servers (Amazon EC2) and the database (Amazon RDS for MySQL) run in private subnets and have no public IP addresses. The only component that faces the internet is the Application Load Balancer, and users reach it through Amazon CloudFront over HTTPS.

Amazon CloudFront is a content delivery network (CDN) service. In this lab it gives the site an HTTPS address and is the only source that the load balancer accepts traffic from.
The Application Load Balancer receives HTTP requests and distributes them to the healthy EC2 instances registered in the target group.
An Auto Scaling group is a group of EC2 instances that are launched from the same launch template. It replaces unhealthy instances and can add or remove instances according to a scaling policy.
Amazon RDS is a managed relational database service. With a Multi-AZ deployment, RDS keeps a synchronous standby copy of the database in another Availability Zone and fails over to it automatically.
VPC endpoints let resources in private subnets reach AWS services without going through the internet. A gateway endpoint is used for Amazon S3, and interface endpoints are used for Systems Manager and Secrets Manager.