hands-on lab

Starting a Linux Virtual Machine on Google Compute Engine

Beginner
Up to 45m
4,066
4.6/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Google Cloud Compute Engine is one of the most popular services offered by Google. It allows you to create, handle, and manage virtual machines. Compute Engine offers a variety of different virtual machines depending on the workload you need to maintain. There are VMs for high memory workload; VMs for high CPU workload and VMs designed to be used for high I/O operations. The big advantage of using Compute Engine VMs is that whether you can't find a VM type that suits your needs, you can create one with custom CPUs and memory size. Compute Engine also allows you to create a group of VMs to meet the scaling requirements.

In this lab, you will create a Linux compute engine VM, and you will SSH into the instance by using the browser-based connection.

Learning Objectives

Upon completion of this lab you will be able to:

  • Create a Linux Compute Engine VM
  • Connect to the VM by using the browser-based connection

Intended Audience

This lab is intended for:

  • Google Cloud Associate Cloud Engineer (ACE) certification candidates
  • Cloud engineers who are interested in creating and handling a compute engine VM
  • Individuals who want to start a VM in the Google Cloud environment

Updates

August 1st, 2023 - Addressed user ban issue and promptly added a warning

May 6th, 2022 - Updated the instructions and screenshots to reflect the latest UI

March 16th, 2022 - Updated Step 3 to match the instructions and screenshots

December 16th, 2021 - Updated instructions and screenshots to reflect updated Compute Engine console interface

 

Environment before

Environment after

About the author
Students
40,438
Labs
106
Courses
2
Learning paths
10

Stefano studies Computer Science and is passionate about technology. He loves working with Cloud services and learning all the best practices for them. Google Cloud Platform and Amazon Web Services are the cloud providers he prefers. He is a Google Cloud Certified Associate Cloud Engineer. Node.js is the programming language he always uses to code. When he's not involved in studying or working, Stefano loves riding his motorbike and exploring new places.

Covered topics
Lab steps
Signing In to the Google Cloud Console
Configuring and Launching a Linux VM on GCE
Connecting to the Virtual Machine with a Browser-Based SSH Connection
Deleting the Linux Compute Engine VM