Documentation

Everything you need to install, configure, and use LocalEmu. 133 AWS services, 8,969 API operations, all running on your machine.

Get started in 10 seconds

Install, start, and create your first S3 bucket.

pip install localemu localemu start aws --endpoint-url=http://localhost:4566 s3 mb s3://my-bucket

Reference

Configuration

All configuration options

CLI Commands

start, stop, status, services

Lambda: API reference

Docker-backed runtimes, layers, ESM, function URLs

S3: API reference

Custom Python impl with persistence, multipart, versioning, event fan-out

DynamoDB: API reference

Pure-Python Moto backend, full streams, transactions, global tables

SQS: API reference

Custom impl: FIFO + standard, real visibility tracker, DLQ + redrive, CloudWatch metrics

SNS: API reference

Custom impl: 9 protocols, FIFO topics, filter policies, per-subscription DLQ

EventBridge: API reference

16 target types, 11 pattern operators, archives + replays, API destinations, scheduled rules

Step Functions: API reference

Pure-Python ASL interpreter, 8 state types, 11 service integrations, 18 intrinsics

EC2: API reference

SSH, SSM, IMDS

RDS: API reference

PostgreSQL, MySQL, MariaDB

OpenSearch: API reference

Real full-text search

Security Groups

TCP proxy enforcement

Cognito: API reference

User pools and JWT issuance: sign-up, sign-in, token verification, iss/kid claims

KMS: API reference

Real AES-256-GCM, RSA, ECC, HMAC via cryptography lib, grants, aliases, rotation, multi-region keys

Bedrock + Bedrock Runtime

21-model catalog, InvokeModel with a synthetic default or real local inference through Ollama

GuardDuty: findings

Native sample findings, criteria, sorting, archive, statistics, persistence, EventBridge delivery

Secrets Manager: API reference

Real Lambda-driven 4-step rotation, version stages, resource policies, full persistence

Kinesis: API reference

Python SubscribeToShard event-stream generator, fault injection, resource policies, Lambda ESM

CloudWatch Logs: API reference

Real-time subscription dispatch to Lambda/Kinesis/Firehose, full filter-pattern syntax

CloudWatch (metrics+alarms): API reference

SQLite-backed metric store, real alarm scheduler thread, composite alarms, full dashboard CRUD

Amazon MQ: API reference

Real rabbitmq:3.13-management container per broker, amqp/amqps/mqtt/stomp/mgmt-UI

Amazon MSK (Kafka): API reference

Real apache/kafka 3.7.1 broker in KRaft mode, full Kafka wire protocol

Athena: API reference

Real DuckDB query engine reading Parquet/CSV/JSON/ORC from S3 through Glue Catalog

ECS: API reference

Real Docker container execution for FARGATE + EC2 launch types, awsvpc attachment

EKS: API reference

Real Kubernetes cluster via k3d, kubectl-accessible API server, real Pod scheduling + exec

SES + SES v2: API reference

All 110 v2 + 71 v1 ops; on-disk mailbox, Handlebars templates, configuration-set events

Firehose: API reference

Real delivery to S3, HTTP endpoints, OpenSearch, Redshift; Lambda transform processors run for real

EventBridge Pipes: API reference

All 10 ops greenfield, SQS source poller + filter criteria + JSONPath InputTemplate

EventBridge Scheduler: API reference

Real 1s polling thread, rate/cron/at expressions with timezone, FlexibleTimeWindow jitter

API Gateway (REST API): API reference

Real HTTP runtime: AWS_PROXY/AWS/HTTP/HTTP_PROXY integrations, VTL, Lambda authorizers

Environment Variables

Full env var reference

awsemu vs AWS CLI

How awsemu differs from aws: only endpoint and credential defaults change

API Gateway V2

HTTP API v2: routes, integrations, JWT authorizers, CORS, custom domains