How to approach the deployment of our infrastructure
First, as we have already mentioned, WordPress runs on top of PHP and MySQL; to be more explicit, it has the following requirements:
- A piece of web server software such as Apache or NGINX
- PHP version 7.4 or greater
- MySQL version 5.7 or greater, or MariaDB version 10.3 or greater
Information
Please note that, at the time of writing, PHP 8 only has beta support in WordPress version 6.1; because of this, we will be installing PHP 7 in our example deployment.
Deployment considerations
So, we know from our requirements that we are going to need a web server and PHP installed on something, while all the cloud services we are going to be looking at in the next two chapters offer some sort of application hosting as a service. For our project, we are going to use virtual machine instances running Ubuntu.
Rather than launching a single host, which would be a single point of failure, let’s look at launching...