Most people should already know about the Google Cloud platform. But they might don’t know how to host WordPress on Google cloud. So this tutorial is especially designed for those who want to learn how to host WordPress on Google Cloud. Because Google Cloud provides $300 credits for the first year, so you should avail this opportunity to try out their cloud based services. Here you will get free cloud hosting for a whole year for almost free. So if you’re interested to know more then keep on reading

Cloud hosting platforms are gaining much popularity these days. And the reason behind is the speed and quality. This type of hostingt is very useful especially to host multiple sites on a single cloud server. But not everyone can afford the hosting charges especially beginners who are just starting out.

This tutorial can be very beneficial for the beginners or those who couldn’t pay hosting charges. Anyway, here in this tutorial I will guide you step by step to properly configure your Google Cloud account to host WordPress website.


Before starting, I would like to clarify that the solution is beneficial for small websites with light traffic. As your website begins to gain popularity you’re gonna have to pay a little bit more. All right so let’s get started.

Setup Google Cloud

The first step is to configure Google cloud platform. So for that go ahead to And then click on the sign in link at the top right hand side. Next use your gmail account to login to Google cloud platform. Now you will land on the home page of Google Cloud. Simply click on the “Console” button to proceed.. Next click agree to the terms of service and click continue.

Next you will see that Google offers $300 credits offer to explore Google cloud platform. So go ahead and activate the offer by clicking the button next to it. Although it’s probably cost you less than a dollar to host your website for the first year. But it should not be a worry to pay under $1 for a whole year. Anyway activate the offer and on the next page select your country and agree to the Terms of Services.

Setup Payment Profile

Next you need to set up your payment profile. So for that you need to select account type either individual or business.Then enter your name, address and your credit card details. After finishing you will land on your first project. You can either continue with it or create a brand new project. So for the sake of this tutorial we will create a new project. So you can understand everything.

Create New Project

vClick on the projects link at the top to create a new project. You can name it whatever you want and then click on create button. And your new project has been created successfully. The next step is to deploy WordPress on it.

Host WordPress On Google Cloud

To deploy WordPress go to the navigation menu on the upper left-hand corner and select marketplace. On the marketplace page you will find a blog and CMS section. So either click it to find WordPress or simply put WordPress in the search form above. There you will find out many WordPress provide by different authors. The WordPress that I mostly recommend is the WordPress certified by Bitnami. Because this is quite straightforward and easy to install. Also it is pre-loaded with very useful features that are essential.


So go ahead and click on WordPress certified by Bitnami. And then click on deploy button to install it. Few options will appear in front of you to configure deployment name, zone and other information. You can leave the deployment name as default and then select the zone where you want to deploy it. I would recommend you to pick the region that’s closest to the majority of your traffic. Because it will give your audience the best and fastest experience. For the machine type leave it to default.

For boot type you should choose solid-state drive (SSH). Although it costs a little bit more but the difference is well worth. The default 10 gigabyte boot disk is the perfect size. Leave all other information as default. But make sure you keep both HTTP and HTTPS traffic.Next accept the Terms of Service and and press the dply button. It will take some time to deploy WordPress on the virtual machine. So wait for it to complete the process. Within few minutes your new WordPress site will be ready.

Setup A Static IP Address

Although currently it is being associated to an IP address but you can point it to your domain. So people can easily find and visit your site. After deployment finished, it will display you the WordPress address, admin address, user and password. So note down all the important information to use in future.You can check the website by entering the ip address in the browser.

So to convert this IP address into a static IP address, you need to click on the navigation button at the top left corner. Scroll down a little and then go to VPC network section and click external IP addresses. Here you will see e the IP address on which your wordpress website is running right now. So to make it a static IP address you need to click on the type dropdown arrow and select static.

A popup will slappear where it will ask you to name this static IP address. So add a name of your choice and click the Reserve button. and that’s it the static IP address has been generated.

After that you need to point your domain to that static IP address. And to do so go to the navigation menu on the top left-hand and navigate to network services and select cloud DNS. This will enable the DNS API. Once it’s enabled you need to create a zone.

Setting Up Cloud DNS

For the zone type you need to choose public. For the zone name you can add your domain name without extension like “fusionnetcafe” and for the DNS name you need to enter your complete domain name with extension like “”. You can leave the DNS security off and click create. The zone has been created successfully.

Next you need to create two more records. So click on add record to create a new record set. Leave the DNS name field blank. Select A from the record type field and then enter that static IP address (that you created earlier) in the IP address field. Finally hit the create button to finish.

Click on add record button once again. Now for the DNS name type “www” and select CName as record type. For Canonical name type your domain without “www” . And that’s all for the DNS records.

Point Your Domain To Google Cloud Server

Now you need to copy all 4 NS records one by one and then add them into your domain. So for go the the domain provider website and click on the manage DNS section. So whether your domain name provider is GoDaddy, Namecheap or another. Every company allows you to add your custom DNS. So head over to the DNS section and add all these NS records there and click the save button to save changes.

Mostly it will take up to 1 day to properly configured. So wait patiently until your WordPress website pointed to your domain. You can try out to see the results by putting your domain name in browser. Congratulations your website is live and pointed to your domain. But we are still one step away to finalize the process.

SSL Certificate Configuration

Let’s move on to the next step Which is to create an SSL certificate for you site. So go back to your Google cloud platform. And click on the navigation menu. Now click compute engine and click VM instances link. On that page you will find your WordPress that has been deployed earlier. Here you will see a SSH link, so click on it. This will open a command prompt in front of you. Here you need to add the following command and press enter button from your keyboard.


Let’s move on to the next step Which is to create an SSL certificate for you site. So go back to your Google cloud platform. And click on the navigation menu. Now click compute engine and click VM instances link. On that page you will find your WordPress that has been deployed earlier. Here you will see a SSH link, so click on it. This will open a command prompt in front of you. Here you need to add the following command and press enter button from your keyboard.

“sudo /opt/bitnami/bncert-tool”

Remember this is an automatic SSL certificate configurator. So you simply need to follow the instructions appear in front of you and entering the information that it demands.

After few steps free SSL will be activated on your site and now you can check it by opening your WordPress website.

Note: You can check all Bitnami WordPress Google cloud stach here.

Bitnami wordpress stack for Google cloud platform

And that’s all from this article. You are good to start using your brand new WordPress website.

Recommended Reading


So that’s how to host WordPress on Google cloud platform. Hopefully this article helps you a lot to integrate and launch a WordPress website on Google cloud. But if you still have some questions then please leave a comment below. And I will clear all of your confusions there. You can enjoy a full year of cloud hosting for almost free.And if you like this platform, you can definitely continue with it but with some extra charges.

Muhammad Rafi

Freelance SEO consultant, writer and blogger. Having more than 5 years of experience working online..

1 Comment

Best Cache Plugins For WordPress To Boost Speed | Fusion Netcafe · November 8, 2019 at 1:16 pm

[…] How to host wordpress on Google Cloud […]

Leave a Reply

Your email address will not be published. Required fields are marked *