Setting up a website for your self is always exciting but just a thought of dealing with tech can be a mood off. We always want something simple and cost-effective.

Blogging can be a passion or can be a way of making some extra bucks. In this blog, I am going to talk about how easily you can setup your lightning fast blogging site up running within no time. Also, I will discuss on performance and cost of the site( It’s free).

Normally, to create a WordPress website , You will have to find out a web hosting service and have to pay some amount on monthly or yearly basis to keep your services running, buy a domain name configure it with your hosting, setup PHP, MYSQL, Apache stack, install WordPress than you can start writing blog. That’s it?

Luckily with growing technologies, we don’t have to do all of that.

Here is the highlight of the blog.

Few clicks setup WordPress on Google cloud

Setup WordPress on Google Cloud

Most of us might have a Gmail account. If you have then you already have google cloud account, Only remaining thing is setting up your billing (As per Google you will not be charged at all it is only for personal identification).

1. Setup billing details with Google for personal identification.

a. Open up the URL (https://console.cloud.google.com/home/dashboard). Accept the terms and conditions. b. Sign up for a free trial from the top right corner. c. Fill up the billing details and card info and you are all set.

2. Spin up your own cloud virtual machine.

a. Hover over Compute Engine and click on VM Instance. b. Click on Create Instance from the top menu. Make sure you select the micro instance to keep it free and allow HTTP traffic.

Definitely, we have selected smallest configuration possible and WordPress website will be bit slow but you will see how performant and efficient it can be.  To make it optimized for this small cloud instance, please check on my another blog Optimizing WordPress for Google F1 instance. c. Click create.

3. Start up Wordpress Docker containers.

a. Go to VM instances and Click on SSH next you VM.  Make sure you allow popup. b. Add attached files to your server via FTP software like (WinSCP, Filezilla etc.) default.conf, Dockerfile-nginx, stack.yml c. Run the following command on in SSH console. docker-compose -f stack.yml up   That’s it your WordPress is up and running on google cloud for free. After few minutes and then you can open up your WordPress website with google external IP mentioned screen above.

4.Setup WordPress language and admin password.

a. Open up the external IP on browser, select default language and continue. b. Enter required information.   This is it you are all set to create your first blog.

What’s Next

  Setup Domain name for no cost or almost no cost. Read my next blog on setting up domain and comparison.