DEMO: Editing a VM Configuration
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. In this lecture, you're going to learn how to edit a VM configuration. So, let's jump right in. In a production environment, you may find yourself in a spot where you need to change the machine type of a VM or some other configuration of the instance. In this demonstration, I want to show you how to change the machine type of a stopped instance

Now, as long as my instance isn't part of an instance group, I can change the machine type without affecting the instance's persistent disk data, SSH keys, or other instance configurations like instance metadata. However, if my instance is using an ephemeral external IP address, that IP address might change. Let's open up my VM here. And to change the machine type here, I need to first stop my instance. I can do this via the console, via the setMachineType method in the API, or via gcloud. For this exercise, I'm going to do this in the console.

So let me go ahead and stop my instance here. So now that my instance is stopped, I can click the Edit button here at the top of the page. Under the Machine configuration section here, I need to choose the new machine type that I want to use. I could also create a custom machine type if I wanted to as well. Now, for this exercise, I'll just select a new type here, and then I'll save my changes at the bottom. At this point, I can start my instance back up using the new machine type. And that's how you stop a VM and then edit its configuration.

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.