AWS Amazon Web Services

Protecting your Amazon Linux WordPress server using fail2ban and Cloudflare

Servers on the internet are under constant attack, usually from automated scripts trying to make use of your resources. WordPress installations are doubly attacked, because they’re often out of date and are relatively easy to take over. This article describes how to use fail2ban and Cloudflare to protect your Amazon…

Fixing WordPress indexes, foreign keys and auto_increment fields

NB: this article is from 2017. While it is a useful guide, you should validate the process before using it. It may be inaccurate or incomplete as WordPress evolves. Comments in 2024 have indicated it still works, but use it at your own risk! I recently migrated a number of…

Free HTTPS and HTTP2 for WordPress using Lets Encrypt on AWS – Part Five – Hosting WordPress on AWS Tutorial

Introduction This multi-part tutorial is a complete guide to setting up WordPress on AWS. This part of our tutorial we’ll set up HTTPS and HTTP/2 using free Let’s Encrypt certificates, and update WordPress to work on the new URL. Links to other parts of our tutorial Part One, Introduction Part…

WordPress Website Optimization, Nginx Caching and DNS Changes to Go Live – Part Four – Hosting WordPress on AWS Tutorial

Introduction This multi-part tutorial is a complete guide to setting up WordPress on AWS. In this part of our tutorial we’ll set up load testing and benchmarking, we’ll optimize the content delivery, and we’ll change DNS to take the website live. Benchmarking was done with both ab (Apache Bench) and…