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…
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”.
1. Select 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
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.
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.
- Verify by typing Y for YES and enter
- Type Y for Installing SSL Certificate provisioned by Let’s Encrypt
- Enter your email that you’d like to use for receiving SSL notifications.
- Confirm that you’ve entered it correctly
- Review SSL and Confirm HTTPS redirect rules
- Update your Operating System including web server.
- Review Progress
- Once done, Exit 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.
2. Create your Credentials
Carefully create your WordPress Credentials and then click Install.
3. Validate your WordPress Installation
Type URL in the browser to validate the Front End of your WordPress deployment.
4. Install Updates
You can return to your WordPress Dashboard and navigate to the Updates section to Install the latest updates.
5. Install WordPress Theme
To Change your WordPress Theme, Go to Appearance and click Themes.
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.
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.
I will now upload the premium file and Activate.
It will get activated automatically.
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.
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.
If you liked this article, please share it with other and if you any need help, feel free to comment below.