Skip to content
Home ยป How to Create a Virtual Machine in GCP?

How to Create a Virtual Machine in GCP?

Many people use cloud technology provided by cloud providers such as AWS, GCP, and Azure to support their business operations. One of the features of this technology is the use of a virtual machine, or VM.

 

Problem

How to create a virtual machine in GCP?

 

Solution

There are several ways to create a virtual machine or a VM in GCP, but this article will explain how to create a virtual machine in the GCP console. In the GCP Console, at the top left corner, click the Navigation menu, which is symbolized by three lines as in the image below:

Click the icon

 

Then click Compute Engine > VM Instances as in the image below:

Click the VM instance

 

After that, click the CREATE INSTANCE button, then a display will appear as below:

Click the button

 

You will see a display like the image below:

Fill in the columns in the machine configuration section

 

In the Machine Configuration section, you have to write the name of the VM, the location of the VM, the CPU, the RAM, and the type of machine that will be used in your VM. I wrote down my VM requirements as in the picture above. After filling in this section, click the OS and storage section. Here you can choose the OS you use and how many hard disk sizes you want in the VM using the CHANGE button:

Fill in the OS and storage section

 

After that, in the Networking section, you have to fill in the network requirements for the VM. I filled it in as shown in the image below. I don’t fill in the Observability, Security, and Advanced sections because I don’t need them for my virtual machine.

Fill in the Networking section

 

After that, I press the CREATE button and wait until the virtual machine creation process completes:

The new VM has been created


If you want to access your VM, then press the SSH button, and you can see the OS and HDD size on your VM in the image below:

Access to the VM using the SSH button

Note

At first glance, it seems easy to create a virtual machine in GCP. However, if you work in real conditions, there will be many options that must be filled in when creating your virtual machine.

 

References

diana-moraa.medium.com
techrepublic.com

image_pdfimage_print
Visited 26 times, 1 visit(s) today
Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *