Dev News Daily ENDE

AWS releases AWS Emulator: local AWS APIs without an account, 501 for calls it cannot do yet

AWS has made AWS Emulator available, a local program that answers AWS API calls so applications can be built and tested on a laptop or in CI without deploying anything and without an AWS account. The What's New post is dated 11 November; the source sits in the aws/aws-emulator repository on GitHub.

The model is simple from the outside. Code keeps using the normal AWS SDK and CLI, signed with credentials the emulator hands out, and points at the emulator's endpoint instead of AWS. For operations it supports, AWS says the emulator returns the same result as AWS for valid calls and the same error for invalid ones; anything not supported yet comes back as 501 Not Implemented. State lives in memory until the process stops, and every running copy gets its own port, keys and state, so parallel test suites, CI jobs or coding agents do not see each other's resources.

How services get into it is the interesting design choice. According to AWS, they are generated from the published API models that also produce the SDKs, so a new service or API appears automatically and its behaviour is then filled in release by release. AWS publishes a fidelity report per release that compares the emulator's responses with the real service, and the repository tracks gaps as files in an issues directory, split into things that do not work and things that now do.

There are two ways to run it. Server mode is a package for Linux or a container on Windows and macOS, serving HTTPS on 127.0.0.1:9297 with a self-signed certificate. Embedded mode is for Rust tests: the emulator is compiled into the test binary and wired straight into the SDK client, with one isolated instance per test. The README warns that building everything from source needs at least 100 GB of free disk, because each AWS service is its own crate.

The README is also explicit about limits: the tool is for building and testing, not for production workloads and not for testing security. There is no service fee, and the code is released under the CC0 1.0 public domain dedication.

AWS releases AWS Emulator: local AWS APIs without an account, 501 for calls it cannot do yet
AWS releases AWS Emulator: local AWS APIs without an account, 501 for calls it cannot do yet — Dev News Daily

Why it matters

The 501 rule is what makes it usable in CI: an unsupported call fails loudly instead of returning something plausible, so a green local test does not hide a missing feature.

Written by Victoria Shinder.