Configure a Compute Engine MIG in Application Design Center

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

MIG name

Hostname

Hostname prefix for instances.

Update Policy

Max Surge Fixed

Health Check Name

Autoscaler Name

If empty, the name is derived from hostname .

Autoscaling Enabled

Create an autoscaler for the MIG.

Named Ports

Name

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.

MIG Timeouts

Create

Timeout for Terraform instance creation.

Update

Timeout for Terraform instance update.

Delete

Timeout for Terraform instance deletion.

Create a Mobile Website
View Site in Mobile | Classic
Share by: