Floci: Locally emulating any cloud service
Floci introduces a new suite of open-source tools that emulate major cloud services locally, offering a fast, free, and credential-free environment for developers. It's particularly geared towards accelerating AI-assisted development and improving CI/CD workflows, providing a robust alternative to interacting directly with live cloud accounts. Hacker News loves tools that streamline developer experience, enhance security, and embrace open-source principles.
The Lowdown
Floci is a project providing local emulators for various services across major cloud platforms, including AWS, Azure, GCP, and OCI. It aims to offer developers a fast, credential-free, and safe environment to build, test, and verify cloud-native applications directly on their machines.
- Comprehensive Emulation: Floci offers dedicated emulators (
floci,floci-az,floci-gcp,floci-oci) for a wide range of services across AWS (119+), Azure (21+), GCP (25), and OCI (8). Each emulator is a standalone, MIT-licensed binary. - Performance & Efficiency: Built with GraalVM Mandrel, Floci boasts native binary speed, starting in 24ms and idling at just 13 MiB, making it ideal for rapid inner-loop development and CI environments.
- AI-Assisted Development Focus: It provides a 'cloud' that AI agents can't break, allowing them to write, run, and verify cloud code without risking real credentials or incurring costs. This eliminates credential leaks, offers instant feedback, and prevents 'blast radius' issues often associated with live environments.
- High Fidelity: Unlike simple mocks, Floci runs real engines (e.g., Docker containers for Lambda, PostgreSQL/MySQL for RDS, Redis for ElastiCache) ensuring 100% protocol fidelity and preventing surprises when deploying to production.
- Developer-Friendly: It integrates seamlessly with existing SDKs, CLIs, Terraform/OpenTofu, and test runners, requiring no special integration. It's MIT-licensed, completely free, and requires no auth tokens, sign-ups, or telemetry.
- Versatile Use Cases: Floci is designed for ephemeral CI test environments, local-first development (even offline), infrastructure-as-code dry runs, and educational workshops, making cloud development safer, cheaper, and faster across various scenarios.
In essence, Floci positions itself as a robust, open-source solution for local cloud development, addressing common pain points like cost, speed, and security that arise from directly interacting with remote cloud services during the development and testing phases.