How to host WordPress website on Google Cloud in 8 Minutes
Beginners tutorial on how to host WordPress website on Google Cloud Platform from scratch. We will show you how to create VM instance, reserve static IP address, setup web server, create swap file and install stackdriver agent for resource monitoring. This setup also stays under GCP Free Tier quota.
=== Follow us on ===
Facebook:
Website:
Twitter:
#GoogleCloud #Wordpress #WebHosting
Below are the stats of my website. The f1-micro instance can handle 100K visitors/month easily. That's incredible amount of traffic for free tier!
https://redstapler.co/cost-of-hosting-wordpress-website-on-google-cloud/
how do i add a sub-domain to the website i host on google cloud
Hello, thanks for your instruction, I like the way you explain things and the logic! applauses! it will be nice if you can make a video for installation of multi-site wordpress on gcp, pls do include the security SSH solutions, domain pointing, the minimum cost per month etc., … from the scratch, thanks so much in advance! I don't know how to code, like woman drivers sometimes don't know the direction, pls do kindly make every step very clear for fresh new bee… shy !
what we need do for Indian customer to avail this service
Try : https://www.bluehost.com/track/moldi85/
Hi, Thanks for the tutorial.
Does your website still on the same tier from this tutorial ?
I used the tutorial for making my website but my site speed not even close to your speed.
If you still on the minimalist tier how your website speed is so fast ?
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
Very useful and clear to follow. I have gotten my website running in no time. That's awesome!
Just a small share for my situation:
1) I have registered my domain via Cloudflare with full SSL on. With A record pointing to the static IP that this tutorial taught; CNAME for www to yourdomain.com
2) I have not using Let's encrypt SSL function while first entering the SSH. (Because Cloudflare did it for me).
3) I am using putty to logon my SSH (related instruction that you can easily find on GCP related resources)
Can this method be used if we already have wordpress website created? And we want to migrate it to Google Cloud?
Help! Does anyone know how to lookup (or setup) the nameservers to point to the new website from my registrar? or do I leave them as default – I'm using GoDaddy
Is it free?
Very excellent guide, thanks a lot, but why did you skipped the ssl certificate installation?
Can you do tutorial on WIX if possible. please and tnx
Is there any additional monthly charges that come with using the deployment solutions?
WARNING FOR STACKDRIVER AGENT – IT IS NOT FREE: I really loved this tutorial and did everything on it. 3 months into my free trial account and I noticed most of my credits were gone. I only had 74usd left from the 300 USD. I had 5 vm's running on the f1 micro processor at 30GB.This was to be expected. But the real drainer for most of my credits in 3 months was the Stackdriver Agent. It cost me 110ish USD to run for all my VM's. Install at your own risk, especially if you go into the non-free tier. If you need to uninstall it (I hope this works) run this command on your machine:
sudo apt-get purge stackdriver-agent
I also removed the google monitor flags from 1 back to 0. If I need to do anything please share with everyone.
Thanks man. It helped me a lot today.
Gr8, simple and straight forward. What's your opinion running the OpenLiteSpeed stack on docker and f1-micro, will that add any value?
This has been a life saver. Thank you so much.
Hi Everyone if someone still need help on setup your website on Google Cloud whatsapp me +923079566566 I'll tell you very easy and command free method
Great tutorial. Well done. Thank you
echo '/swapfile non swap sw 0 0' | sudo tee -a /etc/fstab/swapfile non swap sw 0 0
tee: /etc/fstab/swapfile: Not a directory
sudo fallocate -1 1G /swapfile not working
How to access the mysql database and edit tables
how to link domain with it, i dont see any option to put Name server
hello sir. how install SSL using this openlitespeed wordpress since we skipped during the SSH step
Pls, how will I latter apply Encrypt Certificate to my domain? after skipping it in the process. Thanks
Awesome content! I really liked the tips for monitoring usage. Thanks!!
To help with RAM Usage, how did you shift+enter to write a new line of code without it executing?
Every attempt at trying to go to the next line when typing in sudo fallocate
1 1G /swapfile ends up executing with an error saying fallocate: invalid option –'1'thank you so much for this ! super detailed and easy to digest. keep up the awesomeness ! subscribed. thanks again.
thank you soooo much for the video. it was though to follow for the person like me (perfect beginner 🙂 but I watched it like more than 5 times and I finally made my own site!!! thank you sooo much I really really appriciate it! if there's anyway I can change my domain name please let me know !! I will watch it over and over 🙂
Quick Question is Cyber Panel included on this 1-Click Install?
Thanks <3
in my case it does not show goto marketplace
When a site is created on this hosting … is it acceptable in Google Adsense ??
Thank you very much ¿, it was a great tutorial
Good ttutorial. What about static IP address, it's not gonna be free any more (since 1st January 2020), have you tried some workarounds how to manage it for free (any CNAME, etc.)?
Easy to understand and follow – many thanks for this TK! Any tutorials on setting up SSL certs and CDN?
Hello, I followed your instructions. Great tutorial. I successfully have a great looking website. Thank you! Important question: How do you set up SSL and https with OpenLiteSpeed? Thank you
is this good enough for an e-commerce website?
Hello, is it totally free of charge or it requires me to pay some money. thanks ….