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
-
Log in to your Google Cloud Platform https://console.cloud.google.com
-
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
-
Navigate to Compute Engine
-
Once the Compute Engine window opens click on Create Instance.
-
Enter the Name of the instance you want to give.
-
You can click on the Add Labels button and enter the Key and the Value and then select Save.
-
Select the Region and Zone in which you want to create the instance.
-
In the Machine Configuration section, select the Series and Machine Type
-
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.
-
In Identity and API access, select the Service account and the Access Scope.
-
Select the Firewall rules to allow specific network traffic.
-
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.

Riyaz Walikar
Founder & Chief of R&D
Riyaz is the founder and Chief of R&D at Kloudle, where he hunts for cloud misconfigurations so developers don’t have to. With over 15 years of experience breaking into systems, he’s led offensive security at PwC and product security across APAC for Citrix. Riyaz created the Kubernetes security testing methodology at Appsecco, blending frameworks like MITRE ATT&CK, OWASP, and PTES. He’s passionate about teaching people how to hack—and how to stay secure.

Riyaz Walikar
Founder & Chief of R&D
Riyaz is the founder and Chief of R&D at Kloudle, where he hunts for cloud misconfigurations so developers don’t have to. With over 15 years of experience breaking into systems, he’s led offensive security at PwC and product security across APAC for Citrix. Riyaz created the Kubernetes security testing methodology at Appsecco, blending frameworks like MITRE ATT&CK, OWASP, and PTES. He’s passionate about teaching people how to hack—and how to stay secure.