Skip to content
FossShelf
Home / Categories / For Engineers

Floci

Local AWS emulator with no account, auth token, or feature gates

Replaces Localstack Enterprise

31.85K starsMITlast commit 16 Nov 2026

Who it's for

Backend engineers running local AWS integration tests

Write test suites against S3, DynamoDB, SQS, Lambda, and other services without an AWS account or credentials. Start Floci with docker compose up, point the AWS SDK at localhost:4566, and run tests using the same client code that will run in production.

If your test suite already mocks AWS at the SDK level (for example with aws-sdk-mock or moto), adding Floci increases integration fidelity but also adds Docker as a test dependency. Teams satisfied with SDK-level mocks may not need it.

DevOps teams running AWS integration tests in CI

Include Floci as a service in your GitHub Actions, GitLab CI, or CircleCI configuration alongside the application container. Floci's 24ms startup and 90 MB image keep CI job times short. No AWS credentials, IAM roles, or outbound network access to AWS are needed in the CI environment.

If your CI environment restricts Docker-in-Docker or does not allow mounting the Docker socket, you can still run Floci's stateless services but not container-backed ones like Lambda or RDS.

Platform engineers testing Terraform and CDK locally

Point the standard HashiCorp AWS Terraform provider at localhost:4566 and provision AWS-shaped resources without touching a real account. The same approach works for AWS CDK and OpenTofu. Floci's CloudFormation support lets you test stack creation locally before pushing to a real environment.

Floci does not replicate all service quotas, limits, or region-specific behaviors of the real AWS. IaC tests that depend on specific quota values or availability zone counts may see different behavior than in a real account.

Teams migrating off deprecated LocalStack Community Edition

LocalStack Community Edition was sunset in March 2026. Floci is a drop-in replacement for LocalStack. Swap the Docker image from localstack/localstack to floci/floci:latest and keep the existing localhost:4566 endpoint. The Floci README includes a migration guide with the few configuration differences to account for.

If you are using LocalStack Enterprise features, verify which services you depend on against the Floci services overview first. Most services are covered, but some enterprise-specific operations may differ.

The problem

AWS-dependent code typically cannot be tested without a real cloud account. Each developer on a team needs IAM credentials before they can run the test suite, and CI pipelines make API calls that generate charges even in non-production environments. LocalStack Community Edition was the common answer for years, but that edition was sunset in March 2026, requiring an auth token to start and freezing security updates for users on the free tier. The services that matter most were never in the community edition anyway. API Gateway v2, Cognito, RDS, ElastiCache, MSK, Neptune, DocumentDB, ECS, EC2, EKS, and CodeBuild all required LocalStack Enterprise, meaning teams either paid for an enterprise subscription or ran integration tests against a real AWS account with real API charges. For many projects, the cost and complexity of either path meant living without local integration tests entirely.

How it works

No account, token, or feature gates

Pull the Docker image and every emulated AWS service is immediately available at localhost:4566. There is no sign-up flow, no auth token to manage, and no community-edition restrictions on which services you can use. Credentials can be any non-empty string unless you enable optional service-specific auth checks.

24ms startup with a 90 MB Docker image

The server starts in approximately 24 milliseconds and the Docker image weighs about 90 MB, compared to roughly 3.3 seconds and 1 GB for LocalStack Community Edition. The difference matters for CI pipelines that spin up a fresh container per test run and for local development where a slow emulator adds friction to the feedback loop.

Real Docker execution for compute and database services

Lambda, RDS, Neptune, ElastiCache, MSK, ECS, EC2, EKS, OpenSearch, and CodeBuild run as real Docker containers rather than shallow in-process mocks. A Lambda function runs in an actual runtime environment; an RDS instance is a real PostgreSQL or MySQL container; an MSK broker is Redpanda. This fidelity catches bugs that mock-based approaches miss.

Broad AWS service coverage

Floci emulates services across compute, storage, eventing, identity, networking, and AI categories, including S3, DynamoDB, SQS, SNS, Lambda, IAM, API Gateway v1 and v2, Cognito, CloudFormation, EventBridge, Step Functions, Athena, Bedrock, and many more. A full services overview with per-service operation counts is available in the Floci documentation.

Drop-in LocalStack compatibility

Point your existing AWS SDK, CLI, Terraform provider, or testcontainers setup at localhost:4566 and Floci responds to the same AWS wire protocol. Any published AWS region works in every partition. The README includes a migration guide for teams switching from LocalStack: swap the image name and keep the existing configuration.

Browser console for local resource inspection

