How to host a static website for free using Google Cloud Platform

News Ever


What is Google Cloud Platform ?

Google Cloud Platform is a data center infrastructure that Google uses for their products like Youtube, Search, etc. GCP is one of the popular cloud services especially for startups and websites since its price is cheaper and affordable than other cloud computing providers. Other popular cloud service providers are Amazon Web Services, Microsoft Azure, Oracle and IBM Cloud.

Google provides 300$ credit for free to new users. We can use this to host a new html site for free.

Steps for hosting a website in Google Cloud Platform :

  1. Signup for free quota from Google cloud website using your google account and validate credit card details.


  1. Then Create a project by giving your needed website name.

  2. Create an app in App Engine to your project
    Create an App

  3. To Deploy your website to the created app, download Google Cloud SDK from the link .

  4. Run Google Cloud SDK

  5. Initialize the Google cloud SDK with gcloud init command.
    Gcloud Init
    Next Step

  6. Create a website design for your startup in path_to_website_root_folder

  7. Point command prompt to the folder the website files exists
    cd ../../path_to_website_root_folder/

  8. Create app.yaml file and map website files in the website root folder. Follow the standards and code snippets in the link

  9. Deploy the app using command gcloud app deploy

  10. The files will be uploaded successfully and a subdomain will be generated on appspot domain. You can use that subdomain or connect your own domain to the project.

Post a Comment

  • Latest Biss Key + Frequency
    • NHL Service - 10762 V 28800 (7E) - Biss : 12 24 01 D3 11 4B 97 F3 
    • Varzish Sport HD - Yahsat 1A Satellite - Biss Key: 12 34 00 46 EB CD 00 78
    • Bein Sport - Eutelsat 16A Satellite - Biss Key: 12 24 01 D3 11 4B 97 F3
    • Discovery HD UK / Sky One HD - 12188 H 29500 8/9 - Astra 28E
    • Fox Sports Eredivisie 1 HD - 12073 H 30000 - Eutelsat 9E
      • BBC Earth - 11064 V 27500 - Eutelsat 25E
      • BBC Red Button HD 2/3/4/5/6 - 12421 H 27500 2/3 - Astra 28E
      • beIN SPORTS HD NEWS 12604 H 27500 2/3 Nilesat 7W
      Cookie Consent
      We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
      It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
      AdBlock Detected!
      We have detected that you are using adblocking plugin in your browser.
      The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
      Site is Blocked
      Sorry! This site is not available in your country.