- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Creating a Regional Managed Instance Group with Autoscaling and Autohealing
This lab focuses on building resilient and scalable compute infrastructure using Google Compute Engine managed instance groups in a production-like environment. An instance template is created to standardize virtual machine configuration and startup behavior, then used to deploy a regional managed instance group. Health checks and autohealing capabilities are implemented to automatically replace unhealthy instances, while CPU-based autoscaling policies dynamically adjust capacity during workload spikes. Learners then generate load and observe the infrastructure automatically scaling to meet demand.
Lab Info
Table of Contents
-
Challenge
Create instance templates to standardize VM configuration and startup scripts
- Define a standardized virtual machine configuration for application deployment.
- Incorporate a startup script to automate application and service initialization.
- Validate that the instance template is available for managed instance group deployment.
-
Challenge
Deploy a managed instance group (MIG) with auto-healing capabilities
- Deploy a regional managed instance group using the standardized instance template.
- Configure health monitoring to evaluate instance availability and application responsiveness.
- Implement auto-healing policies to automatically replace unhealthy instances.
-
Challenge
Configure autoscaling policies to dynamically add capacity during CPU stress events
- Configure CPU-based autoscaling thresholds and scaling boundaries for the managed instance group.
- Generate workload activity to simulate increased compute demand on running instances.
- Verify that additional instances are provisioned automatically in response to elevated CPU utilization.
About the author
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.