
中文版
floci(GitHub:https://github.com/floci-io/floci ,2026-02-18 创建,今晨抓取时已 28,778★)是免费开源的本地 AWS 模拟器:把一整套 AWS 形态的服务搬到本机跑,开发、测试、CI 都不用真的开云账号。
按 README 的说法,它的口号是“轻、蓬松、永远免费”:无账号、无 auth token、无付费功能门,一条 floci start 或 docker compose up 就能起,服务统一挂在 http://localhost:4566,已有的 AWS SDK、CLI、Terraform、CDK、OpenTofu 和测试套件直接指过去就能用。覆盖面很广:S3、SQS、SNS、DynamoDB、Lambda、IAM、STS、KMS、Cognito、API Gateway、Step Functions、CloudWatch 等,Lambda、RDS、ElastiCache、ECS、EC2、EKS、OpenSearch 等则用真实 Docker 容器执行而非浅层 mock;还自带浏览器控制台(http://localhost:4566/_floci/ui)查看本地资源。README 还给了和 LocalStack 社区版的对比:启动约 24 毫秒、空闲内存约 13 MiB、镜像约 90 MB,MIT 协议开源;并称 LocalStack 社区版已于 2026 年 3 月日落、需要 auth token 且安全更新冻结,floci 可作为平替换镜像即用。
为什么值得了解
- 对学 AWS、做云上项目的人最友好:不用开账号、不用绑卡、不用担心账单,本地就能把 S3、队列、数据库、Lambda 这一整套链路跑通
- 对写测试、跑 CI 的人尤其有用:启动快、内存占用低,测试里起一个本地 AWS 比连真实云更快、更稳、更便宜
- 但要理性看待“模拟器”三字:它模拟的是 AWS 的接口形态,不是真实云的全部行为与配额,上线前仍需在真实环境里再验证一次
English Version
floci (GitHub: https://github.com/floci-io/floci , created 2026-02-18, 28,778 stars at this morning’s fetch) is a free, open-source local AWS emulator: it brings a whole set of AWS-shaped services onto your own machine, so development, testing and CI do not need a real cloud account.
Per the README, its motto is “light, fluffy, and always free”: no account, no auth token, no paid feature gates — one floci start or docker compose up brings it up, with all services on http://localhost:4566, so existing AWS SDKs, CLIs, Terraform, CDK, OpenTofu and test suites can simply point at it. Coverage is broad: S3, SQS, SNS, DynamoDB, Lambda, IAM, STS, KMS, Cognito, API Gateway, Step Functions, CloudWatch and more, while Lambda, RDS, ElastiCache, ECS, EC2, EKS and OpenSearch run on real Docker-backed execution rather than shallow mocks; a browser console (at http://localhost:4566/_floci/ui) lets you inspect local resources. The README also compares it with LocalStack Community: roughly 24 ms startup, about 13 MiB idle memory and a roughly 90 MB image, under MIT; it says LocalStack Community sunset in March 2026, requires auth tokens and has frozen security updates, and that floci works as a drop-in replacement by swapping the image.
Why it’s worth knowing
- Friendliest possible way to learn AWS or build cloud projects: no account, no card, no bill anxiety — the whole S3, queue, database and Lambda chain runs locally
- Especially useful for tests and CI: fast startup and low memory make a local AWS far quicker, steadier and cheaper in tests than reaching a real cloud
- Keep the word “emulator” in perspective: it emulates AWS’s interface shape, not every behaviour and quota of the real cloud — verify once more in a real environment before shipping

评论(0)
暂无评论