DEMO: SSH to a Linux Instance
Start course
1h 1m

This course has been designed to teach you how to manage networking and compute resources on Google Cloud Platform. The content in this course will help prepare you for the Associate Cloud Engineer exam.

The topics covered within this course include:

  • Adding subnets to a VPC
  • Expanding existing subnets
  • Reserving static addresses via the console and Cloud Shell
  • Managing, configuring, and connecting to VM instances
  • Adding GPUs and installing CUDA libraries
  • Creating and deploying from snapshots and images
  • Working with instance groups

Learning Objectives

  • Learn how to manage networking and compute resources on Google Cloud Platform
  • Prepare for the Google Associate Cloud Engineer Exam

Intended Audience

  • Those who are preparing for the Associate Cloud Engineer exam
  • Those looking to learn more about managing GCP networking and compute features


To get the most from this course, you should have some exposure to GCP resources, such as VCPs, VM Instances, Cloud Console, and Cloud Shell. However, this is not essential.



Hi, everyone, welcome back. Since we just finished working with a Linux VM in our last lesson, I wanted to quickly show you how to connect to such a Linux VM instance using SSH through the GCP console. To SSH to a Linux instance from the console, browse to the VM Instances page, and then from the instances page, click SSH next to the VM you want to connect to.

When you connect to a Linux instance for the first time, Compute Engine generates an SSH key pair for you. This key pair, by default, is added to your project or instance metadata. However, if your account is configured to use OS login, Compute Engine stores the key with your user account. Once you've connected to your Linux instance, you can use the terminal to run commands on the instance like you would any other Linux VM. To disconnect from your instance, just use the exit command. And that is how you SSH to a Linux instance through the GCP console on Google Cloud Platform.

About the Author
Learning Paths

Tom is a 25+ year veteran of the IT industry, having worked in environments as large as 40k seats and as small as 50 seats. Throughout the course of a long an interesting career, he has built an in-depth skillset that spans numerous IT disciplines. Tom has designed and architected small, large, and global IT solutions.

In addition to the Cloud Platform and Infrastructure MCSE certification, Tom also carries several other Microsoft certifications. His ability to see things from a strategic perspective allows Tom to architect solutions that closely align with business needs.

In his spare time, Tom enjoys camping, fishing, and playing poker.