Test ECS on EC2 reliability with Gremlin. Simulate instance failures and process crashes to validate task rescheduling and health checks.
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.
CPU scalability - Containers
Test that your service scales as expected when CPU capacity is limited. Gremlin will consume CPU in 3 stages: 50%, 75%, and 90%.
Host redundancy - Containers
Test resilience to container failures by shutting down a randomly selected container. Verify that your container runtime automatically restarts or replaces it.
Zone redundancy - Containers
Test your containerized service's availability when a randomly selected availability zone becomes unreachable. Verify that traffic fails over to containers in secondary zones.
Validate Container Resilience Mechanism: OOMKiller
Validate that your container runtime's OOMKiller detects excess memory usage and safely restarts the target pod or container.
* 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 - AWS
Automatically monitor your AWS services during testing in one-click with Intelligent Health Checks.
AWS integration
Integrate Gremlin with your AWS account for automatic Health Check creation, service discovery, and more.
Using Failure Flags by proxy
Use Failure Flags, Gremlin's application-level fault injection feature, without changing a single line of code.
Installing Gremlin on Amazon ECS
Learn how to install Gremlin on EC2-backed Amazon Elastic Container Service (ECS) deployments.
Installing Gremlin on AWS - Configuring your VPC
Amazon Web Services (AWS) has unique networking requirements that must be implemented for Gremlin to run successfully…
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.
