AWS has released AWS Emulator , a free local copy of the AWS APIs. You run it
on your own machine, point the AWS CLI or an SDK at it, and your code creates
buckets, tables and functions without an AWS account, without a bill, and
without anything leaving your laptop.
I wanted to answer one question: can I test AWS code entirely in containers, locally and in CI, with no AWS account at
all? Short answer: yes, after four gotchas. Here's what I built and what I
learned.
What AWS Emulator is (and isn't)
A local server for the AWS APIs. It listens on one HTTPS port ( 127.0.0.1:9297 by default) and answers the same API calls AWS does.
No console. There's no web UI. You use the AWS CLI and SDKs, exactly as you would against AWS.
Unchanged tools. You switch your tools over with environment variables, not code changes.
Throwaway by design. Everything lives in memory, so restarting gives you a clean slate. That's great for tests.
One fake account, 000000000000 .…