Qwiklabs GCP Essentials: Creating a Virtual Machine

Welcome to this project on Qwiklabs GCP Essentials. This is the first project in this series. In this project, we will perform three tasks:

  • Create a virtual machine with the GCP Console
  • Create a virtual machine with gcloud command line
  • Deploy a web server and connect it to a virtual machine

This project assumes that you have already signed up for Qwiklabs.

Unavailable
Qwiklabs GCP Essentials: Creating a Virtual Machine

Task List


We will cover the following tasks in 23 minutes:


Introduction and Setup

The lab that we are working with today is part of Qwiklabs’ GCP Essentials Quest. Before we get to the actual lab, we will familiarize ourselves to the Rhyme interface.


Start Lab and Sign into GCP

Hopefully, you have the required credits in Qwiklabs. Let’s click on the Start Lab button on the top left corner on our screen. Then, click on the Launch button. This will give you your unique credentials - that is, your unique user id, password and GCP project identifier. You will also see a timer on top which indicates the duration for which these credentials can be used on GCP.


Activate Google Cloud Shell

To manage your resources, GCP provides you with a cloud shell. This is a virtual machine which comes with some development tools and provides access to GCP services and resources.


Create VM Instance from GCP Console

In this task, we are going to create a virtual machine instance on GCP using the GCP console. First, go to the main navigation menu in your Cloud console. Find the option that says Compute Engine and select the VM Instances sub menu. We don’t have any existing VM or virtual machine instances in our project. Let’s click on the create button to create one. There are many parameters that can be configured for the virtual machine instances.


Install NGINX

We want to install a web server called NGINX on this instance. To do that, we will access the VM instance using SSH or secure shell. Clock on the SSH button on the right hand side and it will launch a new window with the shell.


Create VM Instance with gcloud

Instead of using the Cloud Console, we could also create VM instances using the gcloud cli which is pre-installed on google cloud shell as we saw in the second task of this project. Once you start using GCP frequently, you will find the gcloud cli very useful and much faster to use compared to using the Cloud Console.

Watch Preview

Preview the instructions that you will follow along in a hands-on session in your browser.

Amit Yadav

About the Host (Amit Yadav)


I am a machine learning engineer with focus in computer vision and sequence modelling for automated signal processing using deep learning techniques. My previous experiences include leading chatbot development for a large corporation.



Frequently Asked Questions


In Rhyme, all projects are completely hands-on. You don't just passively watch someone else. You use the software directly while following the host's (Amit Yadav) instructions. Using the software is the only way to achieve mastery. With the "Live Guide" option, you can ask for help and get immediate response.
Nothing! Just join through your web browser. Your host (Amit Yadav) has already installed all required software and configured all data.
You can go to https://rhyme.com/for-companies, sign up for free, and follow this visual guide How to use Rhyme to create your own projects. If you have custom needs or company-specific environment, please email us at help@rhyme.com
Absolutely. We offer Rhyme for workgroups as well larger departments and companies. Universities, academies, and bootcamps can also buy Rhyme for their settings. You can select projects and trainings that are mission critical for you and, as well, author your own that reflect your own needs and tech environments. Please email us at help@rhyme.com
Rhyme's visual instructions are somewhat helpful for reading impairments. The Rhyme interface has features like resolution and zoom that are slightly helpful for visual impairment. And, we are currently developing a close-caption functionality to help with hearing impairment. Most of the accessibility options of the cloud desktop's operating system or the specific application can also be used in Rhyme. However, we still have a lot of work to do. If you have suggestions for accessibility, please email us at accessibility@rhyme.com
We started with windows and linux cloud desktops because they have the most flexibility in teaching any software (desktop or web). However, web applications like Salesforce can run directly through a virtual browser. And, others like Jupyter and RStudio can run on containers and be accessed by virtual browsers. We are currently working on such features where such web applications won't need to run through cloud desktops. But, the rest of the Rhyme learning, authoring, and monitoring interfaces will remain the same.
Please email us at help@rhyme.com and we'll respond to you within one business day.

No sessions available

More Projects by Amit Yadav


Amazon SageMaker: Custom Scripts
Amazon SageMaker: Custom Scripts
1 hour and 14 minutes