Create and Manage VM instance for Google Console

Introduction

In this blog, I will help you to create instance in virtual machine. You can create instances from following ways:

1. Creating an instance from a public image

2. Creating an instance from a custom image

3. Creating an instance from a snapshot

Compute Engine automatically starts the VM instance after you create it.For this tutorial I am going to install Linux OS but you can select anything listed in the public list. Before you begin You must have a paid google server and setup all billing information before you start your configuration.

1. Creating an instance from a public image The disk images listed in the public repository can be used to create your own customized server instance. An image contains the bootloader, root filesystem, and an operating system that runs on the instance. Public images are provided and maintained by Google, open-source communities, and third-party vendors. By default, all projects have access to these images and can use them to create instances with common operating system images.

First you need to backup root persistent disk with a snapshot, then you can use that snapshot to create new instance Creating an instance from a snapshot is useful when you need to roll an instance back to a previous state or restore the root disk of an instance that you deleted unintentionally.