Creating a VM Instance On Google Cloud Platform

Posted on Leave a comment
Google Cloud Platform
Reading Time: 2 minutes

Once you have a Google Cloud Platform account (GCP) it´s time to have fun and take advantage of your free tier. In this tutorial, we will learn how to create a VM Instance On Google Cloud Platform

Virtual Machines are very useful and widely used, you can easily have a fully customized machine ready to deploy your application or even create a complete development environment for remote development. See how.

Step by step

  • Access your Google Cloud Platform dashboard
  • On the left panel go to Compute Engine -> VM Instances

When access this option for the first time it can take some minutes until the options be available.

  • Click on Create instance button;
  • Give a name for your VM Instance. In this example, we will choose becloudnativedev;
  • On the fieldRegion, select the region for the VM. Regions inside the US usually are cheaper. In this example, we will choose us-west1 (Oregon);
  • On the field Machine type select one that matches your performance requirements. In this example, we will choose n1-standard-1 ;
  • OnBook disk session, you can choose an operating system image. In this example, we will choose Ubuntu 18.04 LTS ;
  • On the fieldBoot disk type, you can choose the storage for your VM instance. In this example, we will chooseSSD persistent disk 50GB;
  • Click on the Select button to confirm all the options;
  • On the Firewall session check the option Allow HTTP traffic ;
  • Click on theCreate button. And wait for the VM creation. This can take some minutes. ;

The new virtual machine will show up in your VM instances list as green. This means that it is ready to use. An internal and external IP is attributed to it. You can use the External IP to access your virtual machine remotely. In the SSH option, you can open an SSH web console to connect to the machine. Be advised that the External IP address can change when you restart your virtual machine. Do not forget to stop the virtual machine after the use.

Watch the following video and see all these steps.

Leave a Reply

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