AWS Open-Sources Emulator for Local Testing of 200+ Services by Coding Agents

AWS Emulator is a generally available local HTTPS endpoint, generated from public Smithy API models, that lets developers and coding agents test against more than 200 AWS services without an account, with published fidelity scores and documented limits around IAM, regions, and in-memory state.

Tác giả
Daniel Dominguez Show moreShow less
Đăng bởi
InfoQ
Ngày đăng
Độ dài
565 từ · 3 phút
AWS Open-Sources Emulator for Local Testing of 200+ Services by Coding Agents

AWS has released AWS Emulator, a local program that serves an HTTPS endpoint for the public APIs of more than 200 AWS services. AWS Emulator lets developers and coding agents create resources, hit the same errors AWS would return, and iterate without provisioning cloud resources or incurring service charges for the operations it emulates.

Teams point the AWS CLI or an AWS SDK at it with environment variables such as AWS_ENDPOINT_URL, leaving application code unchanged. On Linux it installs as an RPM or Debian package for x86_64 or aarch64; on macOS and Windows, AWS documents a short Dockerfile and does not publish a prebuilt image. Rust tests can use an embedded mode that runs the emulator inside the test process and wires its HTTP client into the AWS SDK for Rust. An aws-emulator skill can start the emulator for coding agents and check a project against published fidelity tests. Written in Rust, it is generated from more than 400 Smithy API models AWS publishes for the SDKs, according to Swaminathan Sivasubramanian.

AWS says agents wrote and tested the code. Matthew Goldberg, a senior principal engineer at AWS, describes three teams: one writes fidelity tests from the public API models and verifies them against real AWS, one replays those tests and files issues, and one implements each fix. Every change must pass a merge gate that checks compilation, coding standards, security, and fidelity regressions. The work runs on Amazon Bedrock AgentCore Runtime Instances, AWS CodePipeline, and AWS CodeCommit.

How closely the emulator matches AWS varies by service. AWS publishes versioned fidelity tests and per-service scores with each release; a test passes only when every call matches AWS, including status codes, side effects, and exact errors. Unimplemented operations return HTTP 501 with the error code NotImplemented. AWS says fidelity is closest on control-plane APIs, while data-plane behavior and support for CloudFormation, Terraform, and the AWS CDK vary by service. Documented limits include no evaluation of IAM or resource-based policies, so it must not be used to test security; a single shared account and Region per process; in-memory state that disappears when the process stops; and no testing for long-running use or load. The evaluation suite includes tests the emulator does not yet pass.

Developers already have several local AWS stand-ins, including LocalStack, Floci, and moto. AWS Emulator is generated from AWS's own API models, ships official fidelity scores, and is dedicated to the public domain, but it is not a drop-in replacement for every workflow those tools cover, especially permission testing and infrastructure-as-code pipelines.

Developer Josh Builds wrote:

AWS just released a free local emulator of its APIs, made for coding agents and written entirely by agents. I counted its published fidelity tests: S3, DynamoDB and SQS pass about 2 in 3. CloudFormation passes under 1 in 5.

Yurii Serhiichuk compared it with existing emulators and published a container image and GitHub Action to cover a packaging gap:

AWS shipped AWS Emulator today - think LocalStack/Floci but native. Rust, built by agents (so hopefully it gets updated pretty fast). No public docker image though, and no GitHub action. So I filled that part.

AWS Emulator is generally available at no additional service fee. Source is on GitHub under the CC0 1.0 Universal public domain dedication, except third-party code in the vendor/ directory, which is under the Apache License 2.0. Setup details are in the user guide, and fidelity scores ship with each release.

Bài viết này từ đâu mà có

Bài viết này do Daniel Dominguez Show moreShow less đưa tin và được InfoQ đăng lần đầu vào 16 tháng 11, 2026. HUE Legacy Ventures không phải tác giả của bài viết.

Carried in full with attribution and a link to the original. Rights remain with the publisher, who may request removal at any time.

Đọc tại infoq.com →