Overview This blog posts shows how the CloudFlare firewall can increase website security and reduce server resources required to run a WordPress website. Introduction I’ve recently set up a new web server for PTS, an AWS t3a.nano – a virtual server with 0.5GB of RAM and 5% of a processor…
Benchmark AWS A series AMD EPYC EC2 Instances instances : t3a / m5a vs t3/m5 vs t2
EC2 AMD Epyc vs Xeon Introduction The reservation for the t2.nano that powers this and a number of other websites finished this week. Of course I wanted to try the new t3 series EC2 instances which are meant to be both cheaper and faster than t2, and I was curious…
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…
Moving WordPress Between AWS Regions – EC2 and RDS
Moving WordPress Between AWS Regions – EC2 and RDS In previous articles, I’ve described how to set up WordPress in AWS using EC2 and RDS. In this article I’ll describe the steps I took to move the server between regions and get it working again – in my case from…
Fixing WordPress indexes, foreign keys and auto_increment fields
I recently migrated a number of WordPress websites and a custom PHP website from AWS RDS to MySQL on an EC2 instance using the AWS Database Migration Service. I didn’t know beforehand that secondary indexes, foreign keys, and auto_increment fields aren’t migrated – this made a heck of a mess,…
How to Migrate from RDS to MySQL on EC2
Introduction A year ago I moved all my websites to AWS using the free tier, using an EC2 t2.micro and the RDS relational database service. Now that my year of free tier is up I’d like to reduce my costs. I want to migrate from RDS to MySQL on EC2.…
Setting Up Cloudflare CDN and Caching – Part Six – Hosting WordPress on AWS Tutorial
Setting up CloudFlare Free CDN for Website Caching and Security Introduction This multi-part tutorial is a complete guide to setting up WordPress on AWS. In this part of our tutorial we’ll be Setting up CloudFlare, a CDN that will let us distribute resources from our website around the world to…
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…
Migrating WordPress Sites Into AWS – Part Three – 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 helps set up Amazons RDS (Relational Database Service) as required for WordPress, install Wordpress, optionally install WordPress Multisite, and import your current WordPress site into WordPress single or multi site. Links to other parts…