How to Install WordPress on Google Cloud for Free
I launched my blog with FREE hosting using Google Cloud.
You might be wondering how could it be free?
Well, when I started working on my blog few months ago and even at this point of time, Google Cloud is offering $300 credits which could last you for 12 months.
I am a curious learner.
I’ve setup WordPress sites on different hosts before and the process was easy.
So how different would it be with Google Cloud.
And I decided to give it a try.
- One-click launcher installation
- Full control of your website
- Free for first 12 months
- Needs to have a bit of technical knowledge to know your way around
- No control panel unlike shared hostings
- No free domain or email address
If you’re still reading this article…
Let’s get started.
Set up your Google Cloud account
Step 1: Head down to https://cloud.google.com/free/ and click on “TRY IT FREE” button. You will be prompted to login with your Google account.
Step 2: Simply agree and continue to receive $300 credit to spend on Google Cloud Platform over the next 12 months.
Step 3: Fill up your details such as name, address and payment method.
Create a new project
So now that you have setup your Google Cloud account. The first thing to do is to create a new project for your WordPress site.
By default, Google Cloud will create “My First Project” as your.. erm.. first project.
Step 4: Click on the project dropdown and click on the “+” button to create a new project.
Step 5: Enter your project name. In this example, I called my project “TypeEightyBlog”.
At this point, you should see the new project on your dashboard.
Install your WordPress site
Now that you have created a project for your blog, it’s time to install WordPress.
If you ask why WordPress, WordPress powers almost 27 percent of the entire internet and there are more than 47,000 WordPress plugins that you can use to design your blog. Do check out these WordPress statistic by TytonMedia if you’re still not convinced yet.
Step 6: Navigate to the “Cloud Launcher” on the sidebar and click on “WordPress” under Virtual Machine
Google Cloud provides you with estimated monthly cost breakdown based on the Virtual Machine specification.
Step 7: Click on the “Launch On Compute Engine” button to proceed.
Step 8: This is the final step before Google Cloud installed WordPress for you.
There are quite a lot of information here, let’s dive in.
Deployment Name: It can only contain lowercase characters, numbers or dashes.
Zone: There are 5 regions available, you should choose region and zone that’s closer to your target audience to reduce network latency and make your site loads faster.
Machine Type: This show how powerful your virtual machine will be. As a start 1vCPU is more than enough to get you started.
Administrator Email: Enter your email that will be used in case you need to reset password.
Disk Type: Select SSD Persistent Disk for faster disk performance.
Disk size in GB: Generally, 10GB is enough to get started with.
Do make sure “Install phpMyAdmin”, “Allow HTTP traffic” and “Allow HTTPS traffic” checkboxes are checked.
Click Deploy and sit tight!
Step 9: Congratulation! Your WordPress site has been deployed successfully.
Do take note of the WordPress Admin password and MySQL password.
Click on the “Visit Wordpress site” button or the site address which is an IP address and voila! You will see “Wordpress on Google Compute Engine”.
If you want to access the admin panel, navigate to http://<your_site_address>/wp-admin
You have now set up your WordPress site on Google Cloud free for 12 months.
You probably can’t wait to install new themes, plugins, design your site or start writing your blog. There’s just so many things to do!
Next, we are going to register a domain name for your site and add your domain to your Google Cloud account.
So you can access your website by typing in your domain.
Originally published at www.typeeighty.com on September 5, 2017.