A Compute Engine managed instance group (MIG) is a collection of VM instances that use load balancing and automated services, like autoscaling and autohealing. With a MIG, you can manage a group of VM instances as one entity. For more information, see the following:
This document describes the connections and parameters you can configure when using App Design Center to create a Compute Engine MIG. The configuration parameters are based on the terraform-google-vm Terraform module.
Component connections
The following table includes the components that you can connect to a Compute Engine MIG, and the resulting updates to your application and its generated Terraform code.
Connected component
Application updates
Background information
- The load balancer can distribute incoming traffic to the Compute Engine MIG.
- The Compute Engine MIG is added to the Cloud Load Balancing backend service groups field.
- The load balancer can distribute incoming traffic to the Compute Engine MIG.
- The Compute Engine MIG is added to the Cloud Load Balancing backend service groups field.
- The Compute Engine instance template is used to create instances in the managed instance group.
- The instance template self link is added to the Compute Engine MIG.
Required configuration parameters
If your template includes a Compute Engine MIG component, you must configure the following parameters before you deploy.
| Parameter name |
Description and constraints |
Background information |
|---|---|---|
| Project ID |
The project where you want to create the Compute Engine MIG. |
Configure components |
| Region |
region | About Regional MIGs |
| Instance Template |
instanceTemplate | About Instance Templates |
Optional configuration parameters
The following parameters are optional. To display advanced parameters, in the Configurationarea, select Show advanced fields.
Feature
Parameter name
Description and constraint information
Background information
Distribution Policy Target Shape
Distribution Policy Zones
Stateful Disks
Device Name
Delete Rule
Stateful IPs
Interface Name
Delete Rule
Instance Redistribution Type
Most Disruptive Allowed Action
Initial Delay Seconds
Autoscaling CPU
Target
Target
Type
Min Required Replicas
Autoscaling Scale in Control
Fixed Replicas
Percent Replicas
Wait for Instances
Whether to wait for all instances to be created/updated before returning. If set to true, when the operation fails, Terraform continues trying until the timeout is reached.

