
90MB local AWS instance: Floci replaces the defunct LocalStack community edition using Docker Compose
Following the discontinuation of the community version of LocalStack in March, MIT-licensed Floci has taken over and provides a local AWS simulator: starting with 24ms latency, 13MiB of idle memory, and 90MB of images. It can run real Docker containers for services like Lambda/RDS/ECS, and switching the LocalStack environment simply involves changing the image.
Related tags
For years, developers in this region have essentially used the "LocalStack Community Edition" to handle local AWS development and CI/CD. However, in March of this year, LocalStack Community Edition announced its discontinuation due to security concerns related to authentication and updates. The resulting gap was quickly filled by Floci, a MIT-licensed alternative that requires no account or feature restrictions. Its README clearly states: docker compose up, making it incredibly simple to use.
Indeed, using Floci is remarkably similar to the original LocalStack Community Edition. You simply point your AWS SDKs (like boto3, CLI, Terraform, CDK, OpenTofu, or testing frameworks) at http://localhost:4566, provide any valid credentials, and you're ready to go. The startup process is straightforward: floci start (which offers both a command-line interface and options for Docker Compose or native binaries), followed by running eval $(floci env) to import the necessary AWS environment variables. Then, you can use commands like aws s3 mb and aws dynamodb create-table as usual.
The most striking comparison comes from a table in the README, which contrasts LocalStack Community Edition with Floci:
| Project | Floci | LocalStack Community Edition |
|---|---|---|
| Requires auth token | No | Yes |
| Security updates | Yes | Frozen |
| Startup time | ~24 ms | ~3.3 s |
| Memory usage | ~13 MiB | ~143 MiB |
| Image size | ~90 MB | ~1.0 GB |
| Protocol | MIT | Restricted |
The differences are significant, especially in a CI/CD context. The 24-millisecond startup time compared to the 3.3 seconds, and the 13MiB versus 143MiB memory usage, make a real difference when you're running tests repeatedly. This can add up to several minutes of overhead over time. Additionally, each release provides approximately 40MB of native binaries for Linux/macOS/Windows, allowing you to run without Docker.
Floci adopts a "truthful" approach: Lambda, RDS, Neptune, ElastiCache, MSK, ECS, EC2, EKS, OpenSearch, CodeBuild, and Managed Service for Apache Flink all utilize real Docker containers instead of simulating them in memory. For S3, DynamoDB, SQS, SNS, IAM, KMS, and Step Functions, a process-level implementation is used to achieve faster startup times.
The migration cost is reduced to "switching images": the LOCALSTACK_* environment variables are automatically translated, the init script in /etc/localstack/init/ executes as is, and the /_localstack/init and /_localstack/health endpoints remain available. Logging also includes a "Ready." message at the end. This means that Testcontainers' default LocalStackContainer settings don't need to be changed. To disable this compatibility layer, you can simply set LOCALSTACK_PARITY=false. The official Testcontainers module (for .NET, Java, etc.) is also available, allowing you to start an isolated instance directly from your tests.
Two additional details are worth noting. First, the browser console: accessing http://localhost:4566/_floci/ui doesn't pre-start anything; the first request pulls in a sidecar image, injects Floci's accessible address, performs health checks, and then redirects you. Second, it supports multiple clouds: floci-az (Azure:4577), floci-gcp (GCP:4588), and floci-oci (OCI:4599) are available, each with its own port and naming convention, inspired by popular cloud providers.
The transition from "commercial product to community edition" to "open source takeover" is a common pattern in the infrastructure space. What makes Floci unique is its focus on engineering metrics like startup time, memory usage, and image size, which are presented prominently on the first page of its README. For something that needs to be repeatedly spun up in a CI/CD environment, these metrics can be more important than the number of services.
Repository: https://github.com/floci-io/floci
More News
Want to see more quality content?
Browse all news