In 2021, I created a 6-part series on creating a highly available WordPress site. The goals were:
- Even if a VPS fails, the site will continue to function.
- Any failure will be transparent to the end user. If I come along to example.com and one node is down, I won’t notice any difference.
- Data will not be stale between the nodes. Every user sees the same info.
Back then we used DRBD, MariaDB replication, and OCFS2 to create a two-node environment that was durable and resistant to single points of failure.
Now it’s 2024 and it’s time for an update. The 2021 architecture still works fine, but we’re going to take a different approach this time around to leverage some different technologies. We’re also going to leverage Ansible for automation.
Here’s our stack:
- Nginx and php-fpm
- GlusterFS for the filesystem (instead of DRBD/OCFS2)
- MariaDB Galera for database high availability
- Round-robin DNS again
- Let’s Encrypt for https
- Ansible to make deployment simpler
Here’s how it’ll look when we’re done:
Last time around I used Linode but since they’re not around any more (I mean, they are, but they’ve rebranded), For this tutorial, I’ll be using VPSes in Hetzner’s Hillsboro, Oregon location.
Here’s the outline we’ll follow:
Part 1 – Introduction, Considerations, and Architecture (this article)
Part 2 – Ordering the VPSes
Part 3 – Ansible
Part 4 – Gluster
Part 5 – WordPress install
Part 6 – MariaDB Multi-Master
Part 7 – Round-Robin DNS, Let’s Encrypt, & Conclusion
We’re dropping one tutorial every day, so come back tomorrow to get started!
Related Posts:
Has Matt Mullenweg of WordPress Actually Lost His Mind?
Mullenweg, Former Part Owner of WP-Engine, and His WordPress Checkbox of Doom
CloudLinux Enhances WordPress Support and Commits to Five for the Future Initiative
Automattic's $32 Million Annual Demand: The High Stakes of Using the WordPress Trademark
LowEndBoxTV: Stop Losing Your WordPress Data! Backup Your WordPress Easily for FREE!
WordPress v. WP-Engine Thermonuclear War, and Every Linux Box is About to be Hacked
- Dropbear in 2025: Still the LowEnd SSH Server of Choice? - January 20, 2025
- “OMG! I Never Knew That!”: The Simply Linux Tip That Has Got Me More Thanks Than Anything I’ve Ever Shared in 30+ Years - January 19, 2025
- Bluesky has Flopped: How Mashable is Lying To You - January 18, 2025
Leave a Reply