Gremlin and AWS Aurora

Test how your application handles an AWS Aurora failover. Run Gremlin network experiments and reliability tests to validate reconnection logic.

Fast failover is the headline reliability feature of Amazon Aurora, and it works as advertised. The question worth asking is what your application does during those seconds, because that behavior belongs to your code rather than to the database.

Seconds are long enough to matter, and Gremlin lets you watch them happen on your schedule. With Gremlin, you can:

  • Rehearse a failover before AWS runs one for you. A blackhole experiment against the cluster endpoint reproduces exactly what a promotion looks like from the client side, including how long your connection pool takes to notice a dead socket.
  • Find out whether you need a restart. Some applications reconnect cleanly. Others hold a stale endpoint until someone cycles the service, which turns a thirty-second event into a much longer one.
  • Check where stale reads reach. A latency experiment simulates a lagging reader endpoint, which is fine for a dashboard and not fine for anything transactional.

Aurora will fail over on its own schedule eventually. It's worth having watched it happen at least once on yours.

Building resilience on Aurora with Gremlin

Aurora is a dependency: a managed service that your service connects to. You can run tests by deploying the Gremlin agent or Failure Flags sidecar to a service that consumes Aurora*. Using the experiments shown to the right, you can prepare your service for Aurora failure modes, including:

  • Network outages making Aurora unavailable
  • Slow performance due to network latency
  • Expiring TLS certificates
You can also run these expert-built workflows designed to replicate real-world failure modes on Aurora:

* Testing a dependency doesn't require installing anything on it. Gremlin runs the experiment from the service that calls it, so compatibility depends on that host rather than on the dependency itself. Check our compatibility documentation for supported operating systems and platforms, or get in touch if you don't see yours.

Learn more about Gremlin and Aurora

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