liveBook · Manning

WordPress

As explained in Amazon Web Services in Action, Third Edition: An in-depth guide to AWS

WordPress is an open-source content management system for creating and serving websites and web applications.

WordPress is an open-source content management system written in PHP. It stores posts, comments, and other content in MySQL, while uploads, plugins, themes, and application files remain on disk. section 2.0 section 2.2.3

A highly available AWS deployment places an Application Load Balancer in front of at least two EC2 web servers. RDS for MySQL stores database content, EFS shares files across servers, and security groups restrict network traffic. section 2.1

A practical WordPress proof of concept uses:

  • An Application Load Balancer that routes HTTP or HTTPS requests only to healthy web servers. section 2.1
  • Amazon Linux or another supported operating system running Apache, PHP, and WordPress on EC2. section 2.1
  • RDS for MySQL, sized for the workload, with AWS-managed backups, patches, updates, and optional replication. section 2.1 section 2.2.3
  • EFS for shared application files, uploads, plugins, and themes that every web server must access. section 2.1 section 2.2.3
  • Security groups that expose HTTP at the load balancer and limit database access to the web servers. section 2.1

Blog migration proof of concept

A company serving roughly 1,000 daily visitors can recreate its blog on AWS, estimate monthly infrastructure costs, evaluate a 99.99% uptime goal, and delete the stack afterward. A small RDS instance with one virtual CPU and 1 GB of memory is described as sufficient for this workload. section 2.0 section 2.2.3

Figure 2.1 The company’s blogging infrastructure consists of two load-balanced web servers running WordPress, a network filesystem, and a MySQL database server.

Use the architecture figure to trace traffic from the load balancer through two WordPress web servers to shared files and the MySQL database. section 2.1

How Amazon Web Services in Action, Third Edition: An in-depth guide to AWS covers it

How deep it goes
Explains the component architecture and setup roles, but defers deeper database and scaling treatment to later coverage.
Examples
Uses a 1,000-visitor-per-day company blog with two web servers, shared uploads, a small MySQL instance, and a costed proof of concept.
What you can do after
Operate/configure a load-balanced WordPress deployment with EC2, RDS for MySQL, EFS, security groups, and cleanup procedures.
How it connects
Connects WordPress with PHP, MySQL, EC2, Application Load Balancer, RDS, EFS, security groups, and high availability.

Also explained in

Compare how 2 books explain WordPress →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Amazon Web Services in Action, Third Edition: An in-depth guide to AWS. The section links point to the parts of the book it draws on.