Connecting to the Virtual Machine with a Browser-Based SSH Connection

Lab Steps

lock
Signing In to the Google Cloud Console
lock
Connecting to the Virtual Machine with a Browser-Based SSH Connection
lock
Installing the Cloud Monitoring Agent
lock
Allowing Traffic to the Compute Engine Instances
lock
Creating the Uptime Check
lock
Creating the Alerting Policy
lock
Testing the Alerting Policy by Stopping the Instance
lock
Monitoring the Compute Engine Instance CPU Usage
Need help? Contact our support team

Here you can find the instructions for this specific Lab Step.

If you are ready for a real environment experience please start the Lab. Keep in mind that you'll need to start from the first step.

Introduction

In this lab step, you will establish an SSH connection to the instance using SSH from the Browser.

 

Instructions

1. Navigate to the Compute Engine by entering Compute in the search bar and clicking the Compute Engine result:

alt

You are taken to the VM instances table and the ca-lab-vm-ssh-instance instance created by the Cloud Academy Lab environment is listed.

 

2. Click the down arrow in the Connect section and click on Open in browser window:

alt

Alternatively, you can directly click SSH.

A new browser window opens and the progress is reported:

alt

GCP automatically creates SSH keys for you and transfers them to the VM. The keys also automatically expire after several hours.

 

Summary

In this lab step, you have established an SSH connection to the virtual machine in your Google Cloud environment.