How To Deploy WordPress In Google Cloud Platform

Google Cloud Platform offers a suite of cloud computing services which allows you to do many things. You can use it to build web applications, build websites, manage data and more other useful things.

But what about WordPress? Can Google Cloud Platform be used to create a WordPress website?

The answer is, Yes.

One of the first step that is involved to create a WordPress website with Google Cloud Platform is deploying WordPress.

Here I will show you how to properly deploy WordPress with Google Cloud Platform

To get started, you will need to have a Google Cloud Platform account.

Once you already have an account, you will need to log in and create a new project.

To create a new project, click on the select a project navigation at the top bar.

Doing so, a popup will appear with a list of all the projects you have deployed. If you don’t have any projects yet, there wouldn’t be any list.

Here, click on the New Project option.

On the project creating page, give a name for the project and followed by clicking on the Create button.

Next, access the project. To access the project, you will once again need to click on the Select a project navigation at the top bar.

The popup will appear and you will see the project which you have created. Simply click on it.

You will then be brought to the project information details area which look like the following screen.

Here, expand the navigation menu and click on the Marketplace option.

After that, search for WordPress using the search engine.

You will then be greeted with many WordPress options. Look specifically for WordPress by Bitnami and click on it.

On the following screen, click on the Launch On Compute Engine button.

Next, you will need to input the deployment details such as the name, the zone, the machine type, the disk type, the disk storage space and so on.

Here’s how I set it up.

Here’s the explanation for the above.

  • Deployment name – It can be anything, so I set it to wordpresswordatom
  • Zone – This is the data center location. I chose it to be europe-west2-a which translates to London. You can find out more on the location details here
  • Machine type – This is the server type. The more powerful the server, the more you will need to pay. I chose the micro server because it’s the cheapest
  • Boot disk type – This is the storage disk type. There are two types offered. SSD performs better which is why I chose it
  • Boot disk size – This is the storage size. I set it at 10GB

And the rest are auto configured. In other words, do not make any changes to the other options.

Click on Deploy to proceed.

Do take note that it will take sometime for WordPress to be deployed. For me, it took roughly two minutes.

Once it’s deployed, you will see the following screen where it contains the WordPress site address, admin URL, admin user and admin password.

All you need to do is click on the Log into the admin panel button and you will be redirected to the WordPress login page.

Next, log into your new WordPress installation by making use of the admin user and password details provided.

What’s next?

Connect a domain name to your new WordPress installation. See our tutorial here on how to do it.