Launch Your Static Website on Google Cloud

Justin Monteza
Aug 22, 2017 · 3 min read

What is Cloud Storage? ☁️

Cloud storage is one of the easiest and cheapest ways to host your static and dynamic websites nowadays. Amazon, Google, and Microsoft are the top providers of cloud storage. They offer free tier pricing for their products that will be sufficient enough to meet the needs of your website especially if you’re just starting out.

Setting Up ⚙

  • You need to have an account on Google with your payment information on hand because of the registration requirement and preferably a domain name that you own.
Google Cloud offers $300 credit that you can use for 1 year to explore their products.
  • Before anything else, have your domain verified by going to Google Webmaster Central and adding your domain as your property.
Add your domain as your property to be able to use it on Google Cloud

Connect your Domain 🏠

I’ll be using GoDaddy to connect my website to a domain. You can use your domain registrar to complete this step because of the similarity in the process.

  • Go to your Domain DNS Management
  • Create a CNAME alias that points to c.storage.googleapis.com.
  • Save your settings.

Uploading to Cloud 🚀

Select Storage
  • On browser, create a bucket that will serve as a repository of your website files.
  • Pick a name (must be the same name as your domain or subdomain name), choose multi-regional, and set United States as your location.
  • Once it’s created, upload your folders inside the folder including HTML, CSS, and JavaScript files.
  • Set the individual files to be shared publicly using the button on the top navigation panel to give others permission to view your website.
  • Edit your website configuration by going back to your bucket homepage
Click the vertical dots on the right-hand side.
  • Set your homepage and 404 page.
Make sure, you type in correctly your file name and hit save.
  • Type in your domain and hope it shows up

Thank you so much. If you like this guide, please kindly give it a heart.

)

Justin Monteza

Written by

Design + Code | justinmonteza.com

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade