Skip to content

localemu

Pip-installable local AWS emulator for developers testing against 133 services

Permissive (OSI) · Apache-2.0

Listed by , founder & editor

56

Health

Active

Overview

Stars

230

Last commit

17 days ago

Nov 2026

Repository age

8 months

since Apr 2026

Latest version

v1.4.0

Nov 2026

Contributors

–

1 active in 90 days

Releases

8

last 12 months

Docker pulls

13k

localemu/localemu

Language

Python

LocalEmu emulates 133 AWS services on your own machine. You start it with one command and point the AWS CLI, boto3, Terraform, CDK or Pulumi at localhost:4566. It needs no account, token or internet connection.

Some services run real engines. Lambda executes your code in the official AWS runtime images, EC2 instances are containers on a real VPC, and RDS is an actual PostgreSQL or MySQL you can connect to. With IAM_ENFORCEMENT=1, identity and resource policies deny requests. Docker is required for those services. The rest is pure Python.

It also ships awsemu, a wrapper around the AWS CLI that sets credentials, region and endpoint for you. A companion examples repository covers VPC setups, Step Functions, EKS with kubectl and more. LocalEmu is Apache-2.0 licensed and positions itself as a direct replacement for LocalStack.

Who it's for

Developers building against AWS APIs

You can iterate on S3, DynamoDB or Lambda code locally at no cost.

Skip if: You need behavior that only real AWS accounts provide.

CI pipeline maintainers

Tests run against emulated services without credentials or network access.

Skip if: Your CI runners cannot run Docker for Lambda, RDS or EC2.

Teams using Terraform or CDK

Infrastructure code can be applied to localhost:4566 before touching a real account.

Skip if: You depend on an IDE plugin, which it does not offer.

The problem it solves

Testing cloud code against real AWS costs money, needs credentials and slows each iteration. You want to build and break things locally without an account.

Strengths

  • Emulates 133 AWS services
  • Installs with pip, no Java or account required
  • Lambda, RDS and EC2 use real engines or containers
  • Optional IAM policy enforcement
  • Works with AWS CLI, boto3, Terraform, CDK and Pulumi

Trade-offs

  • Docker is required for Lambda, ECS, EKS, RDS, OpenSearch and EC2
  • No IDE plugin
  • Young project with a single recent contributor
  • Emulation will not match every AWS behavior

localemu replaces

Self-host localemu

Self-hostable
Yes
Docker image
localemu/localemu
Docker Compose
The repository ships a Compose file

Quick start

pip install localemu

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is LocalEmu free?

Yes. It is Apache-2.0 licensed and needs no account, token or sign-up.

How do I install it?

Run pip install localemu, then localemu start.

Does it need Docker?

Only for services that run a real engine, such as Lambda, ECS, EKS, RDS, OpenSearch and EC2.

Which tools work with it?

The AWS CLI, boto3, Terraform, CDK and Pulumi, pointed at http://localhost:4566.

Other Localstack alternatives

Compare all 3 Localstack alternatives →

Similar tools in Testing and code quality tools

Sorry Cypress

Testing and code quality tools

Self-hosted Cypress dashboard for parallel runs, recordings and results, without run

2.8k 288 17 months ago Dormant MIT

seer

Testing and code quality tools

3.5k 121 yesterday Active GPL-3.0

Coccinelle

Testing and code quality tools

830 120 3 months ago Dormant GPL-2.0

edb

Testing and code quality tools

3k 342 yesterday Active GPL-2.0

AngusTester

Testing and code quality tools

1.8k 202 30 days ago Slowing GPL-3.0

docker-sonarqube

Testing and code quality tools

1.6k 1k today Thriving LGPL-3.0