Wordpress in the Cloud on the cheap | S02 E27 | Build On Weekly

How do you get that WordPress website up and running on the cloud?

AWS Admin
Amazon Employee
Published Aug 31, 2023
Last Modified Jun 25, 2024
Screenshot of Rohini and Darko, while Darko is holding a 'for dummies' book
WordPress for Darko
How do you get that WordPress website up and running in the cloud? Do you use an EC2 instance? Do you use containers? Or maybe something completely different. In today's episode, Rohini and Darko are joined by Sophia as we try to achieve this goal in a couple of ways.

WordPress hosted on EC2

First we take a simple approach and set up WordPress on an AWS EC2 instance. This gives a flexibility to approach this problem from many directions, as we have the entire virtual server to ourselves. Today we have decided to host our WordPress website using Docker, specifically Docker Compose. As that allows us to host multiple different WordPress websites (maybe even different versions) on the same server.
Here is the docker-compose.yml file we used for today's deployment:
But make sure to check out the full guide Darko has followed here.

Using Amazon Lightsail

Now, if you really do not wish to bother with an EC2 instance, and just want a WordPress website (but still have all the benefits of running it in the AWS Cloud), look no further than Amazon Lightsail. The place to run your WordPress workloads 👏 And Sophia, not only showed us how to get a WordPress instance running but also how to secure it, and set up automatic updates! Wonderful.
Screenshot of the WordPress creation screen on Amazon Lightsail
Check out the recording here:

Links from today's episode

Reach out to the hosts and guests:

Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.