If you’re building on AWS, the new AWS Emulator makes it incredibly easy to verify your software with Antithesis.

Antithesis solves the hardest problems of testing distributed systems. We start by making the whole system deterministic, then leverage that determinism to systematically explore your system’s behavior. We autonomously derive sophisticated coverage-guided fuzzing workloads that efficiently explore the enormous range of states (many of them buggy!) a distributed system can occupy.

Even setting non-determinism and immense state spaces aside, testing an AWS-native application that makes heavy use of AWS services has historically been a tall order, just because it was a challenge to get your system under test! Unless you wanted to test on your actual production infrastructure, you either had to approximate each service with a fake, mock or stub, or use a reverse-engineered third-party emulator. None of these were ideal.

Many people use these terms almost interchangeably, but they imply different things. Stubs tend to just satisfy an interface, and are the least realistic of the three. Mocks can be relatively thin, mocked responses to inputs, without simulations of the underlying behavior, or they can be something more like a fake, which actually attempts to emulate behavior.

Writing your own approximation tested your own assumptions about your dependencies’ behavior. Third-party emulators introduced fidelity questions — was the bug in your software or the fake? Testing on real infrastructure was slow and costly, and if you wanted to use Antithesis (which runs without network access) it wasn’t an option.

The AWS Emulator conclusively solves all these problems. It offers high-fidelity mocks of nearly every AWS service in a single container, which you can deploy to Antithesis alongside your software. We put it through its paces by having Kiro use our plugin and the Emulator to test lakeFS, a data versioning system built on S3 and DynamoDB.

Together, these technologies enabled Kiro to find and create patches for several bugs in v.1.88.0, including a data loss, a graceful shutdown problem, and a bug where a cherry-pick could corrupt the source commit (which the lakeFS team found independently and have already fixed on main).

While it’s a relatively new product and doesn’t yet fully emulate all of AWS’ many services, we’re extremely excited about a future where you can test the entire AWS ecosystem – EC2 instances, native Lambda functions, EKS clusters, multiple regions, and more – in Antithesis.

We’d be able to fault inject your entire AWS footprint at every level – your system would emerge extremely fault tolerant.

Now, if you’re building on AWS, you can confidently test your whole stack in Antithesis, knowing every interaction plays out exactly as it will in production. When you can verify this thoroughly, this easily, there’s no reason to build on any other stack.