A web console is available at localhost:4566/_floci/ui. On first access, Floci pulls the console image and starts it as a sidecar container on its Docker network, then redirects the browser once it is ready. The console image can be replaced with any implementation that follows the published Floci console contract.

Features

  • No account, token, or feature gates
  • 24ms startup with a 90 MB Docker image
  • Real Docker execution for compute and database services
  • Broad AWS service coverage
  • Drop-in LocalStack compatibility
  • Browser console for local resource inspection

How to install

Deploy using Docker to start a local server on port 4566.

docker run -p 4566:4566 floci/floci:latest

Recommended for this setup

Strengths

  • MIT license with no community-edition feature gates: Every feature is available under MIT with no tiered access. You can fork it, embed it in another tool, modify it, or run it commercially without restriction. LocalStack Enterprise requires a paid subscription; Floci requires no payment beyond server infrastructure costs.
  • Significantly faster and leaner than LocalStack Community Edition: The startup time comparison is roughly 137x faster than LocalStack Community Edition (24ms versus 3.3 seconds), and idle memory is about 11x lower (13 MiB versus 143 MiB). The Docker image is about 90 MB versus 1 GB. These differences are material in CI environments that spin up a fresh container per test job.
  • Real Docker execution where fidelity matters: Services that need runtime fidelity, including Lambda, RDS, ElastiCache, MSK, Neptune, DocumentDB, ECS, EC2, EKS, OpenSearch, and CodeBuild, run as actual Docker containers. An MSK broker is Redpanda; an RDS instance is PostgreSQL or MySQL. Testing against a shallow mock of these services misses the bugs that real Docker catches.
  • Active development with security updates: LocalStack Community Edition froze security updates at its March 2026 sunset. Floci has over 27,000 GitHub stars, a last push on 2026-10-29, and the project commits to ongoing security releases as part of its always-free model.

Trade-offs

  • Container-backed services require Docker socket access: Services like Lambda, RDS, ElastiCache, and ECS require Floci to start sidecar Docker containers, which means the Docker socket must be mounted into the Floci container. This prevents Floci from running in environments where Docker-in-Docker is unavailable or where socket access is restricted by the CI platform.
  • Java runtime adds memory overhead for container workloads: Floci is written in Java. The native binary eliminates JVM startup cost and ships at roughly 40 MB, but the Docker image still depends on a JVM runtime. Container-backed workloads that start multiple Docker sidecars simultaneously (such as RDS, Lambda, and ElastiCache together) require meaningful memory headroom beyond the emulator's own 13 MiB idle footprint.
  • Newer project with less community history than LocalStack: Floci was created in February 2026 and has 176 open GitHub issues as of late October 2026. It is growing quickly, but teams migrating from LocalStack may find that some edge cases in service coverage are less documented than they were in LocalStack's multi-year community history.

Tech stack

Languages
Java, Python, Shell, TypeScript, Go, HCL, PLpgSQL, Makefile, JavaScript, HTML, Go Template, Dockerfile, CSS, Just
Frameworks
—
Databases
—
Tooling
AWS, Docker, esbuild

FAQ

Is Floci a drop-in replacement for LocalStack?

Yes. Floci listens on port 4566 and responds to the same AWS wire protocol, so existing AWS SDK configs, CLI endpoint overrides, and testcontainers setups work without changes. Swap the Docker image from localstack/localstack to floci/floci:latest and update the aws endpoint-url to localhost:4566. The README includes a specific migration guide.

Is Floci free for commercial use?

Yes. Floci is MIT-licensed, which permits commercial use, modification, distribution, and sublicensing without restriction. There is no paid tier, enterprise edition, or feature gate.

How does Floci compare to LocalStack on service coverage?

Floci covers services that LocalStack Community Edition never included, such as API Gateway v2, Cognito, RDS, ElastiCache, MSK, Neptune, DocumentDB, ECS, EC2, EKS, and CodeBuild. These are backed by real Docker containers rather than in-process mocks. A full comparison table is in the Floci README.

Does Floci support Testcontainers?

Yes. Testcontainers can start Floci as a container dependency in JVM, Python, Go, and other language test frameworks. The Floci GitHub repository includes a testcontainers section in the README with configuration examples.

What persistence options does Floci support?

Four modes: in-memory (state is lost on restart), hybrid, persistent (state survives restarts), and write-ahead log (WAL). For most local development and CI use cases, in-memory mode is sufficient. Persistent mode uses a local bind mount or named Docker volume to survive container restarts.

Similar tools

More in Engineers