page-banner-shape-1
page-banner-shape-2

How to Set Up your website on Google Cloud Hosting in India: A step-by-step Guide

  • Tanuj Chugh
  • September 17, 2025

How to Set Up your website on Google Cloud Hosting in India: A step-by-step Guide

In a digital-first world, a website is more than an online presence; It is an identity, a sales platform, and a brand. When launching your personal blog, e-commerce website, or corporate website from a hosting platform, it is crucial to choose the right hosting platform, as it will impact the speed, security and reliability of your site.

Out of the countless hosting options, Google Cloud hosting is a popular option for businesses and individuals who want to scale, perform, and save. This is especially key in a growing market like India, since internet penetration is on-the-rise, and most businesses are moving online, making it critical to host your website on a reliable platform like Google cloud.

This blog is a simple step-by-step tutorial for you to host your website on Google Cloud Hosting in India. By the end of this blog, you should be ready to launch your website in Google Cloud’s Indian data centre and beyond with confidence and experience optimal site performance for both locals and visitors internationally.

Why Google Cloud Hosting for websites in India?

Before we dive into the technical steps, it’s important to know why Google Cloud Hosting is the perfect online hosting provider for websites in India.

Google Cloud has Data Centre in India

Google cloud has data centres located in Mumbai and Delhi NCR which means your website’s data is stored very close to all your Indian users. With data being hosted closer to the user, latency will be decreased and loading speeds for website visitors will be faster.

Scalable and Flexible Infrastructure

Google Cloud allows you to start small and scale any resources as your traffic grows. Whether you have a static portfolio website on your e-commerce shop gets thousands of traffic monthly, you can ad hoc upgrade your resources like CPU, RAM and storage without any downtime.

Great Pricing with Free Credits

Once you invest in Google Cloud as a new user, instantly you are eligible for $300 of free credits, which can cover many small to medium websites for a few months at no cost. Google Cloud charges on a pay as you go basis, meaning you pay for things like CPU, RAM, and storage, etc. as you actually consume them.

Strong Security Features

Google Cloud has DDoS protection, SSL Support, firewalls, and identity management, among numerous other features, as you don’t have to worry about cyber security no matter if it’s an internal website, on-line service or e-commerce.

SEO and Business Advantages

Faster Website improve SEO rankings

HTTPS by default improves trustworthiness.

99.99% uptime means your business will never lose opportunities.

Type of Hosting Option on Google Cloud

There are several ways to host your website on Google Cloud. You can choose from these Options based on your technical capability and business requirements:

  • Compute Engine (VM Hosting) – Have total control over a virtual machine. A good option for developers.
  • App Engine (Serverless Hosting) – Let Google manage the scaling for you. A great choice for application and dynamic sites.
  • Cloud Run – Containerized application that are easy to deploy 
  • Cloud Storage ( Static Website Hosting) – Simple, static websites without server – side code will work here.

Create a Google Cloud Account

Go to the official Google Cloud Platform.

Click Get start for free.

  • Sign in with your Google account.
  • Fill in Profile billing information (required but you won’t be charged until you exceed the free credits).
  • You will get $300 credits, non-expiration, and valid for 90 days.
Pro Tip

Use these free credits to play around and test different hosting setups before going to a paid plan

Setup a New Project

Access the Google Cloud Console.

  • At the upper navigation bar, click on the project dropdown.
  • Click create project.
  • Click Create 
  • This project will be your hosting environment.

Choose your Hosting Region

Since you want to host your website in India for better speed and compliance:

  • Go to Compute Engine > Settings.
    Under Region, select Mumbai (asia-south1) or Delhi (asia-south2).

This ensures that your website loads faster for Indian visitors.

Create a Virtual Machine (VM Instances)

Go to Computer Engine > VM Instances

  • Click Create Instances 
  • Configure your VM:
  • Name : Website-VM
  • Region: Choose Mumbai or Delhi
  • Machine type: e2-micro (free tier), e2-small for medium sites.
  • Boot Disk : Ubuntu 22.04 LTS (this is stable and recommended)
  • Firewall : Check allow HTTP traffic and Allow HTTPS traffic.
  • Click create.

Congratulations, your server is live now!

Connect to Your VM via SSH

  • From the VM dashboard, click SSH.
  • A terminal window will open in your browser.
    Update the system packages:

    sudo apt update && sudo apt upgrade -y

Now your server is ready to host web applications.

Install a Web Server (Apache or Nginx)

Option 1: Install Apache

sudo apt install apache2 -y

Test: Visit your external IP in a browser – you’ll see the Apache default page.

Option 2: Install Nginx

sudo apt install nginx -y

Test: Visit your external IP – you’ll see the Nginx welcome page.

Apache is beginner-friendly, while Nginx is faster for high-traffic websites.

Upload Your Website Files

Install gcloud CLI or use SCP to transfer files.
Example command:

scp -i ~/.ssh/your-key index.html user@EXTERNAL_IP:/var/www/html/

Replace the default index.html with your website’s files.

Connect Your Domain

Buy a domain (GoDaddy, Namecheap, BigRock)

Go to DNS Management from your registrar’s dashboard.

Create an A record pointing to the external IP of your Google Cloud VM.

Wait for some DNS propagation – it may take up to 24 hours.

Now, typing your domain (e.g., www.mywebsite.com) is going to open your site.

Enable Free SSL (HTTPS)

To make your site secure and SEO-friendly:

Install Certbot:

sudo apt install certbot python3-certbot-apache -y

or for Nginx:

sudo apt install certbot python3-certbot-nginx -y

Run:
sudo certbot –apache

or
sudo certbot –nginx

Choose your domain and enable automatic redirection from HTTP to HTTPS.
Now your website is secure with an SSL certificate.

Optimize Performance

Enable Google Cloud CDN – for faster distribution in Indian and globally.

Implement Caching – Set browsing caching for static assets.

Compressed Files – Enable Gzip or Brotli compression.

Light weight Theme (WordPress User) – Help with load speed.

Check Uptime – Use Google Cloud Monitoring.

Ready to build a faster, more reliable website for your Indian audience?

Launch your site on Google Cloud today and claim your $300 in free credits. No credit card required to start

Get Started

Backup and Scaling

Google Cloud will allow you to schedule automatic daily backups.

Then if traffic begins to spike or expand, upgrade CPU/RAM in VM settings.

If you expect extreme traffic levels, use Load Balancing.

Tanuj Chugh

He is the CEO and Founder with over a decade of experience in cloud infrastructure, DevOps, and server optimization. With a strong vision and hands-on leadership approach, he has built scalable, secure, and high-performance cloud solutions trusted by businesses across industries.

https://cloudminister.com/

Leave a Reply

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

Call Now Button