How to Host a FREE Website on Google Cloud Platform
Vložit
- čas přidán 8. 11. 2020
- Learn how to set up a WordPress website on the free tier of Google Cloud Platform in this tutorial that will walk you through the steps of hosting your free website.
More free website hosting options 👉 tonyteaches.tech/free-website...
Try Google Cloud for free here 👉 ttt.do/GoogleCloudFree (free $300 credit when you sign up with my affiliate link)
Code snippets and more at tonyteaches.tech/google-cloud...
Check out my vlog channel @TonyFlorida
#gcp #googlecloud #wordpress - Jak na to + styl
I was beginning to doubt I could find a straightforward, step-by-step guide - until I found this. Excellent work! Thank you.
You're welcome!
@@TonyTeachesTech google does not offer that 744 free hours anymore. :(
After 2 hours of hard working finally I made it. Thank you, sir
Most welcome 😊
Of all the videos available, your one is the clearest and most useful. Thank you very much Tony and have a blessed life.
You're very welcome, and thank you so much for taking the time to tell me :)
Thank you Tony, this tutorial has made my WP and website building more comprehensible.
Glad it helped!
Thank you for making a well laid out tutorial.
You're very welcome!
Tony, I must tell you......you are just an amazing human being! What a great disposition, sir, you possess!
I was reading your story on your website and I must confess .....it's so touching!
God bless you, brother, and thank you so much for this video as it has helped me a whole ton with my website project!
May the Lord bless you and your family!
Thank you! Thank you!
Appreciate the very kind words Darian. Thanks for checking out my story!
*****This deserves an award!
Here is man has got it together knows and owns the process .
What he teaches works !
This is the go to place for web hosting set up look no further .
Thanks you did a great job
Mike
Thank you so much Mike for the kind words :)
Why does this video only have 6k of views? Keep it up man. Best tutorial for getting started with Google Cloud!
I appreciate that Matthew!
Thank you so much !!! You are amazing! I subscribed right away!
Thanks for subbing!
This is an INSANE helpful tutorial! I think @google should add this to their tutorial database.
Thank you so much!
thank you Tony a lot . I have been struggling a bit, but after 3 times try over again, I have made it successfully. You are the best
Great to hear!
thank you for making this tutorial! very detailed and easy to follow!
You're welcome!
Thanks for the video! Everything worked perfectly.
Great to hear!
Perfect! Thanks man! Works for me in the first time!
Great to hear!
I just am on chocked with yours videos. Very nice man!
Really appreciate it thanks 🙏
Great video, thanks Tony!
You bet Clyde
Thanks for the great tutorial, it was very helpful!
Thank you Tony, worked like a dream 🙌
Great!
amazing... Thanks A lot Tony It's Work. 👏👏
Great!!
This is great, I'll have to try it out. Thank you!
Yep, give it a try
@@TonyTeachesTech I just tried to sign up but unfortunately they don't accept prepaid credit cards and that's the only kind I use. So it goes.
Great video mate thank you
No problem 👍
Excellent!!! Excellent!!!! Excellent !!!! Great job Bro!!!!
Thanks a lot!
Thanks for the great tutorial - hopefully i will be able to handle with the installation of WP on the GCP.
You're welcome and good luck!
Great stuff you have here. I'm actually learning while following your walkthrough. Keep it up!
Awesome, thank you!
Thanks for this! It Works!!
You're welcome!
The best videos on CZcams
Thanks so much!
Thanks so much! You earned a new subscriber.
Awesome, thank you Andrew :)
You are a ROCKSTAR! THANK YOU!
You're welcome!
@@TonyTeachesTech I have encountered a small problem and am not sure whether this is due to Wordpress or Google Cloud. I can not create any new post or page. I get the message saying "you are offline" when I click Publish in Wordpress. Any ideas?
@@necromancer7712 Hmm, I have not seen this one yet. Can you tell if the error message is coming from WordPress or the Nginx server?
@@TonyTeachesTech actually I was able to find out after a bit of googling. It seems Wordpress settings were HTTP which needed to be changes to HTTPS. That fixed the issue
Helped alot, thanks !
You’re welcome!
Thanks for the great tutorial!
You bet!
thanks for a great tutorial. how i can upload a database backup to this created database..i mean i am migrating my web
or where i can find phpmyadmin panel
really appreciate your quick answer
incredible
the video is great but your article is amazing ⭐⭐⭐⭐⭐✅
I appreciate that!
Tony, thank you so much for creating this and many other easy to follow "techno-educational" videos! I am wondering if you can point me to a video or any other guidance on how can I host my spare MacBook Air (MBA) as a server for creating and running website (and other uses such as Postgres SQL server)? I understand that I need to get a static ip address to host the MBA server on the internetI, but am not able to find clear instructions anywhere.
Excellent tutorial. Tq
Glad it was helpful!
Great tutorial
Thanks!
Great video man, helps a lot. Is it possible to host the domains emails too? How would one do that?
excellent step by step tutorial
i am not a geek but i made it to the end 🙏
Very happy to hear that Alex
Fantástico meu amigo. Muito grato por postar este vídeo. 16 minutos que valem muito.
Thank you very much Pablo
Bruh... got a gigantic oldbay spice mix as a souvenir lmao 🤣
Many thanks! Is it possible to create more than one VM Instances which meet these free tier conditions and will be free of charge?
Tony -- WTF! I have spent the last 3 hours with this craziness.
Are you having trouble?
that is google cloud for you. azure just works
😄 thanks a bunch
You're welcome!
Hi Tony, have been following you for quite some time. Thank you for your great work.
I have hosted my website using GCP free credits, but now want to downgrade to minimize my monthly billing - could you help me know
1. How to move VM to a new region
2. Is it possible to host it for free in 2023 because of I don't see the free hours as of now based on your suggested steps
Thank you!
it was a success !!!
Happy to hear that
You deserve a +1 subscribe and +1 like. Very good tutorial. I've been using GKE to deploy my stateful web app. Everything worked fine, except the .htaccess redirection. I was using Apache. I could not figure out how to solve this problem, for weeks! I tried your simpler solution to use google compute engine and everything works fine. Thanks.
Thanks for the sub Philippe! Enjoy
Great video! I'm a newbie and I was able to setup my vm in gcp successfully and accessing the website via the external IP also works. My problem is my Google domain never points to this IP. I tried using custom name servers based on the gcp-vm instance. But after three days of waiting for the propagation delay, the website still does not get accessed via the domain names. Help?
Hi Tony, thanks for making this video. I follow your steps and my website was live, for 2-3 months, now it’s not responding what do I do. Need help!!!
QQ is it possible to combine the hosting of multiple sites as in your other video? I have a bunch of friends and family sites on my VPS server so I looking for a cheaper way to park those WP sites.
HI thanks for the video. It is possible if i just wana host html files, css, and js only? thanks
عالی استاد
It looks like the free tier changed to E2, is going to make a difference between N1 and E2?
How do you save after editing .conf file? Thanks
If you don't mind answering, what microphone are you using here?
Thank you. You installed a vm with Ubuntu IOS and assigned a domain name to it. It is good to use word press. But how about just a landing page. Can I just use my simple html and css file without wordpress?
Thank you Tony for this awesome video, after that for me it was relative easy to setup a google cloud vm. I use the e2 vm with 2pu+2gb ram, on Hesti apanel with apache-nginx. But my worldwide ttfb speed is slow between 500-900ms - I wonder this vm should be fast at 200ms what is wrong there? Have a nice day !
Great Video, thanks Tony. I assume we can host multiple WP sites .. right?
Yea definitely... czcams.com/video/P7W4iYkFaOU/video.html
Thank you for the great video! Does this give the ability to embed html code to build the entire website?
You can easily put your html code in the root of the web directory to display your website
is this still available from GCP ? I got to the the point that shows the "$5.08/month", but it doesn’t say anything about the first 744 hours being free.Not sure if I am doing something wrong or it is not available anymore.
SSL installation within this video would make this a perfect video
Coming up in the next few days, stay tuned!
Hi Tony, first I'd like to thank you you for great content videos. I would like to learn how to create a personal blog about health niche and would appreciate to learn it from you.
Thank you. Have a great day.
Christian
You are in the right place. Have a look around my channel :)
Thanks Tony for the video. Are there any updates, seeing that his was created 3 years ago?
Sure thing! Procedure and free tier limitations remain unchanged as far as I know. Of course, packages that you install will likely be newer versions
Excellent video. Although Google Cloud has many capabilities, I would choose Oracle Cloud for hosting a free WordPress website because of their provision of 200 GB storage, 1 GB memory, and an AMD processor under free tier.
Saw a video which was warning of unannounced deletion of free account on Oracle Cloud. 😲
Waiting for always free aws ec2 instance here mate 🍻
Nice tutorial! So the first month for this particular set of requirements is free but what about the second one and so on? Will it be free until 300USD in credits are gone?
If you choose the options that I choose in the video based on the Free Tier, you will never have to pay. It's free every month.
Hello, i have a LMS website my students can register and buy any course they want, but currently i'm using AWS s3 storage with s3bubble player to stream the video content through my website pages with a high level of security that block any one to download or screen record any video from the website.
now i'm building a new website like the old one but i want to ask if google cloud storage offer the same layer of security the any one cannot download or screen record any video or image and do they offer "pay as you go" pricing for video streaming??
Thank you in advanced
Great video, need to ask how to connect this new VM instance to Google Domains? Thanks in advance.
Assuming you already have bought your domain from Google Domains, you'd simply go into the DNS settings for this domain (in Google Domains) and add an A record with the value of the IP address of your VM. That's it!
Could you run windows on one of these free virtual machines? And is it still free?
Good video mate! Also, how do you do this for a web page made from Google sites?
Google Sites websites can only be hosted with Google Sites. They cannot be hosted elsewhere
With this can I get more traffic and monitize the blog
CLI is more difficult for setup configuration then GUI, Can I setup in visual interface
hello sir, is it still always free even after i upgrade my account regarding trial end ?
Please make a similar video on website with next.js
It would be nice to specify in arears of you videos when a command is crucial the get the website working vs steps that are just preference. I chose not to get a domain name yet and hence would have appreciated if you clarified what people with the default ip Adress should be doing vs ones with names
Thanks for the suggestion
Hi Tony, thanks for your videos. Did you try using http/2? , and if so, would you mind show us how to set up HTTP2 in the google cloud platform? , thanks in advance.
Hi Juan, I don't have a tutorial on this
hello, awesome thank you, is it limited to one instance? or can we create several same instances for free?
Just one instance
does this mean - it will only be free for one month - then the $5.08/ Will apply going forward?
i get stuck on 12:07 the popup no place to save
press esc and then type :w and hit enter. this will save the file. Next type :q! this will exit the editor and you'll be back in the browser terminal. I was stuck at the same part and I had to google how to save a VIM text file
I get the following error when I test using nginx -t : "the "user" directive makes sense only if the master process runs with super-user privileges"
Not sure what to do or why? Also when I head to the IP it still refuses to connect, this video seems good just can't get it working for me
DUDE!
Please tell people HOW to save and get OUT of Vim! I thought it was like any other editor.
Nope!
It took me another 45 mins to finish the conf file!
I learned something, though.
Thanks, Tony!
Good video.
LOL I'm sorry. I use vim all the time in my videos and forget to explain it. I think you figured it out by now, but for others, here's a basic vim tutorial czcams.com/video/uE4aljoMBeg/video.html
Seeing this comment has made my day! I have just spent an age looking for this too :D Otherwise a wonderful tutorial... and tbh I should have just watched the tutorial you suggested! Many thanks
😂😂😂
hey bro thank you for this video, can i ask you what you did exactly in the 12:14? did you press something?
Sorry for not making that clear! I saved the file by typing the following...
Esc :wq Enter
Here's a video that will help you with the Vim text editor czcams.com/video/uE4aljoMBeg/video.html
@@TonyTeachesTech thank you for your time and reply, i already find it in the comment and i did but still i have issue in the last part nginx error
Thank you very much Tony for the detailed tutorial, but I have problems importing demo sites from the GeneratPress site library, the importing process reaches importing content and doesn't finish it. And connecting some plugins like google kit does the same problem trying to connect and Checking the Compatibility step. What do you think the problem is?
Are there any error message that you see during the import?
@@TonyTeachesTech I have nginx and already updated
/etc/php/7.4/cli/php.ini
/etc/php/7.4/fpm/php.ini
as you told for 1024M without any result, its still 2M
@@4tech423 Can you verify that WordPress is using php 7.4 by going to Tools > Site Health > Info > Server? You can also verify the max upload size here.
If i use ads how many days it's run ? Can I make 1 day ads only
For what are the 300$ trial credits
I don't know if I can do that, any beginner manage to get it setup?
what about credit card do they ask for it
Hi Tony, thank you for making this video. Just one thing I need help with, can you explain how to 'save that file', as mentioned at 12.14. Not sure how to save and get back to the command line to continue the process.
I see it :wq :))))
Yep, :wp
press "esc"
then type ":wq"
im stuck here too. press esc on vim doesnt do anything. where do i type :wq? thanks!
@@ceritawawan you saved me!
where do I find the configuration data file
5:34 After 6 months of successfully running a WP site on the GCP, I tried to login via console. Now it asks me login name and password. Where do I find them?
Hey thank you, i wish i can do like you, for my abilities that's abit complicated and would take much time,
Any web hosting you recommend please, secure & fast loading website
I personally use WPX for most of my websites now
@@TonyTeachesTech thank you, happy new year
If i was in the UK could i set up a vm in the US to host a website targeted for uk? Or would it increase the latency
You could definitely do this. The latency would exist, but would not be noticable from the perspective of your users
How popular would a blog need to get to reach the free limits? I know it takes years of work to get a blog going but I am just thinking to save a headache later I can just pay for hosting now lol. My fear is Google Hosting might be expensive if I brake the free tier limits. Does anyone have an answer that isn't too techy. Like how many visitors to my site would make me go over the free tier bandwidth?
Hey, At 2:35 - I Saw there is Ubuntu 20.04 LTS & Minimal versions, does minimal installation improve server initial load times/ server load/ related factors?
I don't think so.
Hi Tony, your video tutorial is very clear and easy to follow. A reminder that your associated blog post missed sudo for nginx restart. I have a quick question though, as I don't have a domain name setup yet. Just testing this out. I did server_name _; as you noted, and was able to access using the external ip address, but it only led me to welcome to nginx page rather than WordPress. Is there something I likely missed? Thanks
Can you double check how many Nginx config files you have under /etc/nginx/sites-enabled? If you find additional configs, delete the extraneous ones and restart the server. Otherwise, please let me know if the problem persists.
There is the default file and the config file I added only, in both site-available and site-enabled folders. Does the name of the config file matter?
@@planetjubilee2028 same, did you figure this out?
@@abrahamkayal9665 no I didn't. Unfortunately it just doesn't take my config file for some reason. It's just taking the html folder (nginx page) for the homepage
For the record the following command from Tony resolved my issue
sudo rm /etc/nginx/sites-enabled/default
sudo systemctl restart nginx
How do I save the nginx file after finishing?
This SSH command system is new to me. But learning is fun. We installed WordPress from SSH. But how do we back up our website? How to download it. And also tell us how to run the website by uploading any existing website data.
Good job so far! Actually I don't back up my WordPress sites (I know, I know not a good idea). Let me look into a making a video on this topic!
So this works for a month right
its showing vim command not found what to do?
is there a control panel to reach the /var/www for if you want to create another website instead of wordpress
There's no built-in control panel
i want to ask if the 3 month has been over so will google cloud will charge us the money or it will use from 300 credit because we are using as low as possible
This is forever free as long as you stay within the bandwidth limits