Gremlin and AWS ECS (EC2 launch type)

Test ECS on EC2 reliability with Gremlin. Simulate instance failures and process crashes to validate task rescheduling and health checks.

Why ECS (EC2 launch type) reliability is important

Choosing the EC2 launch type means you wanted control over the instances behind your tasks. That control comes with the responsibility for what happens when one of those instances fails, and ECS won't make that decision correctly on its own.

Task placement strategies, health check grace periods, and capacity provider settings interact in ways that look reasonable in the console and behave differently under pressure. A grace period tuned for a fast-starting service will mark a slow-starting one unhealthy and cycle it repeatedly. You typically discover this during a deploy that coincides with real traffic.

Regular testing surfaces these interactions while the stakes are low. It also gives you something more durable than confidence: a record of how your cluster behaved the last time an instance disappeared, and whether that behavior improved after you changed the configuration.

Building resilience on ECS (EC2 launch type) with Gremlin

ECS (EC2 launch type) 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 ECS (EC2 launch type) 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 ECS (EC2 launch type):

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

resources

Learn more about Gremlin and ECS (EC2 launch type)

All product names, logos, and brands are property of their respective owners. AWS is a trademark of Amazon.com, Inc.; Azure is a trademark of Microsoft Corporation; Google Cloud is a trademark of Google LLC. Use of these names is for identification purposes only and does not imply endorsement or affiliation unless otherwise stated.

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