Back to services

floci

Light, fluffy, and always free - The AWS Local Emulator alternative

View alternatives to floci
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Floci's tagline is "Light, fluffy, and always free." It is an open-source local emulator for AWS services, built for developers who need to use AWS services in development and CI environments. Its goals are to eliminate costs, reduce complexity, and avoid vendor lock-in.

Key Features

  • Wide coverage of AWS services: The official documentation lists a large number of emulated services, including:
    • Storage and databases: S3, S3 Tables, S3 Vectors, EFS, DynamoDB, RDS, Aurora DSQL, ElastiCache, MemoryDB, DocumentDB, Neptune, Redshift
    • Compute and containers: Lambda (including MicroVMs and Web Functions), EC2, ECS, ECR, EKS, Elastic Beanstalk, AWS Batch
    • Messaging and events: SQS, SNS, SES, Kinesis, MSK (Kafka), Amazon MQ, EventBridge (including Pipes and Scheduler), Step Functions
    • Identity and security: IAM, STS, Cognito, KMS, Secrets Manager, IAM Identity Center, WAF v2, GuardDuty, Security Hub
    • Infrastructure and operations: CloudFormation, Cloud Control API, CloudWatch, CloudTrail, Route53, CloudFront, API Gateway, AppSync
    • Data analytics and AI: Glue, Athena, EMR, Data Firehose, OpenSearch, Bedrock, SageMaker, Textract, Comprehend, Rekognition, Translate
    • Developer tools and cost management: CodeBuild, CodePipeline, CodeDeploy, CodeArtifact, Cost Explorer, Budgets, Pricing
  • Single endpoint: All emulated services are accessed through http://localhost:4566.
  • Web console: A built-in web interface lets you view and manage local resources.
  • Testcontainers integration: Testcontainers support is available for Java, Node.js/TypeScript, Python, .NET, and Go, which makes writing integration tests easier.
  • Rich configuration options: Supports multi-account isolation, AWS partitions, multiple storage modes, TLS/HTTPS, and initialization hooks. You can configure it with environment variables or application.yml.
  • Toolchain compatibility: Works with the AWS CLI, AWS SDKs for various languages, and Terraform. The project also provides a migration guide from LocalStack.

Core Advantages

  • No account required: No auth token, no sign-up, and no telemetry. Just pull the image and go.
  • No feature restrictions: All features are available to everyone, with no distinction between a community edition and a paid edition.
  • Unlimited CI usage: Running it in CI pipelines is not subject to limits, quotas, or paid tiers.
  • Truly open source: Licensed under MIT, so you can freely fork, extend, and embed it. The project explicitly states that there will be no "community edition end-of-life" scenario.

Target Users

  • Backend developers building cloud-native AWS applications who want to debug quickly on their own machines
  • Teams that need to run AWS-related integration tests in CI
  • Engineers who use Terraform or similar tools for infrastructure as code and want to validate configurations locally
  • Users looking for a free alternative to LocalStack

Deployment

Docker Compose is the recommended way to deploy:

services:
  floci:
    image: floci/floci:latest
    ports:
      - "4566:4566"
    volumes:
      - ./data:/app/data

After starting the service, test it with the AWS CLI:

docker compose up -d
aws --endpoint-url http://localhost:4566 s3 mb s3://my-bucket

Technical Requirements

  • A Docker or Docker Compose environment
  • A client such as the AWS CLI, an SDK, or Terraform, with the endpoint pointed to http://localhost:4566
  • To persist data, mount /app/data to a local directory or a named volume

Notable Points

  • The official documentation lists the number of supported operations, endpoints, and protocol details for each service, making it easy to assess compatibility.
  • There is dedicated LocalStack migration documentation, so the cost of switching over from LocalStack is low.