Google Cloud WordPress Tutorial for Beginners – Free Hosting

Last Updated 2 weeks ago

In this Google Cloud WordPress Tutorial, we will help you to build your first website for free.

For this tutorial, We deployed a blazing fast website with OpenLiteSpeed and WordPress on Google Cloud in a few mins and documented the process to write this tutorial for absolute beginners.

Deploy WordPress on Google Cloud with OpenLiteSpeed

WordPress Google Cloud
WordPress Google Cloud

You don’t need any prior experience for setting up WordPress on Google Cloud but you do need the presence of mind and some curiosity. 

We love OpenSource and now with OpenLightSpeed, Let’s Encrypt SSL, and Free $300 Compute Credits by Google Cloud, it is much easier to deploy an optimized WordPress Site.

We know there are a lot of other options out there and have evaluated the freemium tools you need to get ahead in deploying your WordPress Site on Google Cloud.

So, We’ll do our best to keep you focused by saying only what is necessary,

And, it won’t take that long…

You need a domain name. 

If you don’t have a domain name, get one from NameCheap, I personally find it easier to manage DNS in their dashboard compared to other domain name service providers. 

Let’s get right into it.

How to Deploy and Setup WordPress in Google Cloud with OpenLightSpeed

Our aim in the following sections of this article is to help you learn how to Deploy and Develop a WordPress site in an Optimized environment provisioned by OpenLiteSpeed, Configure Free SSL using LetsEncrypt and use very helpful freemium tools… 

— Claim Free $300 Compute Credits

Google Cloud is very suitable for beginners to learn, build and grow with thousands of free resources and updated documentation. Go to cloud.google.com/free to claim $300 Compute credits to host your site for over 90 Days…

Google-Cloud-Free-Credits
Google-Cloud-Free-Credits

Once you have claimed the credits, prepare yourself to Install WordPress. 

— Deploy WordPress from the MarketPlace

You will find the search bar on top of the dashboard, where you can type “WordPress”.

image 1
Google Cloud Marketplace

1. Select Launch

image 2
Deploy by clicking Launch

2. Configure Your WordPress Deployment

  • You can pick a name for your deployment
  • Change the Server Zone
  • Customize Machine
  • Increase Memory and Boot Disk Size
  • Check both Allow HTTP and HTTPS Traffic from the Internet
Configure Your Instance
Configure Your Instance

After you have configured and deployed your Instance, head to the next section for configuring your domain name.

— SSH Into Your WordPress Instance

Now, we need to add your domain name and Install Free SSL certificates by logging into our server through SSH.

NOTE: You’ll need to point the domain ( A Records ) to the Server IP.

Select your server and click on SSH.

5. SSH into your WP Deployment 1
SSH into your Instance

It’ll fire up a browser-based console ( Command Line Interface ) for managing your server.

1. Add your domain

Hereafter, Be very careful with everything that you as reversing changes will require a lot of experience with CLI and sound skills in Linux.

So type your domain name, review it once or twice to check that you have typed everything correctly, and hit Enter.

6. SSH WP Deployment
Now Add Your Domain Name
  • Verify by typing Y for YES and enter
ssh wp domain confirmation 1024x206 1
Confirm Domain
  • Type Y for Installing SSL Certificate provisioned by Let’s Encrypt
ssh wp letsencrypt ssl confirmation 1024x296 2
SSL Confirmation
  • Enter your email that you’d like to use for receiving SSL notifications.
ssh wp email letsencrypt 1024x351 1
Add your Email for SSL Expiry Notifications
  • Confirm that you’ve punched in all the information correctly
ssh verify wp letsencrypt email 1024x388 1
WP Let’s Encrypt Email – SSH Console
  • Review SSL and Confirm HTTPS redirect rules
90e1991e 11. ssh wp letsencrypt https reditect rule
Create HTTPS Redirect Rule – SSH
  • Update your Operating System including web server.
8ea17079 12. update local server
Confirm Update – SSH Console
  • Review Progress
79170960 13 a. ssh system updating 1
System Update
  • Once done, Exit Console
cb631633 13 b exit post system update
Exit Terminal

— Complete WordPress Installation

In this section, we will not only configure WordPress credentials but also Setup Themes and the Important Plugins you need to stay ahead of.

1. Configure WordPress

Now, go and type your URL in the browser and select your preferred language.

setup install wp browser
Setup WP

2. Create your Credentials

Carefully create your WordPress Credentials and then click Install.

create credentials
Credentials Screen

3. Validate your WordPress Installation

Type URL in the browser to validate the Front End of your WordPress deployment.

a32e6e55 16. verify wordpress domain mapping ssl lock 1024x689 1
Validating Your Installation

4. Install Updates

You can return to your WordPress Dashboard and navigate to the Updates section to Install the latest updates.

under dashboard update wordpress application plugins 1024x866 1
Updates – WP-ADMIN

5. Install WordPress Theme

To Change your WordPress Theme, Go to Appearance and click Themes.

add wordpress theme under appearance 1024x735 1
Install Theme – WP-ADMIN

You can browse and easily Install any theme from the integrated MarketPlace and for this guide, I’ve chosen GeneratePress and I’ll show you how to Install any theme and Plugins.

install generatepress theme from marketplace 1024x733 1
Install GeneratePress

6. Install WordPress Plugins

I have a few websites and purchased a premium version of GeneratePress recently which is activated through the Plugin.

So I’ll activate my Licence by Installing their Plugin.

Head to the Plugins section and click Add New.

Also, You can upload the plugins and or Install through the WordPress marketplace from the same Screen.

add generatepress premium via add plugin under plugins 1024x503 1
Upload Plugin – WP-ADMIN

I will now upload and activate the premium file and Activate it, but it’s not required for you unless you want to serve optimized pages.

activate generate press wp plugin
Activate Generate Press WP Plugin

It will get activated automatically.

activating generatepress premium 1024x760 1
Activating GeneratePress Premium

That’s it, you have learned to deploy WordPress with SSL, and also how to Install themes and Plugins from the marketplace.


Conclusion

You can explore more on yourself and be ready to make mistakes.

Keep in mind that you don’t need too many frameworks and too many plugins to run a successful blog, just a lightweight theme and a few plugins to keep your website fast and secure.


CLOSING NOTES

We’ve deployed WordPress on AWS, DigitalOcean, Vultr and on many Cloud Service Platforms but for absolute beginners, WordPress deployment on Google Cloud is much easier with pre-configured OpenLiteSpeed plugin.

If you liked this article, please share it with others, and if you need help, feel free to comment below.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

ajax-loader