Static Website Hosting with Google Cloud Storage
1. Does hosting a website in GCP incur any charges?
Google Cloud Offers a free trial for new customers. A new user will get $300 (INR 24,977)
for 90 days. GCP also offers free credits for students who want to learn and explore cloud.
2. Do I need to enable billing for Cloud Hosting?
Yes. Your project should have a billing account to create a bucket and upload objects.
3. How to estimate cloud hosting charges?
You can visit https://cloud.google.com/storage/pricing.
This is Cloud Storage pricing page.
Here you can learn how cloud storage calculate price for various services.
4. How to maximize the availability of my website?
While creating your bucket, select Location Type as
multi-region
or
dual-region
for high availability.
5. How to delete my website?
To delete your website, you can simply delete your project. From the navigation menu
go to IAM & Admin -> Manage Resources. Here you can modify or delete your project.
Static Website Hosting with Google Cloud Storage: Hosting a Web App
In this tutorial, we will host a static website in Google Cloud Storage(GCS). If you want to host your resume as a portfolio website or if you want to have a website for your small to medium company, then hosting a static website is the best solution. This is very useful if you don’t have much traffic to your website and you don’t want to pay much for web hosting.
In this article, we will host a basic calculator web app in Google Cloud.