Using Google Cloud Storage + Cloudflare to Host a Static Website for just PENNIES PER MONTH!

Using Google Cloud Storage + Cloudflare to Host a Static Website for just PENNIES PER MONTH!



This is a quick tutorial of what I think is currently the best option for hosting static websites, within a Google Cloud Storage bucket with HTTPS provided by Cloudflare!

There are many ways to host a static website, but in my opinion, none can compete with this one in terms of simplicity, scalability, and affordability (it’s practically free!).

Yes, I actually bought that domain, and the website is live 😁:

Verifying domain ownership for GCS bucket creation:
– (google domains)
– (any domain provider)

Why does a static site even need HTTPS?

Code from this video and others:

Cheers!

Timestamps:
– 0:00 Intro
– 0:38 Super simple static site setup… w/ SSL
– 0:45 Buying a new domain
– 0:56 Add domain to Cloudflare
– 1:22 Add CNAME record
– 1:38 Choosing Flexible SSL
– 2:13 gsutil commands
– 3:25 rsync
– 3:50 Viewing live site
– 4:07 Question of the week
– 4:27 Outro

Community Size at Time of Posting:
– Subscribers: 592
– Channel Views: 9647

Note: I have a running joke with my wife that I’m not going to shave my beard until I reach 1000 subscribers (the last time I did was at 100…) and it is starting to get out of control 🧔+🎅+😳+😬+😅+😂

6 thoughts on “Using Google Cloud Storage + Cloudflare to Host a Static Website for just PENNIES PER MONTH!

  1. i am sys admin slowly trying to learn the development side of work and i find your videos are simple and clear and able to follow along. Thanks for taking your time to share your knowledge for rest of the world to benifit . i could hit the like button 100 times if there is option but i can't haha. keep up the good work thanks 🙂

  2. i think you are awesome and you make things sound very simple
    but i would like to recommend that you get some mic that would make your voice more clear not that we cant hear you from this one but it would help a lot
    thank you and i hope you reach one billion subs today

  3. Very nice! 👌 I have usually bought some ftp space from some service provider and hosted my site there. I will definitely look into this next time I need hosting for a static site.

Leave a Reply

Your email address will not be published. Required fields are marked *