First go to compute engine and create an instance
When created go to ssh and install nginx => sudo apt-get update
&& sudo apt-get install nginx
When done you can now access through the IP mentioned along your instance through http://35.xx.x.xx
Then we need to change the IP to a static one
Go to VPC Network and change ephimeral to the static IP option
THen Go to network services:
Create a A record with your IP 35.xx.x.xx
Create a CNAME with www
.domain-name.com and value in alias domain-name.com
Go to your domain provider in my case it was godaddy