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?
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.
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:
# We use a mariadb image which supports both amd64 & arm64 architecture
# If you really want to use MySQL, uncomment the following line
But make sure to check out the full guide Darko has followed here.
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.
Check out the recording here:
- Cost Optimization space
- Amazon Lightsail
- Running WordPress on Lightsail
- Sophia's guides on moving to the cloud 🌤️
- WordPress Best practices doc
Reach out to the hosts and guests: