Create a MIG that uses preemptible VMs

This document describes how to create a managed instance group (MIG) that uses preemptible virtual machine (VM) instances. Preemptible VMs are useful if your workload can tolerate disruptions and you want to take advantage of the cost-savings associated with preemptible VMs.

You can also read about other basic scenarios for creating a MIG.

Before you begin

Limitations

To see the full list of MIG limitations, which varies based on the configuration that you use, see MIG limitations.

Create an instance template with preemptible VMs

You can use a zonal or regional MIG to quickly create multiple preemptible VMs, which can reduce the costs of the VMs in your managed instance groups. For example, you can create a group of preemptible VMs, use them to run a batch processing task, and then delete the group when the task is complete.

To create a group of preemptible VMs, set the preemptible option in an instance template, and then use the template to create the MIG.