Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

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

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • 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!

Lab platform
Lab Info
Level
Beginner
Last updated
Sep 22, 2025
Duration
30m

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.
About the author

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.

Real skill practice before real-world application

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.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight