Google Cloud Compute Engine

Set up Google Compute Engine Instance with CentOS 7

Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we recommended.

Pinterest LinkedIn Tumblr

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

Click Create.

Compute Engine setup with CentOS 7

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.

New VM Instance

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.

Reserve Static IP Address

Error Handling

Unable to create VM Instance

Please check whether you have activated billing in your account. Creating new Compute Engine requires billing activated.

Write A Comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.