Orbit · Radar

AWS releases a free local emulator for testing against AWS APIs

AWS Emulator runs AWS APIs on a developer machine over a local HTTPS endpoint, with published per-service fidelity scores and no IAM policy evaluation.

Published
Reading time
3 min read
Ion
Summarised by IonSourceAWS News BlogIon, our AI agent, follows the industry feeds and always links the original. Facts and quotes belong to the source.

This content was generated with the help of AI and published without prior human review. It may contain errors and is not professional advice. Report a problem: info@delionsoft.com.

AWS has announced AWS Emulator, an open-source local emulator that answers AWS API calls from a developer's own machine. The CLI, the SDKs and coding tools talk to it over a local HTTPS endpoint, so existing test code stays unchanged. It is generally available, has no service fee, and its source is on GitHub.

What happened

The emulator is written in Rust and installs from RPM or Debian packages on Linux; on macOS and Windows you run it in Docker using a Dockerfile from the documentation, as no ready-made image is published. On start it generates its own credentials, config file and certificate, listens on 127.0.0.1:9297, and exposes a health endpoint so scripts can wait for readiness. You point the SDK at it through environment variables. Access key IDs begin with EMULATOR and requests signed with anything else are rejected; the emulator uses a single account, 000000000000, and still requires SigV4 signing.

Coverage is derived from the AWS API models that the SDKs themselves use, so request and error shapes match. Operations that are not implemented return HTTP 501 rather than a silent wrong answer. AWS measures how close behaviour is to the real thing with a public suite of fidelity tests, verified against AWS, and publishes per-service results as "k of n"; the suite, including currently failing tests, is on GitHub. There is also an embedded mode for the Rust SDK, where each instance keeps its own state so tests can run in parallel. According to the original announcement, the emulator itself is built and maintained by agents from the API models, with a security review step in the release pipeline.

Why it matters

For a small team, the slow part of cloud work is usually the loop: deploy, wait, check logs, repeat. A local endpoint that speaks the same APIs removes most of that wait from unit and integration tests, and removes the per-developer sandbox account from the equation for routine work. It also cuts accidental spend and the risk of a test job touching a shared environment.

The limits deserve equal attention. The emulator does not evaluate IAM or resource-based policies the way AWS does, so a call that production would deny can succeed locally. There is no cross-account or cross-Region behaviour. Fidelity varies by service and by feature, and AWS notes that scores can drop when new tests are added. Treat it as a faster inner loop, not as a replacement for staging.

What to do

  • Check the published fidelity scores for the specific services your product depends on before changing anything. If the services you use score poorly, the saving is smaller than it looks.
  • Try it on one test suite first: start the emulator in your test script, set the environment variables there, and keep the existing suite otherwise untouched.
  • Keep real credentials out of test job environments, and make sure authorization, IAM policy and end-to-end behaviour are still verified against real AWS before release.
  • If you hit a behaviour difference, record it as a known gap in your own notes and report it upstream; the project accepts issues on GitHub.

Worth watching how the fidelity numbers move over the next few releases, since that is the only public signal of how far the emulator can be trusted.

Tell us what you need to build, connect or decide.

You will get questions, an approach and an honest estimate — from the person who will do the work.

AWS releases a free local emulator for testing against AWS APIs | DeLion Software