AWS Emulator
#139 · Level 4 · Operations and specialized areas · DevOps and Infrastructure as CodeConcept
Section titled “Concept”AWS Emulator is a program that runs on your own computer and imitates the AWS APIs, so you can build and test AWS applications locally. Your code, the AWS CLI or an AWS SDK sends its requests to the emulator instead of to real AWS, and the code itself doesn’t change. It needs no AWS account, and it creates no resources in real AWS. The emulator keeps all resources in memory and deletes them when it stops; if you run several emulators at once, each one keeps its resources separate. It is for building and testing only, not for production, and how closely it matches real AWS varies by service, which AWS publishes for each service.
Simple example
Section titled “Simple example”Cricket net practice before the real match. In the nets you can practise as much as you like, and a mistake costs nothing — but not everything is exactly like the real match.
Why it’s needed
Section titled “Why it’s needed”Testing on real AWS needs an account, creates resources, and every deployment takes time. With the emulator you can check your code quickly on your own computer first.
Where it’s used
Section titled “Where it’s used”- A developer runs code that uses S3 or DynamoDB on their own laptop
- Automatic tests in a CI pipeline, without an AWS account
- An AI coding agent tests its code before it is deployed
- Several tests run at the same time, each on its own separate emulator
Key terms
Section titled “Key terms”| English | Simple meaning |
|---|---|
| Emulator | A program that imitates how another system behaves |
| Endpoint | The address that requests are sent to |
| Fidelity | How exactly the emulator matches real AWS |
Related
Section titled “Related”AWS Command Line Interface · AWS SDKs · Kiro
Learn more
Section titled “Learn more”For details and the latest information, see the official documentation: