All developers or even marketing teams and entrepreneurs who manage a WordPress site, whether low or high access, have experienced problems with slow loading of the site or even that classic when the site goes down due to a high unexpected traffic and shared hosting (poor thing) can't take it. These things happen because shared hosting is nothing more than a server divided into countless parts, and sold partitioned to every company that wants to put a website on the air. This sharing is not very good if your site needs performance, because with all the sites in the same place, the machine (after all, on the other side there is a CPU running the requests) is overused, the memory is constantly being demanded at the limit, and this makes the human being see the light, lol. Yes, that moment when a background music plays, we meditate and ask ourselves: "Why I never put my site on Google Cloud".
Hosting WordPress on Google Cloud can greatly increase the performance of your website, but I must warn you that if you are starting this journey, it can be a challenging task. But don't be discouraged, if your goal is to increase performance without having to work with Google Cloud settings, you may be interested in managed cloud hosting ( read on in this post ).
Before you start, it's nice to know that the AGX é Google Cloud Partners (click here and see us in the partner directory), that is, we are partners and have certifications in Google Cloud and we distribute some tools like the Google workspace. So, you came to take this doubt in the right place.
First of all, now create a free Google Cloud account. After that follow our tutorial on how to install and configure WordPress on Google Cloud in the 3 steps below.
In this tutorial we will follow 3 steps:
- Deploy WordPress on Compute Engine
- Configure the WordPress instance
- Sign in to WordPress
Install WordPress on Compute Engine
Now that you have created your GCP account, let's start creating an instance where you will deploy a WordPress site on Google Cloud using the efficiency setting. This is an instance f1-micro and a 32 GB permanent HDD, at an estimated cost of about $ 6 a month. Yes, no matter how much you pay on your card in your country's currency, the GCP will be calculated in US Dollars.
When entering your panel, click on the menu and go to Marketplace, as shown in the image below:
On the next screen, several applications and CMS will appear to be installed with a few clicks in your new instance. Choice WordPress Certified by Bitnami and Automattic, which is what we indicate (you will see that there are other WordPress options, so see if you are in this module with the same name).
On the next screen, click the button OPEN to start setting up your WordPress instance.
Configure your website instance
In this step of the process, select the fields exactly as shown in the images below so that you can configure them as we suggested at the beginning of the text.
If necessary, modify the configuration of your instance, making sure to change the Neighborhood to represent where users accessing your site are. You can also update the machine type and / or the size of the boot disk in GB of according to your need. Taking into account that in each change the estimated value will change.
In addition to these settings above, see if the settings below are the same. If everything is right, click the button To implement.
Sign in to WordPress
Now that your instance is created and configured, on the next screen you can follow the installation of WordPress files in your instance. At the end of the installation you can see on the screen the link of the panel and the accesses as seen in the image below:
If for some reason you do not write this data down when viewing this screen, there is no problem. To see it again, it is necessary to access that Marketplace area again, as we did in the first step. Right after clicking on YOUR SOLUTIONS:
Click on the created solution, and you will arrive at that same screen where you can see the links and accesses.
Did everything work out step-by-step?
Now that you’re hosting WordPress on the Google Cloud Platform, be sure to check out other great tutorials on what’s on our blog.
If you have general questions or comments about this tutorial, feel free to leave them here
To the next!