
AWS Emulator: Test Your Cloud Applications Locally Without an AWS Bill
AWS Emulator brings local cloud testing to developers. Explore how it works, test AWS APIs locally, and understand its limitations before deploying to production.
Why AI Agents Need a Way to Check Their Work
Earlier this year, a senior AWS leader spent four nights babysitting Kiro, an AI coding agent, while it rebuilt a complex piece of distributed-systems code. The agent kept producing work that looked fine, but it had no way to check whether it was right. Then he gave it a spec and a test environment. The same rebuild, which took two engineers about four months the first time, finished in roughly two hours.
That story comes from AWS's launch material for AWS Emulator, released on November 11, 2026. It explains the point of this tool better than any feature list. Agents don't fail because they can't write code. They fail because they can't check it.
I read through the launch material this week, and I think a few parts of it get lost in the summaries.
1. The Problem: Why the Build–Deploy–Test Loop Hurts
You write code, configure a resource, deploy, test, find a bug, and do it all again. Even a one-line fix can mean a full deployment. For students and solo builders, every loop can also cost money.
AWS Emulator runs on your machine, exposes a local HTTPS endpoint, and answers the same AWS API calls your CLI and SDKs already make. You point your tools at it instead of the real cloud, and your code stays the same.
2. AWS Emulator vs. Existing Local Emulators
“Wait, didn't LocalStack already do this?”
Yes, and that's the first question every experienced developer will ask. Local AWS emulators already exist: LocalStack, Floci, fakecloud and others. LocalStack in particular has been the default for years, though recent coverage notes it now requires an account and an auth token.
So what's different here? Mainly where it comes from and how it's checked.
- It's first-party. It's built from AWS's own public API models (more than 400 of them, covering over 200 services), not from someone's reverse-engineering of the behavior.
- It's verified against real AWS. The team writes end-to-end “fidelity tests” from those API models. A test might check that an SQS message stays invisible to other readers until its visibility timeout expires. Each test is first corrected until it passes against the real AWS service, so it records what AWS actually does. Then the emulator is built until it passes the same test.
- The gaps are public. AWS publishes fidelity results, and the GitHub repo has a folder literally called
things-that-do-not-work, listing behaviors where the emulator doesn't yet match real AWS. That's unusually honest for a launch.
- It's free, and the license is as open as it gets. The code is released under CC0, a public-domain dedication.
I'm not saying it beats the alternatives for every use case. I haven't benchmarked it, and LocalStack and others have years of community polish. But “built from the source of truth and tested against the real thing” is a different approach from “implemented by imitation.”
3. The Surprising Part: AI Agents Built It
According to AWS, all of the emulator's code was written and tested by AI agents. The idea came from a Senior Principal Engineer, Matt Goldberg, who bet that an agent could build a working copy of a service if it had two things: a written description of how the service should behave, and the real service to check against.
He started with SQS alone. One prompt to Kiro produced a passable first version in about 15 minutes. That prototype grew into the full emulator. Every change passes a merge gate of automated checks, including several security agents that review it adversarially.
The lesson isn't “agents can write anything.” It's that the engineer's job moves to building the specs, tests and guardrails that tell the agent when it's right. If you're a student learning to code today, that's worth sitting with.
4. Hands-On: Test DynamoDB Locally
Install the emulator following the official docs. On Linux, AWS provides RPM and Debian packages. On Windows and macOS, the documented route uses Docker with an image you build from their Dockerfile.
Configure the local endpoint
Point your terminal at the emulator:
export AWS_ENDPOINT_URL=https://127.0.0.1:9297export AWS_SHARED_CREDENTIALS_FILE=~/.aws/emulator/9297/emulator_credentialsCreate a DynamoDB table
aws dynamodb create-table \ --table-name demo-table \ --attribute-definitions AttributeName=id,AttributeType=S \ --key-schema AttributeName=id,KeyType=HASH \ --billing-mode PAY_PER_REQUESTWrite and read an item
aws dynamodb put-item \ --table-name demo-table \ --item '{"id":{"S":"item-1"},"message":{"S":"Hello AWS Emulator"}}'
aws dynamodb get-item \ --table-name demo-table \ --key '{"id":{"S":"item-1"}}'Nothing was deployed and nothing was billed. Use the emulator's generated credentials and keep your real AWS keys out of this shell.
Add your own result here: What you built, what worked, and one thing that surprised or broke. Even two sentences from real use will make this post far more credible than any summary.
5. What This Changes for AI Coding Agents
A coding agent works in a loop: write code, run it, read the result, adjust. When the services it calls behave like the real ones, the agent can check its own work as it goes and get things right on the first attempt more often.
Picture the loop: the agent writes a DynamoDB integration, creates a table in the emulator, inserts sample data, reads it back, spots a mismatch, and fixes the code. You review a change that has already been run, instead of one that only looks plausible.
6. Limitations: What AWS Emulator Can't Replace
Read this before you trust a green test.
Capability | Local emulator | Real AWS |
|---|---|---|
Where it runs | Your machine | AWS cloud |
Deployment needed | No | Usually |
Cost | No emulator fee | Resources may be billed |
IAM and resource policies | Not evaluated like real AWS | Fully enforced |
Cross-account / cross-Region | Not supported | Supported |
Proves production readiness | No | Yes |
Each emulator instance is a single account. Some operations aren't implemented yet. A passing local test tells you your code talks to the API correctly, not that your permissions, networking or limits will behave in production. A wrong IAM policy can pass every local test and still fail on day one in the cloud.
My rule: use the emulator for speed, and use real AWS for truth.
7. Who Benefits Most?
- Students: Practice real AWS API calls without worrying about a surprise bill.
- Indie developers: Run fast, repeatable tests before spending money.
- Teams: Local and CI test runs that don't depend on shared cloud resources.
- Anyone using AI coding tools: A safe place for an agent to test its own work.
The wider shift is hard to miss. Cloud development is getting cheaper to experiment with, and the skill that matters is increasingly designing the tests that tell you whether code is right, not typing the code itself.
Conclusion: Local Testing for Speed, Real AWS for Confidence
AWS Emulator is an interesting addition to the developer ecosystem because it addresses a practical problem rather than simply introducing another AI feature.
Local testing, faster feedback, and repeatable workflows are valuable whether you are building a small student project or a larger cloud application.
However, the most effective approach is to combine local testing with proper AWS deployment and validation.
I'm curious where you land:
- Local emulator first, real AWS before release
- Real AWS only
- Still using LocalStack or another emulator
Drop a number in the comments, and tell me the one AWS service you'd most want emulated well.
Sources
- AWS Emulator launch posts (AWS News Blog, All Things Distributed)
- AWS Emulator GitHub repository
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article