Get started and setting up a Google Compute Engine Instance. In this post, I will guide you through the process of setting up a Compute Engine Instance for your website or app or blog on CentOS 7.
Not using CentOS 7? Choose a different OS:
- Comfortable using LINUX command line interface
- Signup for FREE Google Cloud Account (If you are opening a new account you may get free $300 credit for 1 year).
- Setup and enable billing for your account.
- Create a Google Cloud project and navigate to your project dashboard.
Create Compute Engine VM Instance
Now create a VM Instance with the following details
Name: Your desired name
Region: Closest to your audience
Zone: Your choice
Machine Type: Micro(0.6 GB Memory) to start with. You can choose the Machine size you need
Boot Disk: CentOS 7
Identity and API access: Allow full access to all Cloud APIs
Firewall: Check Allow HTTP traffic & Allow HTTPS traffic
It will take some time to create your new instance. Once the VM instance is created you will get your public IP address like the following image.
Reserve your IP Address
Your Compute Engine Instance will be ready for installation of software packages within minutes. Each VM instance has an internal and external IP address. Whenever you restart or stop-start your instance a new IP address will get assigned. So you have to reserve your external IP address as static. Go to VPC Network -> External IP addresses and reserve the IP address.
Unable to create VM Instance
Please check whether you have activated billing in your account. Creating new Compute Engine requires billing activated.