Creating a Virtual Machine




Create a Compute Engine instance and add Nginx Server to your instance with necessary firewall rules.

Create a new instance with gcloud.

Creating a Virtual Machine

40 分钟 1 个积分


Google Cloud Self-Paced Labs


Compute Engine lets you create virtual machines running 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 has been designed to be fast and to offer strong consistency of performance.

In this hands-on lab you'll learn how to create virtual machine instances of various machine types using the Google Cloud Console and using 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, students should type the commands themselves to reinforce their understanding of the core concepts

What you'll do

  • Create a virtual machine with the Cloud Console
  • Create a virtual machine with 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

加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容!

  • 获取对“Google Cloud Console”的临时访问权限。
  • 200 多项实验,从入门级实验到高级实验,应有尽有。
  • 内容短小精悍,便于您按照自己的节奏进行学习。