Creating Compute Engine VMs

Compute Engine Deep Dive.

Compute VM

In this lesson, we will explore each property of the Compute Instance. We will use Console(GUI) for this. Later on, once we cover all the properties, we will see how to create an equivalent Google SDK command with a single click.

Introduction

Just to recap, virtual machines (Compute Engine) is useful when you need ultra-high performance using Persistent SSDs, Local SSDs, GPUs, and high memory and compute power. Also, when container orchestration is not required.

VMs are an essential part of many infrastructures. Even Virtual Private Clouds are also created using Compute Engine.

Workloads such as 3D rendering which requires multiple GPUs or batch processing in a cost-efficient manner using Preemptive instances are great examples of VM use cases. So, let’s create our first virtual machine.

Creating a virtual machine using GUI

Open Main menu > Compute Engine > VM Instances.

If the compute engine API is not enabled you might see a text saying API is being enabled. Once API is enabled.

You should see the dashboard to create a virtual machine. Click on the create instance button.

Click on "CREATE INSTANCE" button.
Click on "CREATE INSTANCE" button.

This will open a form containing all the properties of the Compute Engine. Let’s understand each input field one by one.

In the left side pane, you will see the multiple ways to create a VM. In this lesson, we will focus on the first one, creating a “New VM instance”. So, let’s fill the form.

  • Name: This is the user-defined name unique for this project.

  • Label: This is a key pair based values which help ...