Building Scalable Compute Solutions with Managed Instance Groups
This course covers the practical and theoretical aspects of working with Managed Instance Groups, a powerful abstraction that provides autohealing and autoscaling. This includes configuring health checks, load balancing and autoscaling policies.
What you'll learn
Two primary attractions of cloud computing are autohealing and autoscaling. Individual cloud VM instances do not come equipped with either of these features, however; for that you need to master a higher-level abstraction, the Managed Instance Group.
In this course, Building Scalable Compute Solutions with Managed Instance Groups, you will gain the ability to instantiate, scale, and actually use Managed Instance Groups on the Google Cloud Platform.
First, you will learn what an instance template is, how it is created, and how it can be used to instantiate either individual instances or an instance group. Instance templates are the basic building blocks of infrastructure automation on the GCP, and can be thought of as blueprints from which a VM instance can be created. You can use an instance template along with a health check and an autoscaling policy to create a Managed Instance Group. In this way, the GCP ensures the uniformity of all instances in the MIG. This allows the service to implement perfect horizontal scaling, in which generic instances enter and leave the group over time. Next, you will discover how updates and rollbacks are performed, and how individual instances can be debugged in a Managed Instance Group. Finally, you will explore how to configure a Managed Instance Group as the scalable backend for a Load Balancer. The GCP has several load balancing options at different levels of the OSI network stack, and in this course we focus on wiring up an HTTP load balancer to the backend instance group. Load balancers have a lot of moving parts, so this configuration is fairly involved.
When you’re finished with this course, you will have the skills and knowledge of Managed Instance Groups needed to build scalable compute backends that provide both autohealing and autoscaling on the GCP.
Table of contents
- Module Overview 2m
- Prerequisites and Course Outline 4m
- Introducing Managed Instance Groups 7m
- Instance Templates 3m
- Creating an Instance Template Using the Web Console 7m
- Creating an Instance Template Using gcloud 6m
- Creating an Instance Template Using the REST_API 4m
- Provisioning VMs from Instance Templates 6m
- Creating Templates and Instances with Containers 6m
- Deterministic Instance Templates Using Custom Images 7m
- Module Overview 1m
- Unmanaged Instance Groups 2m
- Creating Unmanaged Instance Groups 4m
- Zonal Managed Instance Groups 4m
- Regional Managed Instance Groups 6m
- Rolling Updates - I 6m
- Rolling Updates - II 2m
- Canary Testing 5m
- Health Checks 3m
- Configuring Health Checks 8m
- Debugging Individual Instances 2m
- Cleaning up Resources 3m