Featured resource
Tech Upskilling Playbook 2025
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Learn more
  • Labs icon Lab
  • Cloud
Labs

Launching a Managed Instance Group in Compute Engine

In this lab, you will learn how to create an instance template and customize it to your needs, create a managed instance group that uses the instance template, and learn how to stress test your instances to make sure your configuration works!

Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 30m
Last updated
Clock icon Sep 03, 2025

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create an Instance Template

    1. In the Google Cloud console, go to the Compute Engine and then go to Instance templates

           Click Create instance template.
      
    2. Name your Instance Template

    3. Under Machine Type choose e2-micro

    4. Under Firewall allow HTTP and HTTPS

    5. Click Create

  2. Challenge

    Create a Managed Instance Group

    For Health Check:

    1. In the Google Cloud console, go to the Health Check page.
    2. Click Create Health Check.
    3. Give the health check a name, Regional Scope, TCP protocol, port 80.
    4. Click Create.

    For Creating the Instance Group:

    1. In the Google Cloud console, go to the Instance groups page.
    2. Click Create instance group.
    3. Under Instance template, select the instance template you created.
    4. Under Location, choose Single Zone US-Central1 for region, and US-Central1-A for zone.
    5. For Autoscaling, choose On: add and remove instances to the group with a min of 1 and a max of 3, and CPU Untilization at 60%.
    6. For Health Check, choose the health check you've created.
    7. Click Create.
  3. Challenge

    Test and Stress the Managed Instance Group

    1. Select the instance and choose SSH.
    2. Use command sudo apt-get install stress and then sudo stress --cpu 2 --timeout 500 to stress your instance.
    3. After eight minutes, you should see your instance scale to maximum capacity of three instances.

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.