Це відео не доступне.
Перепрошуємо.

Hosting a Website on Google Cloud Platform | Free Hosting

Поділитися
Вставка
  • Опубліковано 15 сер 2024
  • I'm going over how to set up and host a website on the free tier of Google Cloud Platform. Never pay for hosting again when it can be free! Timestamps:
    ---
    00:00 Introduction
    02:42 Installing VM in GCloud
    04:40 Connecting to GCloud
    05:26 First Boot
    06:10 Swap file and optimizing
    07:45 Editing fstab
    08:26 Installing LAMP stack
    10:08 Started Configuration (IP and domain)
    11:45 Modifying Host file for Local DNS (Not Required)
    12:38 Domain Setup in Apache
    14:08 Editing Config
    15:45 MySQL & PHP Setup
    18:24 PHP Modifications
    20:10 Installing WordPress
    21:28 Configuring WordPress
    23:10 Testing Results
    25:12 Tuning the Server
    26:35 MPM Prefork Configuration
    27:54 GitHub script
    29:00 Conclusion
    ---
    - Recommended VPN :: Express VPN :: links.christit...
    - Website Guide with Commands used :: www.christitus...
    -FAQ on Google Cloud Platform Free Tier ::cloud.google.c...
    free wordpress #wordpress
    -----------------------------------------------------------------------------------
    ►► Chris Titus Tech Digital Downloads ➜ www.cttstore.com
    ►► Discord Channel ➜ / discord
    ►► Titus Tech Talk ➜ / titustechtalk
    ►► Titus Tech Gaming ➜ / titustechgaming
    ►► Chris Titus Fitness ➜ / @christitusfitness
    ►► Twitch ➜ / christitustech
    ►► Twitter ➜ / christitustech .
    ►► Digital Downloads ➜ www.cttstore.com
    ►► Reddit ➜ / christitustech
    ►► Titus Tech Talk ➜ / titustechtalk
    ►► Twitch ➜ / christitustech

