Steadybit logoReliability Hub
GitHubGitHub iconStart Free Trial
Steadybit logoReliability Hub

Recreate MIG Instances

AttackAttack
Recreates a percentage of RUNNING instances in a Managed Instance Group. The MIG's targetSize is preserved. Not reversible.
Targets:
Managed Instance Groups
Install now

Recreate MIG Instances

Recreates a percentage of RUNNING instances in a Managed Instance Group. The MIG's targetSize is preserved. Not reversible.
AttackAttack
Install now

Recreate MIG Instances

AttackAttack
Recreates a percentage of RUNNING instances in a Managed Instance Group. The MIG's targetSize is preserved. Not reversible.
Install now

Recreate MIG Instances

Recreates a percentage of RUNNING instances in a Managed Instance Group. The MIG's targetSize is preserved. Not reversible.
AttackAttack
Install now
Go back to list

Introduction

This action recreates a percentage of the RUNNING instances in a Managed Instance Group by calling GCP's recreateInstances API. GCP terminates the selected instances and provisions fresh replacements from the instance template while keeping the MIG's targetSize intact — this is the key difference from deleteInstances, which permanently shrinks the group.

The attack samples target instances uniformly from the current RUNNING set. For small pools it always picks at least one instance (rounded up from the requested percentage).

Use Cases

  • Validate that stateless workloads recover cleanly when a fraction of the fleet disappears and is replaced with fresh instances.
  • Measure cold-start cost: image pull, boot, startup scripts, connection-pool warmup on the new instances.
  • Verify load-balancer health checks correctly drain terminating instances and route only to healthy replacements.

Rollback

This attack does not support rollback. GCP provisions fresh replacements automatically. Cancellation is a no-op.

Parameters

ParameterDescriptionDefault
Percentage of instances to recreatePercentage (1–100) of the MIG's RUNNING instances to recreate. Rounded up to at least one.33
Allow percentages above 50%Required to enable percentages above 50%. Acknowledges that more than half the MIG will be recreated simultaneously.false
Start Using Steadybit Today

Get started with Steadybit, and you’ll get access to all of our features to discover the full power of Steadybit. Available for SaaS and on-prem!

Are you unsure where to begin?

No worries, our reliability experts are here to help: book a demo with them!

Statistics
-Stars
Tags
GCP
GCP MIG
Cloud
Compute
State
Homepage
hub.steadybit.com/extension/com.steadybit.extension_gcp
License
MIT
MaintainerSteadybit
Install now
Steadybit logoReliability Hub
Start Free Trial
© 2026 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon