How to Host a FREE Website on Google Cloud Platform

Sdílet
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

Komentáře • 522

  • @briandenzer
    @briandenzer Před 3 lety +29

    I was beginning to doubt I could find a straightforward, step-by-step guide - until I found this. Excellent work! Thank you.

  • @tharaka-nasgosports4613
    @tharaka-nasgosports4613 Před 3 lety +10

    After 2 hours of hard working finally I made it. Thank you, sir

  • @ivangauci807
    @ivangauci807 Před 3 lety +6

    Of all the videos available, your one is the clearest and most useful. Thank you very much Tony and have a blessed life.

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety

      You're very welcome, and thank you so much for taking the time to tell me :)

  • @hephaestuslakan3774
    @hephaestuslakan3774 Před 2 lety +2

    Thank you Tony, this tutorial has made my WP and website building more comprehensible.

  • @Virimen
    @Virimen Před 3 lety +8

    Thank you for making a well laid out tutorial.

  • @TheElevenBravo
    @TheElevenBravo Před 2 lety +3

    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!

    • @TonyTeachesTech
      @TonyTeachesTech  Před 2 lety +1

      Appreciate the very kind words Darian. Thanks for checking out my story!

  • @md.sinclair7112
    @md.sinclair7112 Před 2 lety +1

    *****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

  • @telephonerock
    @telephonerock Před 3 lety +9

    Why does this video only have 6k of views? Keep it up man. Best tutorial for getting started with Google Cloud!

  • @Tyokok
    @Tyokok Před 3 lety +2

    Thank you so much !!! You are amazing! I subscribed right away!

  • @andrewsharapko
    @andrewsharapko Před rokem

    This is an INSANE helpful tutorial! I think @google should add this to their tutorial database.
    Thank you so much!

  • @HiAlisainWonderland
    @HiAlisainWonderland Před 3 lety +1

    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

  • @wmng13
    @wmng13 Před 3 lety +1

    thank you for making this tutorial! very detailed and easy to follow!

  • @hunterxnixon
    @hunterxnixon Před 3 lety

    Thanks for the video! Everything worked perfectly.

  • @psicoplanner3330
    @psicoplanner3330 Před 3 lety

    Perfect! Thanks man! Works for me in the first time!

  • @garotodoprograma
    @garotodoprograma Před 2 lety

    I just am on chocked with yours videos. Very nice man!

  • @hararekid
    @hararekid Před 3 lety

    Great video, thanks Tony!

  • @stheths9273
    @stheths9273 Před 6 měsíci

    Thanks for the great tutorial, it was very helpful!

  • @GDH1971
    @GDH1971 Před rokem

    Thank you Tony, worked like a dream 🙌

  • @bunglende3148
    @bunglende3148 Před 3 lety

    amazing... Thanks A lot Tony It's Work. 👏👏

  • @helmholtzwatson8884
    @helmholtzwatson8884 Před 3 lety +1

    This is great, I'll have to try it out. Thank you!

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety

      Yep, give it a try

    • @helmholtzwatson8884
      @helmholtzwatson8884 Před 3 lety

      @@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.

  • @DespicableRage
    @DespicableRage Před 3 lety +1

    Great video mate thank you

  • @gbhupenmail
    @gbhupenmail Před rokem

    Excellent!!! Excellent!!!! Excellent !!!! Great job Bro!!!!

  • @GalKricheli
    @GalKricheli Před 2 lety +1

    Thanks for the great tutorial - hopefully i will be able to handle with the installation of WP on the GCP.

  • @jenmarkpelaez3616
    @jenmarkpelaez3616 Před 5 měsíci

    Great stuff you have here. I'm actually learning while following your walkthrough. Keep it up!

  • @junior2441
    @junior2441 Před 3 lety

    Thanks for this! It Works!!

  • @kingof.london
    @kingof.london Před 2 lety

    The best videos on CZcams

  • @andrewpace3974
    @andrewpace3974 Před 2 lety

    Thanks so much! You earned a new subscriber.

  • @necromancer7712
    @necromancer7712 Před 3 lety

    You are a ROCKSTAR! THANK YOU!

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety +1

      You're welcome!

    • @necromancer7712
      @necromancer7712 Před 3 lety

      @@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?

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety

      @@necromancer7712 Hmm, I have not seen this one yet. Can you tell if the error message is coming from WordPress or the Nginx server?

    • @necromancer7712
      @necromancer7712 Před 3 lety

      @@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

  • @pitchyq2804
    @pitchyq2804 Před 2 lety

    Helped alot, thanks !

  • @andrewsharapko
    @andrewsharapko Před rokem

    Thanks for the great tutorial!

  • @MyChannel92
    @MyChannel92 Před 2 lety

    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

  • @pertak8166
    @pertak8166 Před 11 měsíci

    incredible

  • @Xpressd
    @Xpressd Před 2 lety

    the video is great but your article is amazing ⭐⭐⭐⭐⭐✅

  • @drdkgupta
    @drdkgupta Před 10 měsíci

    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.

  • @syamillim3332
    @syamillim3332 Před 2 lety

    Excellent tutorial. Tq

  • @kondzio2003
    @kondzio2003 Před 2 lety

    Great tutorial

  • @MpuksDigital
    @MpuksDigital Před 2 lety +1

    Great video man, helps a lot. Is it possible to host the domains emails too? How would one do that?

  • @alexalainterieur
    @alexalainterieur Před rokem

    excellent step by step tutorial
    i am not a geek but i made it to the end 🙏

  • @pablue
    @pablue Před 2 lety +2

    Fantástico meu amigo. Muito grato por postar este vídeo. 16 minutos que valem muito.

  • @ShopperPlug
    @ShopperPlug Před 2 lety

    Bruh... got a gigantic oldbay spice mix as a souvenir lmao 🤣

  • @farizg
    @farizg Před rokem

    Many thanks! Is it possible to create more than one VM Instances which meet these free tier conditions and will be free of charge?

  • @dhlittlekelly6873
    @dhlittlekelly6873 Před 3 lety +1

    Tony -- WTF! I have spent the last 3 hours with this craziness.

  • @animedonghua4u478
    @animedonghua4u478 Před 2 lety

    😄 thanks a bunch

  • @jrashish
    @jrashish Před rokem +3

    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!

  • @SkuglaQ
    @SkuglaQ Před 2 lety

    it was a success !!!

  • @pbznt
    @pbznt Před rokem +1

    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.

  • @MarkAnthonyCabilo
    @MarkAnthonyCabilo Před 2 lety

    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?

  • @damilolaakande1254
    @damilolaakande1254 Před 2 lety

    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!!!

  • @TimMitra
    @TimMitra Před rokem

    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.

  • @VictorVoon_VicVoon
    @VictorVoon_VicVoon Před 2 lety

    HI thanks for the video. It is possible if i just wana host html files, css, and js only? thanks

  • @shafti1960
    @shafti1960 Před rokem

    عالی استاد

  • @stepnitz
    @stepnitz Před rokem

    It looks like the free tier changed to E2, is going to make a difference between N1 and E2?

  • @V3ctor003
    @V3ctor003 Před rokem +1

    How do you save after editing .conf file? Thanks

  • @GetNerdyNow
    @GetNerdyNow Před 3 měsíci

    If you don't mind answering, what microphone are you using here?

  • @bama2619
    @bama2619 Před 7 měsíci

    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?

  • @markuspatzer8658
    @markuspatzer8658 Před rokem

    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 !

  • @khalidelgazzar
    @khalidelgazzar Před 3 lety +1

    Great Video, thanks Tony. I assume we can host multiple WP sites .. right?

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety +1

      Yea definitely... czcams.com/video/P7W4iYkFaOU/video.html

  • @afclmadagascar693
    @afclmadagascar693 Před 3 lety +1

    Thank you for the great video! Does this give the ability to embed html code to build the entire website?

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety

      You can easily put your html code in the root of the web directory to display your website

  • @pedrodasilva5380
    @pedrodasilva5380 Před 2 lety +1

    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.

  • @premnathd
    @premnathd Před 3 lety +1

    SSL installation within this video would make this a perfect video

  • @christianadrales1031
    @christianadrales1031 Před 2 lety +1

    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

    • @TonyTeachesTech
      @TonyTeachesTech  Před 2 lety +1

      You are in the right place. Have a look around my channel :)

  • @user-sy6ii6qo9e
    @user-sy6ii6qo9e Před 3 měsíci

    Thanks Tony for the video. Are there any updates, seeing that his was created 3 years ago?

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 měsíci

      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

  • @man005pak
    @man005pak Před rokem +1

    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.

    • @JoJoy
      @JoJoy Před 6 měsíci

      Saw a video which was warning of unannounced deletion of free account on Oracle Cloud. 😲

  • @andrianrahardja8854
    @andrianrahardja8854 Před 2 lety

    Waiting for always free aws ec2 instance here mate 🍻

  • @AlegaTV
    @AlegaTV Před 3 lety +2

    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?

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety +3

      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.

  • @AliAhmad-gy6xw
    @AliAhmad-gy6xw Před rokem

    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

  • @lifeincanada1015
    @lifeincanada1015 Před 3 lety +1

    Great video, need to ask how to connect this new VM instance to Google Domains? Thanks in advance.

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety

      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!

  • @Robert08010
    @Robert08010 Před 2 měsíci

    Could you run windows on one of these free virtual machines? And is it still free?

  • @realchickennuggy
    @realchickennuggy Před 3 lety

    Good video mate! Also, how do you do this for a web page made from Google sites?

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety +1

      Google Sites websites can only be hosted with Google Sites. They cannot be hosted elsewhere

  • @AMNOWTECH
    @AMNOWTECH Před 2 lety

    With this can I get more traffic and monitize the blog

  • @BigBangTheory302
    @BigBangTheory302 Před rokem

    CLI is more difficult for setup configuration then GUI, Can I setup in visual interface

  • @vino9587
    @vino9587 Před 2 lety

    hello sir, is it still always free even after i upgrade my account regarding trial end ?

  • @kaulbhaskar
    @kaulbhaskar Před 9 měsíci

    Please make a similar video on website with next.js

  • @henrih137
    @henrih137 Před 2 lety

    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

  • @juancboly6818
    @juancboly6818 Před 2 lety

    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.

  • @bricoetmecaniqueparunefille

    hello, awesome thank you, is it limited to one instance? or can we create several same instances for free?

  • @diamondpicturesmw4903
    @diamondpicturesmw4903 Před 2 lety

    does this mean - it will only be free for one month - then the $5.08/ Will apply going forward?

  • @HowBuzz
    @HowBuzz Před rokem

    i get stuck on 12:07 the popup no place to save

    • @ussamabinnaveed
      @ussamabinnaveed Před 4 měsíci

      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

  • @lanecazier9011
    @lanecazier9011 Před 2 lety

    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

  • @AttkBeast
    @AttkBeast Před 3 lety +11

    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.

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety +3

      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

    • @pascomedia7456
      @pascomedia7456 Před 3 lety +1

      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

    • @kyuna4843
      @kyuna4843 Před 2 lety +1

      😂😂😂

  • @01shopping25
    @01shopping25 Před 3 lety +1

    hey bro thank you for this video, can i ask you what you did exactly in the 12:14? did you press something?

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety +1

      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

    • @01shopping25
      @01shopping25 Před 3 lety

      @@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

  • @4tech423
    @4tech423 Před 3 lety

    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?

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety

      Are there any error message that you see during the import?

    • @4tech423
      @4tech423 Před 3 lety

      @@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

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety

      @@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.

  • @dtuk1412
    @dtuk1412 Před rokem

    If i use ads how many days it's run ? Can I make 1 day ads only

  • @kingananas2.0
    @kingananas2.0 Před rokem

    For what are the 300$ trial credits

  • @Propertystockbusiness

    I don't know if I can do that, any beginner manage to get it setup?

  • @Viralstoriesradio
    @Viralstoriesradio Před 2 lety

    what about credit card do they ask for it

  • @decadeofhustle5284
    @decadeofhustle5284 Před 3 lety +1

    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.

  • @dchite58
    @dchite58 Před 2 lety

    where do I find the configuration data file

  • @macksoneh
    @macksoneh Před rokem

    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?

  • @dailymeow3283
    @dailymeow3283 Před 3 lety

    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

  • @yungslitz8391
    @yungslitz8391 Před 3 lety

    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

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety

      You could definitely do this. The latency would exist, but would not be noticable from the perspective of your users

  • @keblin86
    @keblin86 Před rokem

    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?

  • @shyamkarthik.k
    @shyamkarthik.k Před 3 lety +1

    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?

  • @planetjubilee2028
    @planetjubilee2028 Před 3 lety

    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

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety

      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.

    • @planetjubilee2028
      @planetjubilee2028 Před 3 lety

      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?

    • @abrahamkayal9665
      @abrahamkayal9665 Před 3 lety

      @@planetjubilee2028 same, did you figure this out?

    • @planetjubilee2028
      @planetjubilee2028 Před 3 lety

      @@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

    • @planetjubilee2028
      @planetjubilee2028 Před 3 lety

      For the record the following command from Tony resolved my issue
      sudo rm /etc/nginx/sites-enabled/default
      sudo systemctl restart nginx

  • @carstyl3r
    @carstyl3r Před 2 lety

    How do I save the nginx file after finishing?

  • @inkishaftv5815
    @inkishaftv5815 Před 3 lety

    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.

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety +1

      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!

  • @hemanthsrivathsav
    @hemanthsrivathsav Před 11 měsíci

    So this works for a month right

  • @logkyakehenge9282
    @logkyakehenge9282 Před 2 lety

    its showing vim command not found what to do?

  • @janis3686
    @janis3686 Před 3 lety

    is there a control panel to reach the /var/www for if you want to create another website instead of wordpress

  • @hackersnetwork8788
    @hackersnetwork8788 Před 3 lety

    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

    • @TonyTeachesTech
      @TonyTeachesTech  Před 3 lety

      This is forever free as long as you stay within the bandwidth limits