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

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.…

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…

Hosting WordPress on AWS Tutorial – Part One: Introduction

Introduction This series of articles is a tutorial to help people with Hosting WordPress on AWS. The aim is to help you set up your own WordPress website hosting on a small AWS instance (t2.micro), then migrate your existing WordPress installs into WordPress or WordPress Multisite (WPMU). The aim is for really high performance…