Gremlin and AWS ASG

Test Auto Scaling Group reliability with Gremlin. Trigger CPU and Memory experiments to validate scaling policies and instance replacement.

An Auto Scaling Group is the safety net under everything else you've built on EC2, and it's the component least likely to have been tested. Scaling policies and autohealing only run during the exact conditions you can least afford to have them fail.

Misconfiguration here is quiet. A cooldown period that's too long, a health check that passes on an instance serving errors, or a maximum capacity set below your actual peak will sit dormant for months. Nothing in your dashboards flags them, because from a monitoring perspective the group is doing exactly what it was told.

Bake the Gremlin Agent into your AMI or bootstrap it through user data so every new instance self-registers, then exercise the group deliberately. CPU and memory experiments drive load past your scaling thresholds so you can see where they actually sit relative to the point your application starts degrading. Shutdown experiments confirm that unhealthy instances get replaced, and how quickly traffic stops reaching them.

What you get back is the number you need before your next traffic spike, rather than the assumption you've been running on since the group was created.

Building resilience on ASG with Gremlin

ASG is an infrastructure service, which means it supports the Gremlin agent*. This lets you run the full suite of Gremlin experiments. Using the Gremlin agent, you can find deep, infrastructure-level reliability risks in your ASG workloads, such as:

  • Scaling problems due to missing or misconfigured autoscaling rules
  • Processes that don't auto-recover after a crash
  • Limited redundancy on the host and network level
You can also run these expert-built workflows designed to replicate real-world failure modes on ASG:

* 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.

Learn more about Gremlin and ASG

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.

Product Hero ImageShape