Logic Foundry

Build with understanding.

AWS Emulator brings 200-plus service APIs to local tests, but fidelity varies by service

As of December 1, 2026, AWS Emulator was generally available. The local program exposes HTTPS endpoints for the public APIs of more than 200 AWS services. Developers and coding agents can use it to create resources and exercise error-handling paths without provisioning cloud resources or paying service charges for the simulated calls. Whether a test is useful depends on how closely the emulator matches the particular operation it calls.

Pointing a test at the emulator

Teams can redirect the AWS CLI or an AWS SDK by setting an environment variable such as AWS_ENDPOINT_URL, without changing application code. Rust tests have a second option: they can run the emulator inside the test process and pass its HTTP client to the AWS SDK for Rust. For coding agents, the aws-emulator skill can start the emulator and check a project against the published fidelity tests.

AWS provides RPM and Debian packages for x86_64 and aarch64 Linux systems. For macOS and Windows, it supplies a short Dockerfile rather than a prebuilt image. Developer Yurii Serhiichuk separately published a container image and a GitHub Action to address that packaging gap.

What a passing fidelity test means

AWS publishes versioned fidelity tests and per-service scores with each release. A test passes only if every call matches the live service, including its status code, side effects and exact error message. The suite includes tests the emulator cannot yet pass. An unimplemented operation returns HTTP 501 with the error code NotImplemented.

AWS says fidelity is highest for control-plane APIs. Data-plane behavior and support for CloudFormation, Terraform and the AWS CDK vary by service. Developer Josh Builds counted the public tests and reported pass rates of roughly two-thirds for S3, DynamoDB and SQS, compared with less than one-fifth for CloudFormation. Those figures describe the published tests, not the proportion of applications or deployment pipelines that will run unchanged.

Do not use the emulator to test permissions. It does not evaluate IAM or resource-based policies, so a successful local request does not establish that AWS would authorize it. Each process also has just one shared account and region. State is held in memory and disappears when the process stops. AWS says the emulator has not been tested for long-running or load scenarios.

For teams using LocalStack, Floci or moto, the release-specific tests offer a way to check the operations a project needs before switching. The emulator is not a drop-in replacement for every workflow those tools cover, particularly permission checks and infrastructure-as-code pipelines.

How AWS built and checked the implementation

According to Swaminathan Sivasubramanian, the emulator is written in Rust and generated from more than 400 Smithy API models that AWS publishes for its SDKs. AWS says agents wrote and tested the code. AWS senior principal engineer Matthew Goldberg described three teams: one derived fidelity tests from the public models and validated them against live AWS services; another replayed the tests and filed issues; and a third implemented fixes. Before merging, each change had to pass checks for compilation, coding standards, security and fidelity regressions. The work ran on Amazon Bedrock AgentCore Runtime Instances, AWS CodePipeline and AWS CodeCommit.

The source is available on GitHub under the CC0 1.0 Universal public-domain dedication. Third-party code in the vendor/ directory is an exception and uses the Apache License 2.0.