КОМЕНТАРІ • 1,5 тис.

  • @ChrisTitusTech
    @ChrisTitusTech  5 років тому +157

    Step by Step Article on ChrisTitus.com
    www.christitus.com/wordpress-google-cloud-platform/
    Timestamps
    2:42 Installing and connecting to the VM
    5:21 Initial Config of VM
    8:24 LAMP Stack Install
    10:01 Local DNS Bypass (NOT REQUIRED!!)
    12:30 Configure Apache2
    15:42 Database and PHP Configuration
    20:10 Install WordPress
    25:10 Tuning the Micro Instance for Websites

    • @muhammadbilalmemon271
      @muhammadbilalmemon271 5 років тому +5

      Its too technical for a non technical person. Can you please define it in detail what does these green lines mean or suggest me blog or something that can help me in learning it

    • @terracubeMC
      @terracubeMC 5 років тому

      You said, that you upgraded your VM. How many requests/users do you have?

    • @Seomon1
      @Seomon1 4 роки тому +2

      where is that lovely cheat-sheet of yours? the link doesnt work anymore.

    • @BlackMetalAlchemy
      @BlackMetalAlchemy 4 роки тому

      The description link sends me to a "debloating Windows 10" guide instead....

    • @LuiguiMaitret
      @LuiguiMaitret 4 роки тому

      Oops! That page can’t be found. :(

  • @pranaysinghparihar4738
    @pranaysinghparihar4738 3 роки тому +85

    THIS. This is the video that started my journey on the cloud, this is the very first place and I now work full-time as an AWS architect. I was in my final year of engineering with really bad grades and no skills whatsoever, still looking for what I wanted to do and this is where it all began and I love every second of my job. Thanks a lot, you have no idea how much this single video means to me.

    • @anonded
      @anonded 2 роки тому +5

      This is soo wholesome seeing here is where you finally found what you love and hearing you get to do what you love. Would be great if Chris sees this!

  • @mrcrackerist
    @mrcrackerist 5 років тому +1019

    2:42 starting ""G cloud"
    4:40 connecting to g cloud
    5:26 booted up
    6:10 swap file and optimizing
    7:45 editing fstab
    8:26 installing lamp stack
    9:45 self advertisement =P
    10:08 started configuration (IP and domain)
    11:45 modifying host files
    12:04 thinks he is funny ^^
    12:38 set up domain name in apache
    14:08 editing config
    14:52 disabling defaults, and funny again...
    15:25 testing....
    15:45 mysql & php setup
    16:50 chris.exe stooped working (sorry had to ^^)
    18:24 php modifications
    20:10 installing WordPress
    21:28 configuring WordPress
    23:10 testing.... and result
    23:14 self advertisement =P
    25:12 tuning of the server
    26:35 mpm prefork configuring
    27:54 GitHub script
    29:00 chris talk ^^
    30:31 the end
    well thats it! i am now going to sleep zzzZZZzzzZZZ

    • @LLCoolPass
      @LLCoolPass 4 роки тому +17

      This guy didn't suck so much at doing these videos you wouldn't have had to do this

    • @ujjawalx7460
      @ujjawalx7460 4 роки тому +4

      Yup that's it

    • @AliefHamdani
      @AliefHamdani 4 роки тому +3

      Thanks for the breakdown SJ. Very helpful!

    • @mjt1517
      @mjt1517 4 роки тому +3

      @@LLCoolPass Do you have any videos?

    • @JJ-vp3bd
      @JJ-vp3bd 4 роки тому

      Is this good for a photography website or would i be screwed using google???

  • @CombobreakerDe
    @CombobreakerDe 4 роки тому +5

    For everyone who wonders (it was a bit confusing how he explained it): The machine type "micro" is free. As some other stuff on there. The 300$ for 12 month is just to try the higher options available. Just search for "GCP free tier".

  • @s0litaire2k
    @s0litaire2k 5 років тому +13

    You might want to highlight that the "Free Tier" option is only available if the VM is based in one of these 3 USA regions :
    Oregon: us-west1
    Iowa: us-central1
    South Carolina: us-east1
    If you pick another region/Part of the world, you have to pay the "pay as you go " rates. (that little fact cost me a whopping £0.76 before I noticed) :D lol!
    Thanks for the video!!

    • @statikverse
      @statikverse Рік тому +1

      This saved me so much time. Looks like Linode is the closest option we got

  • @Gregory-F
    @Gregory-F 5 років тому +523

    Hello Chris Titus. Just a quick message to tell you this: if you ever forget to type sudo in a command in the next line just type:
    sudo !!
    the double explamation mark means "repeat last line please". because you added sudo befor it will work as nothing happend.
    Befor leaving i just gona tell you this: thanks for sharing your knowledge with us.

    • @ChrisTitusTech
      @ChrisTitusTech  5 років тому +91

      Jeff THIS IS AWESOME!!!! You sir just saved me hours of collective time in a year.

    • @The2468101214161
      @The2468101214161 5 років тому +11

      @@ChrisTitusTech Pin that comment to the top.

    • @divertechnology
      @divertechnology 4 роки тому +1

      wow

    • @philrod1
      @philrod1 4 роки тому +9

      I love it! I shall pronounce the command "sudo !!" as "sudo FFS", which is short for "I meant sudo, FFS, and you fu#king know it!"

    • @ArsenGaming
      @ArsenGaming 4 роки тому +2

      Works in zsh too, but it only puts the repeated line in the next one so you have to press enter again, but the advantage is that you can edit the line.

  • @thepramodgeorge
    @thepramodgeorge 5 років тому +776

    how big is your monitor....you're literally staring at the ceiling

    • @zm7160
      @zm7160 4 роки тому +54

      He probably has a stacked monitor setup; with the camera sitting in the middle. Likely has recording software and notes on the bottom screen, whilst top screen is where he's working / recording.

    • @holymegadave
      @holymegadave 4 роки тому +306

      You don't understand haha 😂 he is watching at the cloud in real time

    • @berkut2006
      @berkut2006 4 роки тому +12

      @@holymegadave hahahah

    • @proplayzgaming2071
      @proplayzgaming2071 4 роки тому +8

      It is not big it is just high up

    • @LenVazroctstar
      @LenVazroctstar 4 роки тому +6

      😂😂😂😂😂😂😂😂😂😂😂

  • @lob5884
    @lob5884 4 роки тому +33

    Thanks for a great video! I just went through the whole process. Everything worked just like in the video! One request/suggestion: it is hard to follow your terminal commands when your terminal is in a full screen mode. New commands appear in the bottom of the screen and they are often hiding behind the youtube player buttons (since I pause and resume the video often). If the bottom of the terminal window was 15% from the bottom of the screen it would be perfect

  • @_H__M_
    @_H__M_ 4 роки тому +204

    I strongly recommend people should read Googles FAQ. Their "GCP Free Tier" is only 12 month. The "Always Free" program has lots of restrictions. If you exceed the limits, the'll make you pay for it. These costs can spiral out of control, if the server is getting abused by a hacker. People which need an explanation on what LAMP stands for are most likely not able to keep a LAMP VPS secure. Also, Wordpress installations don't have the best security track record. Wordpress is especially targeted by hackers due to it's popularity.
    Make no mistake: if you are running your own LAMP VPS in the Google cloud, you are fully responsible for it's security in all parts. You will be on your own to fix things, and you have to expect to deal with the consequences, if things go wrong. Ask yourself: do you feel confident to react quickly and apply fixes professionally?
    Shared hosting does not cost $20/month, these days. Many hosting companies offer great hosting plans for way less than that. I resell web hosting with premium plans for as low as $4.99/month, where the first year is just $2.99/month. Support is included. There is even a free plan, where you can use your own domain and install Wordpress using an one click installer. Yes, the free plan has it's limitations, but it's great to get an idea of how things work.
    People, which value their time and want to have a peace of mind, are better off spending $60 per year on a shared hosting plan. Think of the time it takes an inexperienced person to fix something on a server. Finding issues, googling for the fixes and applying changes can take hours. Rookies may even introduce security risks in the process. Getting used to the Linux shell and Vim takes some time, also.
    There is no doubt, that the big cloud providers have amazing data centers with great connectivity, however. Most websites are running just fine on "traditional" shared web hosting. With CDN services like Cloudflare, you should even get acceptable performance on static sites on less connected hosts. Good hosting companies also monitor their web servers 24/4, so you don't have to.
    Bottom line: hosting on Google's cloud it's good for people, who know what they're doing and can estimate the resource requirements of their projects well. Everybody else should stick with traditional hosting.

    • @jared4670
      @jared4670 4 роки тому +23

      Thanks man. Saved me the time and effort of writing this myself

    • @_H__M_
      @_H__M_ 4 роки тому +5

      @@squigglewacks Correct. There are only a few hosts which stay constant. I have a few sites on InterServer because of that. Use my referral link www.interserver.net/r/556606 if you like. I don't have my domains with them, though. For this I use Internet.bs, which have good prices, free domain WhoIs privacy, free DNS mangement and stuff. I prefer hosts, which don't force me to register the domain through them.

    • @TaewooKim
      @TaewooKim 4 роки тому

      Yeapppp...

    • @TheFactBird
      @TheFactBird 4 роки тому

      @@TaewooKim Can i get one subscriber please🙄.....Please help me to reach 1K....plzzzzzzzz🙏

    • @TheFactBird
      @TheFactBird 4 роки тому

      @@_H__M_ Can i get one subscriber please🙄.....Please help me to reach 1K....plzzzzzzzz🙏

  • @theodoros_1234
    @theodoros_1234 5 років тому +45

    I just noticed that the project name is "Hosting companies are crying"😂️😂️
    That was good. Also thanks for letting us know about Google Cloud Platform. This video was great and informative, as always!

  • @Kaljami
    @Kaljami 4 роки тому +3

    For anyone wondering how the cost forms:
    Every user gets 720(30x24) hours of free f1-micro vm usage per month. So you pay for 24 hours of usage every month that has 31 days.
    For the first year you get $300 worth of free credit so the couple of days you would be billed for are billed from that credit. After the first year you start pay for the couple of days.

  • @AlextheguitarFreak
    @AlextheguitarFreak 4 роки тому +7

    This was all over my head, I will gladly use one of the free hosting services. After seeing how much is involved in this I think they are a great value even with the limitations they have.

  • @AthenianStranger
    @AthenianStranger 3 роки тому +1

    I want to start by thanking you because everything worked-you explained everything very clearly. Personally, I felt like I was able to keep up but your speed sure did keep me on my toes. I had to rewind about a thousand times so it took me nearly 3 hours to get it all done.

  • @j0m0z
    @j0m0z 3 роки тому +52

    I missed the part where you pay less than a dollar a year. The instance you started is $4.68/month or $56.16 a year. Where is the free part?

    • @maritomesquita6719
      @maritomesquita6719 3 роки тому +3

      The comment I was looking for

    • @leguminosa9
      @leguminosa9 3 роки тому +4

      "Your first 744 hours is free on this month"
      free for 31 days, on this month

    • @TwoQs
      @TwoQs 3 роки тому +1

      I used this method almost 8 months ago and have yet to pay a single penny.

    • @sofiasstash3190
      @sofiasstash3190 3 роки тому +2

      "Your first 744 hours is free on this month"
      You can use your vm only for 31 days per month
      But you mays how you can use more hours per month?
      Actually you can have more than 1 vm for free, so this is a way to do this.
      I mean it's just a theory actually....

    • @MuhammadbinYusrat
      @MuhammadbinYusrat 3 роки тому +3

      Just to clarify, the free tier is only available in limited host locations. You WILL get billed if you use a host not included in the free tier. To be certain you have the correct host selected, look on the right where it says monthly estimate and it should say "Your first 720 hours of f1-micro instance usage are free this month."
      Details can be found here. @t
      Currently free tier hosting locations are:
      Oregon: us-west1
      Iowa: us-central1
      South Carolina: us-east1

  • @vaiolover1997
    @vaiolover1997 4 роки тому +74

    I think I understood one in ten words when he was going into the demonstration. 😆

    • @francisguchie1973
      @francisguchie1973 4 роки тому +5

      U need to go back to school and learn some linux lines and u will understand

    • @puremusic6360
      @puremusic6360 4 роки тому +5

      @@francisguchie1973 not every school teaches stuff like that FYI

    • @trumpetaa07
      @trumpetaa07 3 роки тому +2

      Francis Guchie schools don’t teach that unless you enroll in that specific course.

    • @classicnosh
      @classicnosh 3 роки тому +1

      @@francisguchie1973 - Everyone has a beginning ;) - I remember being intimidated by PDP-11

    • @qw56171
      @qw56171 3 роки тому +1

      @@classicnosh dude, your completely off topic here.

  • @cjwheeler08
    @cjwheeler08 3 роки тому +1

    My goodness ChrisT. I never thought that this would be that easy. Been dealing w/ shared host companies w/ poor servcies for year. But this i have total control. Open a new world for me and it wont be for word press. Great job on vids. Fun, Good Pace, and added humor. Thanks a bunch and happily subscribed and will be following.

  • @Bluelagoonstudios
    @Bluelagoonstudios 3 роки тому +1

    This is the part that I missed in the 80s, never thought thinking out of the box would go that way. You are amazing :)

  • @mariozenarju6461
    @mariozenarju6461 5 років тому +14

    And I was just thinking about creating a web shop for my dad. Thank you! ♥

    • @inspil
      @inspil 4 роки тому +1

      if u wanna have a tottaly free web shop go to Freewebstore... go google it...

  • @urielb.7476
    @urielb.7476 5 років тому +5

    Thanks Chris, one of your best videos. Like your channel a lot!

  • @vicikiehm5264
    @vicikiehm5264 4 роки тому

    For people who are not tech savvy, this is great, it opens new opportunities for us that we did not know about. Keep up the good work for the noobs please.

  • @jaochildkanomphingguitar4633

    Been watcNice tutorialng your vids for a good few weeks now, learning new sNice tutorialt each day. my worksoftow has improved so much since watcNice tutorialng

  • @pett22v20
    @pett22v20 4 роки тому +117

    Im confused there tital says for free, begining of the video he says 1 dollar a year then screen shows 5 dollars a month which is like $60. Am i missing something?

    • @nocturne_adagio
      @nocturne_adagio 4 роки тому +10

      yeah there are cheaper VPS providers out there (you can get a 1 vCPU 2 GB RAM VPS for cheaper from most EU based providers)

    • @briancastellanos179
      @briancastellanos179 4 роки тому +5

      and just for one web site...

    • @tmastersat
      @tmastersat 4 роки тому +5

      so it's still less for me on my 4 $ a month plan with unlimited domains and subdomain s.

    • @briancastellanos179
      @briancastellanos179 4 роки тому +1

      @@tmastersat hi, dude how you do that? cause this video shows how to install just one wordpress instance?

    • @radeksvoboda
      @radeksvoboda 4 роки тому +4

      Free is just a catchy title, $1 p.a. is the reality, while most of the $5 will be discounted in this case.

  • @infinixzero3975
    @infinixzero3975 4 роки тому +14

    Hostgator and its friend's disliked this video.

  • @Neil1701
    @Neil1701 4 роки тому

    I'm a linux noob, and completely unfamiliar with everything you've touched on here but I followed along and got a website working basically for free. Thanks so much!

  • @theobgshow
    @theobgshow 3 роки тому +2

    Happy new year Chris. This is another great delivery. I love your style, knowledge and presentation.

  • @papahuge
    @papahuge 5 років тому +10

    This is really sweet and awesome! But what about TLS or HTTPS, how do we make sure our site has security layer accessibility as most browsers demand it now a days.

  • @ChumX100
    @ChumX100 3 роки тому +4

    You could simplify and automate this process a lot with Docker. Also in some cases serverless services like cloud functions and clour run can be easier and cheaper.

  • @andresvaldevit3692
    @andresvaldevit3692 4 роки тому +1

    This is too good to be true since I'm about to do 2 new websites but I get why everybody is paying for their hosting and probably why I will too. I'm 100% sure I'll follow the same steps and somewhere the process will get stuck with an error message nobody else gets and even if I manage to pull off the whole thing I'm on my own if I need to modify, fix or upgrade anything.

  • @Stevesteacher
    @Stevesteacher 3 роки тому +1

    For those of you who are confused as to where the micro instance is:
    Under Machine configuration > Series
    Select N1
    Under Machine configuration > Machine type
    Select f1-micro

  • @guerbyduval4104
    @guerbyduval4104 4 роки тому +17

    Man, how do you do this? From the price calculator, the chepest cloud engine is "Total Estimated Cost: USD 33.88 per 1 month".

  • @michadybczak4862
    @michadybczak4862 3 роки тому +3

    I'm not getting how did count the costs? It shows for you 4,68 dollars/per month and yet you claim to pay a dollar per year. If I choose datacenter in Europe, in Germany, it shows me costs over 8,84 dollars, but interestingly, when I switch to Zurich, cost estimates are gone. It also shows 0,012 $ per hour. How is the real cost calculated thou? Only when a user enters the site and is browsing it? Or maybe per session time on backend, or both? Or maybe per OS running time? So should I power it down when not needed?
    Thanks for the explanation.

    • @MuhammadbinYusrat
      @MuhammadbinYusrat 3 роки тому +2

      Just to clarify, the free tier is only available in limited host locations. You WILL get billed if you use a host not included in the free tier. To be certain you have the correct host selected, look on the right where it says monthly estimate and it should say "Your first 720 hours of f1-micro instance usage are free this month."
      Details can be found here. @t
      Currently free tier hosting locations are:
      Oregon: us-west1
      Iowa: us-central1
      South Carolina: us-east1

    • @michadybczak4862
      @michadybczak4862 3 роки тому +1

      @@MuhammadbinYusrat Ah, thanks for the explanation. I suspect that Chris didn't know that and assumed that this free tier is available everywhere.

  • @mrdajve
    @mrdajve 2 роки тому

    Just set up my site. Many thanks for sharing this and it just goes to show how hosting companies have our pants down! Next step for me will be hooking it up to some sort of FTP client so I can update the site files etc... - thanks for the video!

  • @cardboardsix
    @cardboardsix 4 роки тому

    I didn't have time to check if (someOneHasNotedThisAlready), but in this kind of video (and with 'this kind' I mean instuction-heavy, which leads lots of pausing) you could set margin at the bottom of your video so UA-cam's bar (which pops up when you pause video) won't blog your terminals bottom bar. This detail made me once switch to another video (your where way better, but I was able to pause and see what he does in the terminal). There might be hack (option) to disable that bar, but 99% users won't do that. Other than that GREAT video, I like your calm and humorous, but adept style. Thanks mate!

  • @stargirl3352
    @stargirl3352 5 років тому +19

    Great Video :D
    Keep up your work!
    Btw, you can put status="progress" at the end of the dd command to see the the progress of dd

  • @PaperBagMan884
    @PaperBagMan884 4 роки тому +226

    Run away from Microsoft spying and straight to Google spying! Genius!

    • @PaulAlexander-tokyomagic
      @PaulAlexander-tokyomagic 4 роки тому +45

      Average information gathered summary "these people watch a lot of porn".

    • @jblack8149
      @jblack8149 4 роки тому +15

      Lol everyone is spying anyway

    • @wolfpoker
      @wolfpoker 4 роки тому +28

      What could you possibly wanna hide from a public web project?

    • @RobColbert
      @RobColbert 4 роки тому +18

      @@wolfpoker your users' data.

    • @Byteable
      @Byteable 4 роки тому +2

      Eye spy spies everywhere 👁

  • @deleriom
    @deleriom 4 роки тому +1

    Hey Chris, I just found your channel the other day. You have some awesome info here; your work is appreciated in all your videos.

  • @minibit0103
    @minibit0103 5 років тому +2

    Pretty much a gurus at explaining. Thank you for all you do to put these videos out. 🙏

  • @shutterassault1
    @shutterassault1 2 роки тому +5

    Does this still work? I followed this guide about a year ago and it was working great. Now I get charged every month. Started maybe 5-6 months ago. I'm not pushing any bandwith limits here. Get charged like $4/month. Still not horrible, but was wondering if something changed?

  • @dunste123
    @dunste123 4 роки тому +10

    I've noticed that cloudflare is relatively quick when it comes to DNS updates, usually one or two minutes

  • @tonysheppard5457
    @tonysheppard5457 4 роки тому

    I just wan say this is awsome. Have setup my own website using this yesterday. Works well after a few "scary" moments. Would love you to expand on this. Multiple websites, high speed websites... surely this is the beginning.

  • @bradscott3165
    @bradscott3165 5 років тому +1

    Chris, this is a really handy video. I've just revisited after a couple of weeks and I have to say great job.

  • @spaceiswater6539
    @spaceiswater6539 5 років тому +8

    Hi Chris you're a star in showing us how to create this, thank you so much.

  • @sariksiddiqui6059
    @sariksiddiqui6059 4 роки тому +8

    not gonna lie,this turned out to be fun...awesome tutorial

  • @GeekyDad84
    @GeekyDad84 3 роки тому

    Killer write up! Thank you so much for putting this together. The apache2buddy saved me at the end. My dog get out of our yard right as I was saving this and I somehow managed to copy the whole mpm ifmodule section in the 1st line. apache2buddy showed me the syntax error and your great instructions allowed me to easily jump back in and find the issue. Many thanks for sure! definitely subscribing.

  • @yam137
    @yam137 4 роки тому +1

    One of the best viedos Ive seen on cloud technology, Thankyou

  • @adrianscarlett
    @adrianscarlett 4 роки тому +9

    Just to clarify, the free tier is only available in limited host locations. You WILL get billed if you use a host not included in the free tier. To be certain you have the correct host selected, look on the right where it says monthly estimate and it should say "Your first 720 hours of f1-micro instance usage are free this month."
    Details can be found here. cloud.google.com/free/docs/gcp-free-tier
    Currently free tier hosting locations are:
    Oregon: us-west1
    Iowa: us-central1
    South Carolina: us-east1

  • @mrcrackerist
    @mrcrackerist 5 років тому +212

    why do you do this to me.... i need to sleep... -.-

    • @joksantelles1297
      @joksantelles1297 4 роки тому +3

      Same here lol

    • @TheFactBird
      @TheFactBird 4 роки тому

      Can i get one subscriber please🙄.....Please help me to reach 1K....plzzzzzzzz🙏

    • @TheFactBird
      @TheFactBird 4 роки тому

      @@joksantelles1297 Can i get one subscriber please🙄.....Please help me to reach 1K....plzzzzzzzz🙏

    • @nicolascabello2290
      @nicolascabello2290 4 роки тому +2

      just finished the video now i'll go to prepare coffee

  • @praedixerat4286
    @praedixerat4286 4 роки тому

    great way to deliver this guide. Many thanks from an absolute non techy guy who followed your clear guide and was successful.

  • @willhutcheon4144
    @willhutcheon4144 3 роки тому

    Dude- I think You just changed my life. Very impressive (new linux/VPS guy here!) -Subbed! --- Turns out the free-tier program is a little different now. They charge $0.40 per month persistent disk (10gb). The First 720 hours are free, and give you 90 days to consume $300+ of credits. So. This will definitely cost something per month. Your tutorial is awesome, but I do feel a little mislead about the true costs... Perhaps google changed the program in the last 1 year!
    Thank you for your efforts and excellent tutorial.

    • @JeffSmith03
      @JeffSmith03 3 роки тому

      Yeah I wish I tried it a year ago. I remember another youtuber saying it too, back then.

  • @Luix
    @Luix 4 роки тому +74

    When you create the micro instance it says 4 USD/month. How it is just 1 USD/year?

    • @marilynreno7510
      @marilynreno7510 4 роки тому +7

      Anyone? Considering this route also.

    • @ChewyChops
      @ChewyChops 4 роки тому +2

      Same. Anyone?

    • @RobertHolak
      @RobertHolak 4 роки тому +12

      TLDR: You get one f1-micro instance for free.

    • @MichaelMantion
      @MichaelMantion 4 роки тому

      @@RobertHolak whats a "f1"? which distro would you recommend people who are new using?

    • @jeffwells641
      @jeffwells641 4 роки тому

      @@MichaelMantion something small...

  • @ravikiranp7532
    @ravikiranp7532 5 років тому +41

    How exactly is the instance free? It clearly showed the estimated cost of the micro instance as 4$?
    Also, ever considered having virtualmin or similar on this?
    EDIT: Never mind.. It is free indeed. Also, you can install virtualmin. It works just fine..

    • @zvuk
      @zvuk 4 роки тому +2

      Replying just for people wanting an answer to your question: Yes it says estimate and it also says you pay for what you actually use.

    • @jimtech7542
      @jimtech7542 4 роки тому

      @@zvuk so this means i have to use 100% of the vm resources to pay 100% of the cost (4$)

    • @zvuk
      @zvuk 4 роки тому

      @@jimtech7542 no :)

    • @SkegAudio
      @SkegAudio 4 роки тому

      in this instance, should I install the minimal Virtualmin or the default?

    • @IamAWESOME3980
      @IamAWESOME3980 4 роки тому

      Free and no cost from what I've seen. It works good. I am actually using it to share free college textbooks
      .
      34.70.223.87/
      No cost as long as you keep the bandwidth reasonable so dont expect to have it stream porn unless you wanna pay extras.

  • @fanakiosmarketopolous5351
    @fanakiosmarketopolous5351 4 роки тому

    Man, you are a genius, so glad I discovered your channel. I subscribed and I wish to watch days and nights how to do these things:)Thank you for giving away so much knowledge.

  • @lutzdahmen1442
    @lutzdahmen1442 4 роки тому

    Great tutorial Cris. I havn´t used Linux for a decade but I got the hang of what you did. Thanks for sharing!

  • @ExilSvensk
    @ExilSvensk 4 роки тому +11

    If it's free then you're the product and everyone around you.

  • @johnrayan
    @johnrayan 4 роки тому +5

    Can we host multiple wordpress sites in GCP using same server which we have created ?

    • @shadiandrew
      @shadiandrew 4 роки тому

      Yes you can host as many as you wish BUT resources might not be enough which means you will have to upgrade and stuff will get more expensive

  • @cesartocon3073
    @cesartocon3073 4 роки тому

    I tried it and worked, I mounted a MEAN stack app in a vm, but I know that I have done a lot of bad practices, if you are just deploying a simple app I recomed you to use Cloud Run I personally think is easier to set up and cheaper than running a vm all the time.

  • @zm7160
    @zm7160 4 роки тому +1

    You can also host a static site (i.e. built with Gatsby/Jenkins), or any NodeJS, Golang, PHP, or Python website on Google Cloud's App Engine "Standard Environment" for actually zero dollars per year.

  • @iamtafara
    @iamtafara 4 роки тому +23

    00:35 i didn't know everyone watching youtube has a google account,,

    • @akpokemon
      @akpokemon 4 роки тому +3

      yeah that was a dumb statement. you don't need to be logged in to watch youtube

  • @stevesveryown
    @stevesveryown 5 років тому +8

    Explained very well but still blows my mind. I so want to understand this stuff.

  • @happymuncho1748
    @happymuncho1748 4 роки тому

    Wait... you’re telling me that you can create your own .com domain for free? My man ur a fucking legend, wow

  • @mnburch
    @mnburch 4 роки тому

    As a self-employed web developer, I was intrigued by the title of this video. However, my computer knowledge is strictly Windows so I was completely lost from the very beginning. This might as well have been in ancient Greek. I guess I'll keep on using SiteGround.

  • @sangramsingha11
    @sangramsingha11 5 років тому +9

    Nice.. that was very educational

  • @AnilArya51
    @AnilArya51 3 роки тому +3

    Warning ⚠️ It not free nor cheap ..
    It's for buisness, so do not proceed if you don't have enough traffic into your website or you created it for fun and learning ...

    • @JeffSmith03
      @JeffSmith03 3 роки тому

      except the first thing I had to agree to said that business use is not allowed?

    • @AnilArya51
      @AnilArya51 3 роки тому +1

      @@JeffSmith03 I got charged twice on GCP from my debit card and had to chat with their team and took a month to return the money, I agree their services are very good but they are intended for companies not tinkerers

    • @JeffSmith03
      @JeffSmith03 3 роки тому

      @@AnilArya51 yeah I wish Chris made it clear what it said when he signed up which made it free for him. He should warm in the video to always read what you're agreeing to.

    • @AnilArya51
      @AnilArya51 3 роки тому +2

      @@JeffSmith03 No actually he should have said only certain server locations and settings only give free access and unknowingly changing them may result in billing

    • @JeffSmith03
      @JeffSmith03 3 роки тому

      @@AnilArya51 so is there a way to know exactly what to choose?

  • @jvarella01
    @jvarella01 4 роки тому

    Great!!! Best I've seen. The community owes you a debt of gradatuide.

  • @disvillage
    @disvillage 3 роки тому

    It’s come a long way, great vid-
    Simple simple

  • @tarpan360
    @tarpan360 5 років тому +3

    I wonder how much of a pain it is to maintain such a system, I mean regular updates, which you have to do to make it secure. And updates sometimes cause problems. In shared hosting this is the provider's problem and they have time and resources to make it smooth.

  • @Kingvampiro
    @Kingvampiro 4 роки тому +3

    can I have more than one micro instance for free? or just the first one would be free?

  • @alic690
    @alic690 4 роки тому +1

    Great content Chris. Love your channel

  • @xonemasters
    @xonemasters 4 роки тому

    I was able to follow along pretty well I think for being a noob. A lot of the instructions I had to add "sudo" to but other than that it went pretty smooth. All things considered it took me a few hours as I had to research a lot of things as I followed along. Thanks!

  •  5 років тому +7

    If you make a video showing us how to configure mails whit this, using mailgun or whatever, i'm gonna love you forever.

    • @stevehall2984
      @stevehall2984 5 років тому +1

      I would like to see this as well.

  • @DaveHenry-mort8088
    @DaveHenry-mort8088 5 років тому +6

    Hey Chris, could you do a walkthrough for setting up Let's encrypt? I would like to do it but I'm not convinced I wouldn't bork my webserver.

    • @ChrisTitusTech
      @ChrisTitusTech  5 років тому +2

      Actually it was one of my older videos. Here is the link: ua-cam.com/video/yC3GTHJRQuM/v-deo.html I think this was my 10th video I ever made, but the content is still good.

    • @DaveHenry-mort8088
      @DaveHenry-mort8088 5 років тому

      @@ChrisTitusTech Thanks mate, I had gone back to the start but I must have missed that one. :-)

  • @DAW384
    @DAW384 3 роки тому

    It took me more than I expected but worked just fine. Thank you so much for this video!

  • @aliencraig
    @aliencraig 3 роки тому

    dude you are awesome! this is truly how cool engineers make tutorials.

  • @jordanforever2345
    @jordanforever2345 4 роки тому +5

    This is not free hosting. Your GCE config just costs you $4.68 x 12 months beside your static IP. Please
    Modify your video title.

  • @thomasmaurer1097
    @thomasmaurer1097 5 років тому +5

    living on the edge lOL ... love it root user ... another grate show !

  • @christianjhonsingian2443
    @christianjhonsingian2443 4 роки тому

    New sub, new Linux user, new GCP user, new learnings

  • @danielebadiali9921
    @danielebadiali9921 Рік тому

    This worked incredibly well! I can finally play it thanks

  • @kerenbanget1
    @kerenbanget1 5 років тому +11

    what about bandwidth quota to stay in the free tier program?

    • @ChrisTitusTech
      @ChrisTitusTech  5 років тому +1

      Good point, check what you are using before assuming. Also be sure and setup Alerts for Billing.

  • @xanosdarkpaw1
    @xanosdarkpaw1 5 років тому +3

    Lol, almost screamed at the screen when you almost put the script in the root for the website. :p

    • @ChrisTitusTech
      @ChrisTitusTech  5 років тому +4

      Haha what could go wrong? I have a funny story about a client that tossed all his backups for his site in a zip file IN THE ROOT... Needless to say he was hacked.

    • @SOGHIH
      @SOGHIH 4 роки тому

      I was going bit by bit and actually DID put the script there T_T
      Thankfully "rm" is a thing.

  • @cdrchrrs9028
    @cdrchrrs9028 4 роки тому

    Thanks for sharing this. I’m rethinking WordPress after watching this.

  • @manas_singh
    @manas_singh 4 роки тому +1

    The video is gold

  • @abhinavvaidya90
    @abhinavvaidya90 4 роки тому +13

    Hi Chris, cool video. One question, when you are creating the VM(4:05) it says it will cost $4.68 monthly something...how is that ?

    • @iLinked
      @iLinked 4 роки тому

      I wonder too

    • @zvuk
      @zvuk 4 роки тому

      It says that it is an estimate and it also says you pay for what you actually use, so i think this explains it.

    • @ellypaws
      @ellypaws 4 роки тому +2

      You're paying $4.68 monthly but you have $300 credits to use as part of the free trial. You'll only start paying this amount once you've used up all your credits. It should last you around 68 months (about 5 years)

    • @user-of1db2eo3r
      @user-of1db2eo3r 4 роки тому +2

      @@ellypaws $300 credits for 12 months only!!!

    • @peimanenato
      @peimanenato 4 роки тому

      Kei Anbie nothing related to 300 . I also not sure but it related to first free 700 plus thingie mentioned below it.

  • @SKTWoodDesign
    @SKTWoodDesign 4 роки тому +3

    Linux guru - thanks for this . I will try this

  • @TheMrGais
    @TheMrGais 5 років тому +1

    I am not sure if I have done/understood things wrong, but with your configuration, it is not 1 buck a year it is around 5 a month...

    • @RandyandPetraJ
      @RandyandPetraJ 5 років тому +2

      Agree, Chris could you explain? And is this only good for 1 year?

  • @ChristianJull
    @ChristianJull 4 роки тому

    A note here: the GCP Free Tier is very specific about the free part. cloud.google.com/free/docs/gcp-free-tier (scroll down to 'Compute Engine'). Basically one f1-micro VM in one of **ONLY three US regions**. So if like me you are outside the US and Canada, the latency will be like waiting for a crippled tortoise. Or you pay for servers in other regions for about $5.20/€4.40 per month ($62/€53 per year) for the same setup. That's about the same price as decent hosting with free domain, cPanel, email accounts, etc.

  • @aaronlee7991
    @aaronlee7991 3 роки тому +3

    You're like literally looking at the cloud while you're talking.

  • @Innocentdarkness72
    @Innocentdarkness72 5 років тому +5

    this video was super great, nice you share this i like this way , i going to move my site away form one.com now 55 dollars a year !!

    • @ChrisTitusTech
      @ChrisTitusTech  5 років тому +6

      Ouch, If you are looking for a registrar for buying domains I use namecheap.com and it is by far the best and cheapest registrar I've dealt with so far. All the big ones are horrid. I could probably go on a one hour rant about how much I hate register.com and godaddy.

    • @nickhersheys2706
      @nickhersheys2706 4 роки тому

      read my comments on top

  • @bryndelltorio201
    @bryndelltorio201 4 роки тому +1

    This video help me a lot, Thank you Chris. Your content is awesome!

  • @sigterm9ki11
    @sigterm9ki11 4 роки тому +2

    Buddy... awesome video. I fight with this stuff all the time with physical builds... on old computers lying around... its super fun and just wanted to give you props... i love the personality... i literally talk to myself like this while in /var/www... funny stuff! Great video.
    Sean

  • @dan_mer
    @dan_mer 4 роки тому +3

    And then you make a harsh comment on UA-cam, Google suspends your account, you loose all your data and your Website.

    • @nickhersheys2706
      @nickhersheys2706 4 роки тому

      LOL !

    • @sethmurrow
      @sethmurrow 4 роки тому

      If I do try this I think I will create a separate Google account I do not use on a daily basis.

  • @teamvigod
    @teamvigod 5 років тому +9

    I've been doing this the last few months!

    • @nerybarrios99
      @nerybarrios99 4 роки тому +2

      teamvigod does it actually works?

  • @AslamD
    @AslamD 4 роки тому

    Finally someone who knows Tasksel 😃
    I have been using it since many years and its perfect.

    • @ReezyTyler
      @ReezyTyler 4 роки тому

      Ah nice that you're familiar with this, so you recommend using this method in the long run? 2+ years?

  • @patriley2
    @patriley2 4 роки тому

    I'm so glad to have found your channel. Great video!

  • @512Bytes
    @512Bytes 4 роки тому +4

    How do i upload files, i tried to install a theme from wordpress and it keeps asking me for the FTP credentials

    • @squidben5780
      @squidben5780 4 роки тому

      install a centos 7 server with AAPANEL its just like Cpanel and you can upload files and download and manage all files and app on your server

    • @yosefm170
      @yosefm170 4 роки тому +3

      Hello, that´s why he ran the command - sudo chown -R www-data:www-data /var/www/html/* , type that in your terminal

    • @lmaoroflcopter
      @lmaoroflcopter 4 роки тому +1

      @@squidben5780 that's an absolutely insane recommendation.
      Like recommending a 50 cal to open a can of beans for dinner.
      Yosef has you OP.

  • @recessiv3
    @recessiv3 4 роки тому +1

    Keep in mind google has pretty good rates, *except for egress traffic*. They charge copious amounts for it, one instance I had up fro a week accumulated $50 in costs for an instance with an estimate $10 per month. This was almost entirely due to egress traffic (somewhere in the 100gb range of bandwidth usage) which is insane.

  • @pallekjrlaursen8388
    @pallekjrlaursen8388 3 роки тому

    Very nice. Good thing I watched it on a Saturday.

  • @Classicretail
    @Classicretail 4 роки тому +14

    5minutes in he is pasting into a 'terminal' I have no idea where that terminal is to be found

    • @BattousaiHBr
      @BattousaiHBr 4 роки тому +5

      Well this is probably too advanced for you anyway then

    • @psvisualdesign
      @psvisualdesign 4 роки тому +13

      @@BattousaiHBr so why don't you help him to learn something new?

    • @psvisualdesign
      @psvisualdesign 4 роки тому +1

      What OS are you running?

    • @BattousaiHBr
      @BattousaiHBr 4 роки тому +1

      @@psvisualdesign wayyy too much work.
      do the hard way and work up from the crumbs, will take you dozens of hours, but i think that's what everyone does.

    • @harshadmehta1400
      @harshadmehta1400 4 роки тому

      Terminal is always there is menu bar

  • @ajc0372
    @ajc0372 5 років тому +4

    OMG!, will definitely have to try this.

  • @kristawiebe9681
    @kristawiebe9681 5 років тому +2

    You are awesome. Thank you for sharing this with me. So easy!

  • @lmaoroflcopter
    @lmaoroflcopter 4 роки тому

    Nice video Chris.
    1. Had no idea gcp was free instance for life. - this is awesome... Just reaching the end of my free year and I'm super sad.
    2. Actually learned a few things about installing WordPress, it's an infrequent thing I do but damn that was slick.
    3. mpm-prefork... That's a brilliant tip.
    A trifecta of TIL. Nice one.

    • @lmaoroflcopter
      @lmaoroflcopter 4 роки тому

      Finally spun one of these up for development purposes and it's brilliant.
      Ensure you select the region's US and Iowa or south carolina. Once done, you get told "your first 696 hours of f1-micro instance usage are free this month". This is in addition to my free trial status. :) Thanks Chris for pointing this out.