Sign inSign up

floci/floci

Sponsored OSS

By Floci

•Updated about 12 hours ago

Light, fluffy, and always free - AWS Local Emulator

Image
Developer tools
9

1M+

floci/floci repository overview

Floci

⁠Floci

Any Cloud. Locally.
Light, fluffy, and always free: the AWS local emulator

Latest Release Docker Pulls License: MIT Stars


A free, open-source local AWS emulator for development, testing, and CI. No account. No auth token. No feature gates.

Point your AWS SDK, CLI, Terraform, OpenTofu, or CDK at http://localhost:4566 and keep your existing workflows. Already on LocalStack? Swap the image and keep going.

EmulatorCloudPort
floci⁠AWS4566
floci-az⁠Azure4577
floci-gcp⁠GCP4588
floci-oci⁠OCI4599

⁠Quick Start

floci start
eval $(floci env)

aws s3 mb s3://my-bucket
aws dynamodb list-tables
Prefer Docker Compose?
services:
  floci:
    image: floci/floci:latest
    ports:
      - "4566:4566"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
export AWS_ENDPOINT_URL=http://localhost:4566
export AWS_DEFAULT_REGION=us-east-1
export AWS_ACCESS_KEY_ID=test
export AWS_SECRET_ACCESS_KEY=test

Any region works. Credentials can be any non-empty values unless you enable stricter service-specific auth checks.

⁠Why Floci?

LocalStack's community edition sunset in March 2026⁠, requiring auth tokens and freezing security updates. Floci is the no-strings-attached alternative.

CapabilityFlociLocalStack Community
Auth token requiredNoYes
Security updatesYesFrozen
Startup time~24 ms~3.3 s
Idle memory~13 MiB~143 MiB
Image size~90 MB~1.0 GB
LicenseMITRestricted
API Gateway v2, CognitoYesNo
RDS, ElastiCache, MSK, Neptune, DocumentDBReal DockerNo
ECS, EC2, EKS, CodeBuildReal DockerNo

⁠Services

CategoryServices
Core app servicesS3, SQS, SNS, DynamoDB, Lambda, IAM, KMS, Secrets Manager, SSM
Events and workflowsEventBridge, Pipes, Scheduler, Step Functions, SWF, CloudWatch Logs and Metrics, RUM, Managed Prometheus
API and identityAPI Gateway REST and v2, AppSync, Cognito, ACM, Route53, Route 53 Resolver, Cloud Map
Containers and computeECS, EC2, Lightsail, EKS, MWAA, ECR, EFS, CodeBuild, CodeDeploy, CodePipeline, Batch, Auto Scaling, Beanstalk, ELB
Data, analytics, and AIAthena, Glue, EMR, Redshift, Firehose, Managed Flink, OpenSearch, S3 Tables, S3 Vectors, Bedrock Runtime, Bedrock AgentCore, and more
Databases and cachingRDS, RDS Data API, Neptune, DocumentDB, MemoryDB, ElastiCache
Messaging and transferSES, Kinesis, MSK, Amazon MQ, Transfer Family, IoT Core, Connect
Security and governanceWAF v2, GuardDuty, CloudTrail, CloudFront, Organizations, Control Tower, Service Catalog, and more
Cost and billingPricing, Cost Explorer, Cost and Usage Reports, BCM Data Exports
Resilience and configFIS, Backup, Config, AppConfig, CloudFormation, Cloud Control API

Full operation-level detail: floci.io/floci/services⁠

Real Docker where fidelity matters: Lambda, RDS, Neptune, DocumentDB, ElastiCache, MemoryDB, MSK, Amazon MQ, ECS, EC2, EKS, MWAA, OpenSearch, ECR, CodeBuild, and Managed Flink run real containers. Mount /var/run/docker.sock to enable them.

⁠Compatibility Testing

ModuleSDK / ToolTests
sdk-test-javaAWS SDK for Java v21,326
sdk-test-nodeAWS SDK for JavaScript v3449
sdk-test-pythonboto3311
sdk-test-awscliAWS CLI v2205
sdk-test-goAWS SDK for Go v2157
compat-terraformTerraform v1.10+67
compat-opentofuOpenTofu v1.9+41
compat-cdkAWS CDK v2+20

2,576 automated compatibility tests across 5 SDKs and 3 IaC tools.

⁠Testcontainers

LanguagePackageLatest
Javaio.floci:testcontainers-floci1.14.0 (Testcontainers 1.x), 2.15.0 (2.x / Spring Boot 4.x)
Node.js@floci/testcontainers0.1.0
Pythontestcontainers-floci0.1.1
GoIn progressN/A

⁠Migrating from LocalStack

Drop-in replacement. Same port, credentials, and endpoint pattern.

image: floci/floci:latest          # was localstack/localstack
image: floci/floci:latest-compat   # if init scripts need AWS CLI or boto3

LocalStack env vars are translated automatically (LOCALSTACK_HOST, PERSISTENCE, LAMBDA_DOCKER_NETWORK, DEBUG). Init scripts under /etc/localstack/init/ run unchanged, /_localstack/health is served, and the log ends with a LocalStack-style Ready. line. Set LOCALSTACK_PARITY=false to opt out.

⁠Configuration

VariableDefaultDescription
FLOCI_PORT4566Port exposed by the API
FLOCI_DEFAULT_REGIONus-east-1Default AWS region
FLOCI_DEFAULT_ACCOUNT_ID000000000000Default AWS account ID
FLOCI_BASE_URLhttp://localhost:4566Base URL for returned service URLs
FLOCI_HOSTNAME(unset)Hostname in returned URLs (multi-container Compose)
FLOCI_STORAGE_MODEmemorymemory, persistent, hybrid, or wal
FLOCI_STORAGE_PERSISTENT_PATH./dataDirectory for persisted state

Full reference: floci.io/floci/configuration⁠

Multi-account isolation: a 12-digit AWS_ACCESS_KEY_ID is used as the account ID, and resources are invisible across accounts. STS temporary credentials resolve to the assumed role's account.

⁠Image Tags

ChannelStandardWith AWS CLI and boto3
Release, floatinglatestlatest-compat
Release, pinnedx.y.zx.y.z-compat
Nightlynightly, nightly-mmddyyyynightly-compat

Stable releases ship on the 1st and 3rd Tuesday of each month. nightly tracks main.

⁠Resources

⁠License

MIT. Use it however you want.

Tag summary

Content type

Image

Digest

sha256:e97cd0c1d…

Size

79.3 MB

Last updated

6 days ago

docker pull floci/floci

This week's pulls

Pulls:

363,902

Sep 28 to Oct 4