Repository navigation
Source AWS Emulator
AWS announced AWS Emulator on 2026-11-11: a local emulator of the AWS APIs that you run on your own machine, with no AWS account and no service fee. The AWS CLI and the AWS SDKs talk to it over a local HTTPS endpoint using the same APIs they use in the cloud.
Nothing here is adopted. The "Bearing on Max Height" section is analysis measured against Decision-Testing-Strategy; the open questions below decide whether a spike is worth running.
| Fact | Where |
|---|---|
Local program serving an AWS API endpoint on https://127.0.0.1:9297; no GUI, no requests leave your machine |
what-is-service |
Written in Rust; source is aws/aws-emulator on GitHub under CC0-1.0, repo created 2026-09-11 |
repo metadata |
| Install: RPM/Debian packages on Linux (x86_64, aarch64). On macOS and Windows you run it in Docker, from an image you build yourself — AWS publishes no ready-made image | blog, what-is-service
|
On start it generates its own credentials, config and certificate under ~/.aws/emulator/9297/. Access key IDs begin with EMULATOR, and it rejects requests signed with any other key
|
blog |
SigV4 is required, the same as AWS. A single, fixed all-zeros account ID. /__admin/health lets a script wait for readiness |
blog |
You point tooling at it with environment variables (AWS_ENDPOINT_URL, AWS_SHARED_CREDENTIALS_FILE, AWS_CONFIG_FILE, AWS_EC2_METADATA_DISABLED, AWS_DISABLE_HOST_PREFIX_INJECTION), and unset the real ones. Application code is unchanged |
blog |
Telemetry is on by default (anonymous usage and errors). EMULATOR_TELEMETRY=off turns it off, per shell or per container |
telemetry |
Embedded in-process mode exists, but only for the AWS SDK for Rust (aws-emulator-embedded crate) |
blog, what-is-service
|
An aws-emulator agent skill installs, starts and connects it, and checks whether a project is expected to work |
getting-started-agent, check-project
|
Unimplemented operations return HTTP 501 NotImplemented, so a test fails immediately rather than silently passing |
fidelity |
| Built and maintained by AI agents from the AWS API models (AgentCore Runtime Instances, CodePipeline, CodeCommit), updated many times a day, with an adversarial security agent reviewing changes | blog, what-is-service
|
- No IAM. It does not evaluate IAM policies, resource-based policies or KMS key policies the way AWS does, and it never denies a request signed with its own key. AWS says explicitly: do not use it to test security.
- One Region, one account. It accepts any Region or account ID but keeps no separation. Multiple Regions means multiple emulators on multiple ports.
-
Verified in one Region. Behavior is checked against real AWS in
us-west-2(global services inus-east-1), so Regional availability differences are invisible. - In memory only. All resources are lost when it stops. Untested for long-running use or load testing.
- Fidelity varies by service and feature, and support for CloudFormation, Terraform and the CDK varies with it.
A fidelity test is a short SDK program run against real AWS and asserted
against; the emulator passes only if it matches on status code, body, exact
error code and message, and resulting state. The suite is public in
aws-emulator-evaluation-suite (29,676 tests across 1,206 services in
manifest.jsonl), and each release publishes a scores.json.gz asset.
Read a score as a snapshot: the total grows as tests are added, so a score can fall while the emulator improves. The emulator matches AWS most closely on control-plane APIs; data-plane fidelity is weaker.
Scores below are from release v1.0.322, scored 2026-11-11, aggregated per
service over all 42,937 units (24,243 pass overall, 56%):
| Service we use | Pass rate | Of which behavioral |
|---|---|---|
| Amazon Polly | 55/66 (83%) | 46/54 |
| Amazon Cognito Identity | 301/395 (76%) | 265/338 |
| Amazon Cognito Identity Provider | 635/974 (65%) | 511/781 |
| Amazon DynamoDB | 1153/1694 (68%) | 1002/1451 |
| Amazon S3 | 1763/2814 (63%) | 1561/2518 |
| Amazon Bedrock (control) | 155/235 (66%) | 143/204 |
| CloudWatch Logs | 701/1223 (57%) | 591/1038 |
| Amazon CloudFront | 428/817 (52%) | 386/627 |
| API Gateway v2 | 195/401 (49%) | 166/294 |
| AWS STS | 121/253 (48%) | 110/231 |
| Bedrock Runtime | 77/182 (42%) | 57/153 |
| Bedrock AgentCore (data plane) | 31/100 (31%) | 21/68 |
| Bedrock AgentCore Control | 61/198 (31%) | 50/141 |
| AWS CloudFormation | 795/4206 (19%) | 735/2045 |
The operations are covered: bedrock-runtime fidelity tests call Converse,
ConverseStream, InvokeModel, InvokeModelWithResponseStream,
ApplyGuardrail and CountTokens; polly tests call SynthesizeSpeech,
DescribeVoices, the lexicon APIs and the async synthesis-task APIs;
bedrock-agentcore-control tests cover CreateAgentRuntime,
...RuntimeEndpoint, gateways and memory. Coverage is not the same as fidelity,
and neither is the same as usefulness — see below.
- Zero cost. No service fee, no account, no resources. Against Concept-Budget-Ceiling that is the right direction of travel.
-
An integration layer we do not have. Decision-Testing-Strategy mocks
AWS entirely:
aws-sdk-client-mockinpackages/agent,Template.fromStack()inpackages/infra. A mock asserts what we called; the emulator would assert that AWS would have accepted it, including the exact validation error. That is a real gap, and the strongest argument for a spike. -
CI without credentials. An integration lane with no AWS account is
friendlier to Concept-Credential-Hygiene than any real-AWS test lane: the
guidance is to keep real credentials out of the test job's environment, and
EMULATOR-prefixed keys cannot be mistaken for real ones.
-
It cannot replace real Bedrock for the thing we actually test.
Concept-Personality-Gate scores the 65-case golden set on what the model
says. An emulated
Conversereturns an API-shaped response, not Max Height's voice. The same holds for Concept-Cloud-Only-Inference: the emulator moves the API call local, not the inference — it is not a P1 violation, but it is not a model either. -
It cannot replace real Polly. The greeting auditions behind
Decision-Polly-Voice turn on how a
<phoneme>onset sounds and how many milliseconds a clip runs. A faithfulSynthesizeSpeechenvelope answers neither. - It must not be used for IAM. Least-privilege work under P11, and the budget hard-stop Lambda that detaches an inline policy (Component-Infra-Stacks), are exactly the class AWS says not to test here. The emulator never denies its own key.
-
cdk deployagainst it is not dependable today. CloudFormation sits at 19%, the worst score of any service we touch. Infra confidence stays withaws-cdk-lib/assertions.
-
Docker Desktop becomes an onboarding prerequisite on Windows, which is the
builder's platform, and AWS ships no image — the Dockerfile is ours to build
and maintain.
AGENTS.mdalready refusesstdioMCP servers for making a package manager a prerequisite for every contributor; this is the same kind of cost, in a heavier form. - Supply chain. Agent-authored code under CC0 that updates many times a day is not a dependency Concept-Supply-Chain-Discipline can treat casually. Any adoption pins an exact release and records the fidelity scores for that release, because the scores are per-release and move both ways.
-
The validation gate. Anything needing a running daemon cannot join
pnpm run validateas it stands (Guide-Validation-Gate); it would be an opt-in lane, like the wiki linter.
- Do not adopt now, and change no test tooling. The mocked layers stay.
-
If a spike happens, it targets the control plane only — Cognito identity
pool creation, S3 and CloudFront configuration, API Gateway v2 WebSocket
routes — and asserts something the mocks cannot: that AWS would reject a
malformed call. It is scoped to one package, is opt-in, and stays out of
pnpm run validate. -
Nothing about the golden set, Polly auditions, IAM or
cdk deploymoves to the emulator. Those need real AWS. - This is tooling and CI work, so under the hybrid rule in Wiki-Conventions it is wiki-plus-issues, not Spec Kit — unless adoption changes the validation gate, which is a conversation first.
The 2026-11-19 review in Source-AWS-AgentCore-Resilience-Testing identifies a separate possible emulator spike for the FIS/SSM/AgentCore workflow. It is not part of this earlier control-plane recommendation and remains unverified; no adoption has been made.
The latest release is now v1.0.523; the fidelity table above remains the
historical v1.0.322 snapshot, not a current scorecard. The current evaluation
suite has separate tests for FIS experiment lifecycle, SSM Automation and
Parameter Store, and deploying/invoking a small AgentCore runtime. An AWS
Builder Center analysis reports Systems Manager at 180/309 tests (58.3%) for
v1.0.500, but that is an older service-wide score, not a score for the latest
release or any particular API sequence.
These tests make the emulator a more plausible local integration spike than the launch snapshot alone suggested. They do not prove the combined FIS -> SSM Automation -> Parameter Store -> AgentCore workflow in Source-AWS-AgentCore-Resilience-Testing; no such combined test was found in the reviewed suite. The latest release's exact scores for the operations in that workflow have not been independently checked.
- Does the current emulator catch the
platformVersionclass of mistake recorded in Decision-AgentCore-Runtime-V2? The original AgentCore control-plane score (31%) was forv1.0.322; the suite now includes a deploy-and-invoke runtime test, but that test does not verify this property. - Would the
aws-emulatoragent skill's project check give a cheaper answer than a spike? It reads the fidelity manifest, which is already summarized above, so probably not for the services we use. - Is there a Node or TypeScript embedded mode on the roadmap? Today embedded
mode is Rust only, so our tests would need a daemon and a
/__admin/healthwait in CI.
See Decision-Testing-Strategy for the stack this is measured against, and Source-Lambda-Web-Functions for the other launch-week service held at arm's length for the same maturity reasons.
- Concept-Cloud-Only-Inference
- Concept-Budget-Ceiling
- Concept-Personality-Gate
- Concept-IP-And-Legal-Posture
- Concept-Supply-Chain-Discipline
- Concept-Graceful-Degradation
- Concept-Observability
- Concept-Testing-And-TDD
- Concept-Credential-Hygiene
Editing in the browser? Wiki edits are live and bypass wiki:lint. Read
Guide-Wiki-Contributing first.