Compute Engine Google Cloud

Setting up Google Cloud Compute Engine Instance with Ubuntu 18.04

Get started and set 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 Ubuntu 18.04.

Not using Ubuntu 18.04 LTS? Choose a different OS:

Ubuntu 18.04 LTS


  • Signup for FREE Google Cloud Account (If you are opening a new account you may get free $300 credit for 1 year).
  • Setup billing for your account (You must link your credit card before starting)
  • Create a 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: Ubuntu 18.04 LTS

Identity and API access: Allow full access to all Cloud APIs

Firewall: Check Allow HTTP traffic & Allow HTTPS traffic

Click Create.

VM instance setup

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.

Cloudbooklet builds a large collection of Linux based guides and tutorials on Cloud platforms like Google Cloud, AWS, Azure, DigitalOcean and more

Write A Comment

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