{"id":1943,"date":"2021-12-11T16:00:55","date_gmt":"2021-12-11T16:00:55","guid":{"rendered":"https:\/\/benfreke.org\/?p=1943"},"modified":"2021-12-12T11:03:23","modified_gmt":"2021-12-12T11:03:23","slug":"hosting-wordpress-on-aws","status":"publish","type":"post","link":"https:\/\/wordpress.benfreke.org\/2021\/12\/11\/hosting-wordpress-on-aws\/","title":{"rendered":"Hosting WordPress on AWS"},"content":{"rendered":"\n

This site runs on AWS, using CloudFront, ECS, RDS and EFS (among other services). Here’s how I built it.<\/p>\n\n\n\n\n\n\n\n

This site is on WordPress – as much as this isn’t ideal anymore, until I come to completely rebuild it and all the other sites I run, it’ll have to do. As such, I wanted to switch it to a highly available setup in AWS (previously it was running on a single server hosting both Apache and MySQL with no automated backups [shudder]<\/em>).<\/p>\n\n\n\n

This is all deployed via Terraform and GitHub Actions.<\/p>\n\n\n\n

The configuration is stored in GitHub<\/a>.<\/p>\n\n\n\n

Architecture<\/h2>\n\n\n\n
\"\"<\/figure>\n\n\n\n

Here were my requirements:<\/p>\n\n\n\n