Series: Create a Multi-Tier Auto-Scaling WordPress Site on Amazon Web Services

Written by Raz

Raz Rahman is an IT Management Professional working for a Fortune 20 Company. He has built successful Engineering and Operations teams supporting critical workloads both on-premise and in the Cloud. He has a passion for all things web and specializes in WordPress Hosting on AWS. When not thinking about technology, Raz loves all things Disney, bears (the animal), and BBQ!

December 12, 2020

Thank you for checking out this post!  Please note that the information is provided for general informational and educational purposes only and is not a substitute for professional advice.  If you have any questions or concerns, please leave a comment on the post!

It is very quick and easy to get started with WordPress on Amazon Web Services (AWS). If you want to be up and running for a small blog or test site in less than 10 minutes, check out our post on standing up WordPress on a Bitnami Stack on AWS Lightsail.

There are times when you need a more robust solution. One that can deal with high traffic situations, such as a viral blog post or seasonal web site volume, or maybe you need as many 9’s as possible for website uptime. In that case, you are going to want to stand up a Multi-Tier Auto-Scaling WordPress Site on Amazon Web Services (AWS). We will configure things manually so that you get an understanding of each component and what it does. At the very end, we will automate the full set up so that you can replicate it as many times as you need to. We will follow the AWS Reference architecture closely, with some subtle differences for ease of getting details into blog posts.

We will cover each step of the way and use various AWS Services such as VPC, EC2, RDS, EFS, S3, CloudFront, ElastiCache, and more!

Scalability does come with some drawbacks with regard to keeping themes/plugins up to date; however, it all depends on your goal and what you need for your site. The way you’ve traditionally managed WordPress will be different with this architecture and that needs to be taken into account long-term.

Please note that we are going to put the whole WordPress installation on EFS which does have some latency and performance concerns. We will try to overcome this with caching and CDN; however, if that’s not performant enough for your use case, you may want to only put the “uploads” directory on EFS and then have a process to update the base AMI going forward.

Follow along as we go through this journey together.

  1. Create an AWS Certificate in AWS Certificate Manager
  2. Create a VPC on AWS
  3. Create Security Groups
  4. Create your EFS Volume
  5. Create your ElastiCache Cluster
  6. Create your database on RDS
  7. Create a Bastion Host
  8. Create an EC2 Instance, and Install OpenLiteSpeed and WordPress
  9. Create an Amazon Machine Image (AMI)
  10. Create Elastic Load Balance (ELB) and Configure Auto-Scaling Group

You May Also Like…

0 Comments

Trackbacks/Pingbacks

  1. Create an AWS Certificate in AWS Certificate Manager - Razib Rahman - […] This post is part of our series on how to Create a Multi-Tier Auto-Scaling WordPress Site on Amazon Web…
  2. Create Security Groups on AWS - Razib Rahman - […] post is part of our series on how to Create a Multi-Tier Auto-Scaling WordPress Site on Amazon Web Services.…

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.