Creating a Virtual Machine

search share Join Sign in

Creating a Virtual Machine

40 minutes 1 Credit


Google Cloud Self-Paced Labs


Compute Engine lets you create virtual machines that run different operating systems, including multiple flavors of Linux (Debian, Ubuntu, Suse, Red Hat, CoreOS) and Windows Server, on Google infrastructure. You can run thousands of virtual CPUs on a system that is designed to be fast and to offer strong consistency of performance.

In this hands-on lab, you'll create virtual machine instances of various machine types using the Google Cloud Console and the gcloud command line. You'll also learn how to connect an NGINX web server to your virtual machine.

Although you can easily copy and paste commands from the lab to the appropriate place, we recommend that you type the commands yourself to reinforce your understanding of the core concepts.

What you'll do

  • Create a virtual machine with the Cloud Console.

  • Create a virtual machine with the gcloud command line.

  • Deploy a web server and connect it to a virtual machine.


  • Familiarity with standard Linux text editors such as vim, emacs, or nano will be helpful.

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the cloud console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab