Test Managed Instance Group reliability with Gremlin. Trigger CPU and Memory experiments to validate autoscaling and instance replacement.
Managed Instance Groups on Google Compute Engine have two separate health concepts, and conflating them is a common and consequential mistake. The load balancer health check decides where traffic goes. The autohealing health check decides whether an instance gets destroyed and recreated.
Both misconfigurations look identical in the console: a green health check. Install the Gremlin Agent on your instance template and you can tell them apart. With Gremlin, you can:
- Catch an autohealing check that's too shallow. A process listening on a port is enough to look healthy. Blackhole experiments break the application without stopping the process, revealing whether a broken instance stays in rotation indefinitely.
- Catch one that's too aggressive. CPU and memory experiments simulate an ordinary load spike so you can confirm your group doesn't destroy instances precisely when it needs them.
- Validate autoscaling thresholds. Testing shows where your scaling triggers sit relative to the load that actually degrades your response times.
It's a narrow question with an outsized effect, and far easier to answer deliberately than to infer from an incident where instances were cycling for reasons nobody could explain.
CPU scalability - Linux
Test that your Linux-hosted service scales as expected when CPU capacity is limited. Gremlin consumes CPU in three stages—50%, 75%, and 90%—to validate scaling thresholds.
Scalability: Memory
Verify that your Linux-hosted service scales as expected when memory is limited. Gremlin increases memory utilization in three stages—50%, 75%, and 90%—to validate memory management.
Host redundancy - Linux
Test resilience to host failures by shutting down a randomly selected Linux host. Verify that your platform automatically restarts or replaces it.
* Gremlin is designed to work on any cloud platform that provides Linux or Windows hosts. We haven't individually tested every service we cover, and not all are officially supported. Check our compatibility documentation for tested operating systems and known caveats, or get in touch if you don't see yours.
Intelligent Health Checks - GCP
Automatically monitor your Google Cloud services during testing in one-click with Intelligent Health Checks.
Avoid downtime. Use Gremlin to turn failure into resilience.
Gremlin empowers you to proactively root out failure before it causes downtime. See how you can harness chaos to build resilient systems by requesting a demo of Gremlin.
