How to create a Virtual Machine on Google Cloud

Priyam Singh

~ 2 min read

Creating Virtual Machines on cloud platforms is one of the most common activities. This article is a quick guide for creating a Virtual Machine on Google Cloud.

Introduction

A virtual machine can be considered as a virtualized instance that can perform almost all of the same functions as a physical server, including running applications and operating systems.

Virtual machines are used for running programs and operating systems, storing data, connecting to networks, doing other computing functions, and require maintenance such as updates and system monitoring.

In this article we will go through steps to create a virtual machine in Google Cloud Platform and do the configuration.

Creating a Virtual Machine on Google Cloud

  1. Log in to your Google Cloud Platform https://console.cloud.google.com

  2. Switch to the project in your organisation in which you wish to create the Virtual Machine. Click on the drop down button and select the project name

    GCP switch project

  3. Navigate to Compute Engine

  4. Once the Compute Engine window opens click on Create Instance.

    GCP create instance

  5. Enter the Name of the instance you want to give.

    GCP instance name

  6. You can click on the Add Labels button and enter the Key and the Value and then select Save.

    GCP instance Labels

  7. Select the Region and Zone in which you want to create the instance.

    GCP instance region/zone

  8. In the Machine Configuration section, select the Series and Machine Type

    GCP vm machine configuration

  9. In the Boot Disk section, change the Operating system, the Version, the Boot disk type, and the Size according to your requirement. Then click on Select.

    GCP vm machine boot disk

  10. In Identity and API access, select the Service account and the Access Scope.

    GCP vm Identity and API access

  11. Select the Firewall rules to allow specific network traffic.

    GCP vm firewall rule

  12. Select Create and the Virtual Machine will be created successfully.

Conclusion

This article gives you a step by step guide to create a Virtual Machine on Google Cloud. If you are a beginner or just want to start a compute as smoothly as possible, the instructions in this article will help you get started.

;