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
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
Deploy a web server and connect it to a virtual machine.
Familiarity with standard Linux text editors such as
nanowill be helpful.
Join Qwiklabs to read the rest of this lab...and more!
- Get temporary access to the Google Cloud Console.
- Over 200 labs from beginner to advanced levels.
- Bite-sized so you can learn at your own pace.