I deployed OpenLiteSpeed + WordPress on Google Cloud in 7 mins ( and it’s free )

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

I 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.

I know there are lot of other options out there, and freemium tools you need to get ahead in deploying your WordPress Site on Google Cloud.

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

And, this won’t take that long, even if you don’t have any background or prior experience with WordPress or Google Cloud.

You do however need a domain name. 

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

Let’s get right into it. 


Deploy WordPress on Google Cloud with OpenLightSpeed

My aim in the following sections of this article is to help you learn how to Deploy and Develop 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…

1.-Google-Cloud-Free-Credits
WordPress Google Cloud Free Tier

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”.

Deploy WordPress on Google Cloud
Deploy WordPress on Google Cloud

1. Select Launch

OpenLiteSpeed WordPress Deployment
OpenLiteSpeed WordPress Deployment

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 WordPress Deployment
Configure WordPress Deployment

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


— SSH Into Your WordPress Instance

Once your instance is deployed, 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.

SSH into WordPress Instance
SSH into WordPress 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 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.

 SSH WP Deployment
WP Deployment – SSH Console
  • Verify by typing Y for YES and enter
SSH WP Domain Confirmation
WP Domain Confirmation – SSH Console
  • Type Y for Installing SSL Certificate provisioned by Let’s Encrypt
SSL Confirmation - SSH
SSL Confirmation – SSH
  • Enter your email that you’d like to use for receiving SSL notifications.
SSH WP Email Letsencrypt --
Let’s encrypt – SSH Console
  • Confirm that you’ve entered it correctly
WP Let's Encrypt Email
WP Let’s Encrypt Email – SSH Console
  • Review SSL and Confirm HTTPS redirect rules
SSH-WP-Letsencrypt-HTTPS-Reditect-Rule
HTTPS Reditect Rule – SSH
  • Update your Operating System including web server.
Confirm Update – SSH Console
  • Review Progress
Update Progress – SSH
  • Once done, Exit Console
Exit Post System Update
Exit SSH Console

— 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.

1. Configure WordPress

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

Setup Install WordPress
Setup WP

2. Create your Credentials

Carefully create your WordPress Credentials and then click Install.

Configure WordPress Credentials
Configure WordPress Credentials

3. Validate your WordPress Installation

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

Verify WordPress Installation
Verify WordPress Installation and Domain Mapping

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
Updates – WP-ADMIN

5. Install WordPress Theme

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

Add WordPress theme under Appearance
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 WordPress Marketplace
Install GeneratePress

6. Install WordPress Plugins

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

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

Head 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
Upload Plugin – WP-ADMIN

I will now upload the premium file and Activate.

Activate Generate Press WP Plugin
Activate Generate Press WP Plugin

It will get activated automatically.

Activating GeneratePress Premium
Activating GeneratePress Premium

Now, that you’ve learned to deploy WordPress with SSL, and also Install themes and Plugins from the marketplace, you can explore more on yourself and be ready to make mistakes.


Closing Notes

I’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.


Conclusion

If you liked this article, please share it with other and if you any 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