How to Create Virtual Machine in Google Cloud

A Virtual Machine (VM) is a compute resource that uses software instead of a physical computer to run programs and deploy apps. It runs on an isolated partition of its host computer with its own resources of CPU power, memory, an operating system (e.g. Windows, Linux, macOS), and other resources.

 

  • Login to Google cloud portal.
  • Click on compute engine.

 

Fig 1

 

  • Click on create instance.

 

Fig 2

 

  • Provide VM instance name.
  • Select Region & Zone.
  • Select General-purpose machine configuration.

 

Fig. 3

 

  • If confidential computing service is required on vm click on checkbox.
  • Click on Change Boot disk option.

 

Fig. 4

 

  • Select Operating system & Version.
  • Select Boot disk type & Size in GB.

 

Fig. 5

 

  • Click on Allow HTTP traffic & HTTPS traffic.
  • Then click on Management option.

 

Fig. 6

 

  • If enable deletion protection then instance can not be deleted.
  • Click on Security.

 

Fig. 7

 

  • Select Integrity monitoring for logs.

 

Fig. 8

  • Click on Disks.
  • Provide device name.
  • Click on add new disk or attach existing disk option for addition disk.

 

Fig. 9

 

  • Click on Networking.
  • Provide the network tag name.
  • Then click on create.

 

Fig. 10

 

  • Once instance is ready, it’s  will be listed on the VM instances page with a green status icon.

 

Connect to the VM instance

 

  • Connect to an instance by using the Google Cloud Console .
  • In the Cloud Console, go to the VM instances page.
  • In the list of virtual machine instances click SSH.

 

Fig.11

Leave a Reply