Skip to content
Adelmi

AWS Emulator: test your code against AWS on your own machine

AWS Emulator, announced November 11, 2026, runs the AWS APIs on your machine with no account and no fee. What it does, what it does not and when to use it.

· Software Engineer5 min read

Lee este artículo en español

Subscribe via RSS

AWS Emulator is a free program that runs the AWS APIs on your own machine, so you can test software without an AWS account and without creating resources in the cloud. AWS announced it on November 11, 2026, released the code under the CC0 license and says AI agents wrote and tested all of it. It is for building and testing, not for production or security testing, and how closely it matches AWS varies by service.

What AWS Emulator is

Per the announcement on the AWS News Blog, AWS Emulator is a local emulator for Amazon Web Services. It runs on your laptop, a development server or in continuous integration (CI), and the AWS CLI, the AWS SDKs and your coding agents talk to it over a local HTTPS endpoint with the same APIs they would use against the cloud. Your code stays unchanged: you point the SDK at the emulator with environment variables.

The facts that matter, from the official documentation and the repository:

  • No AWS account needed, and no additional fee. You pay only for AWS resources when you deploy.
  • The source is open on GitHub under CC0, a public-domain dedication.
  • It covers more than 200 services, built from more than 400 public AWS API models, according to Swami Sivasubramanian in the guest post Werner Vogels, Amazon's CTO, published on launch day.
  • It is written in Rust and has no graphical interface: it is a command-line program.
  • Everything lives in memory. Stopping the emulator deletes its resources, which also gives each test run a clean state.

How you install and use it

On Linux you install it from an RPM or Debian package. On macOS and Windows there is no ready-made image: AWS asks you to build a Docker image from the short Dockerfile in its documentation. When it starts, the emulator serves HTTPS on 127.0.0.1:9297, generates its own credentials and writes them to ~/.aws/emulator/9297/. These are the variables the announcement gives to point the AWS CLI at it:

Terminal
export AWS_ENDPOINT_URL=https://127.0.0.1:9297
export AWS_SHARED_CREDENTIALS_FILE=~/.aws/emulator/9297/emulator_credentials
export AWS_CONFIG_FILE=~/.aws/emulator/9297/config
export AWS_EC2_METADATA_DISABLED=true
export AWS_DISABLE_HOST_PREFIX_INJECTION=true
export AWS_REGION=us-east-1
export AWS_DEFAULT_REGION=us-east-1
unset AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN AWS_PROFILE

The emulator's access keys start with EMULATOR so you cannot mistake them for real AWS keys, and it rejects requests signed with any other keys. For projects written in Rust there is also an embedded mode that runs the emulator inside the test process, and an aws-emulator skill for coding agents that installs it and connects it.

Built by AI agents: what AWS says

This is the detail that drew the most attention, and it is worth reading as AWS tells it. According to Sivasubramanian's post, all of the emulator's code was written and tested by agents. The method: the agents work from fidelity tests, end-to-end scenarios derived from the public API models. They first correct each test until it passes against real AWS, so the test records how AWS behaves, and then build the emulator until it passes that same test. The idea came from Matt Goldberg, a Senior Principal Engineer at AWS, who gave Kiro a single prompt and got a passable first version of an SQS emulator in about 15 minutes.

AWS does not present this as unsupervised code. Every change goes through an automated merge gate, including several security agents that review it adversarially, deterministic checks stop agents from touching code they should not, and an engineer built the scaffolding that runs them. The commit history and every issue the agents filed are public in the repository.

Limits to know before you rely on it

The AWS documentation is direct about what the emulator is not:

  • Not for production. It is for building and testing.
  • Not for security testing. It does not evaluate IAM policies or resource policies, such as an S3 bucket policy, the way AWS does, so a request AWS would deny can succeed in the emulator and the other way around (Security in AWS Emulator).
  • One account and one Region. It accepts any Region and account ID but does not keep resources separate by them.
  • Uneven fidelity. How closely it matches AWS depends on the service. Where an operation is not implemented, it returns HTTP 501 with the error code NotImplemented, so a test that calls it fails right away. AWS publishes a fidelity score per service with each release, and today the match is closest for control plane APIs (creating, reading, updating and deleting resources) rather than data plane APIs.
  • Verified in one Region. AWS checks its behavior against the real cloud in us-west-2 (us-east-1 for global services).
  • Not tested for long-running use or load. Start it for your tests and stop it afterwards.
  • Telemetry is on by default, anonymous and with an opt-out (--telemetry off or the EMULATOR_TELEMETRY=off variable), per the README.

The "more than 200 services" figure describes how many services have an API model, not that all of them behave like AWS. Before you put your CI on the emulator, check the fidelity scores for the services you use and AWS's guide "Checking whether your project works with AWS Emulator".

What it means for a project that runs on AWS

If your system uses AWS, the emulator can save time in three places: integration tests that today need a test account, CI pipelines that should not create real resources, and coding agents that need to check their work without waiting for a deployment. It is a development tool, not a replacement for a real test environment: anything that depends on permissions, multiple Regions or load should still be tested on AWS.

The announcement is from this week, so there is no long-term field experience to report yet. Our suggestion is to try it on a project that already uses AWS, see which of your services have a good fidelity score and keep your tests against real AWS for anything critical. At Adelmi we design and build custom software, and keeping it running after launch is part of the job; we describe that in software maintenance and support. If you are about to ask vendors for a proposal, our guide to writing a software project brief helps you describe the project.

Sources

  1. AWS News Blog: Test your applications against AWS locally with AWS Emulator (Nov 11, 2026) (accessed November 12, 2026)
  2. All Things Distributed: AWS Emulator and the engineer's job when agents write the code (Nov 11, 2026) (accessed November 12, 2026)
  3. GitHub: aws/aws-emulator (README and license) (accessed November 12, 2026)
  4. AWS Emulator User Guide: What is AWS Emulator? (accessed November 12, 2026)
  5. AWS Emulator User Guide: Fidelity in AWS Emulator (accessed November 12, 2026)
  6. AWS Emulator User Guide: Security in AWS Emulator (accessed November 12, 2026)