
Floci: Locally emulating any cloud service
Coding agents write cloud code faster than ever, but they can't safely run it against a real account. Point them at Floci instead: a local cloud to build, run, and verify against. Instant, free, and credential-free.
以下正文同步自 Hacker News,版权归原站所有,已转换为易读排版。
Coding agents write cloud code faster than ever, but they can't safely run it against a real account. Point them at Floci instead: a local cloud to build, run, and verify against. Instant, free, and credential-free.
Agents connect with throwaway keys. No real cloud secrets in the agent's context or sandbox. Nothing to exfiltrate, nothing to bill.
24 ms cold start, 13 MiB idle. Agents spin up, test, and tear down inside the edit loop instead of waiting on round-trips to a remote account.
Lambda, RDS, Redis, and Kafka run for real, so code an agent verifies locally behaves the same in production. No mock-shaped false positives.
Let agents iterate aggressively. Worst case, they reset a local container, not your staging environment or your cloud bill.
Works with every SDK, CLI, Terraform/OpenTofu module, and test runner your agents already use, with no special integration.
Manage and explore every Floci emulator from a unified CLI or visual dashboard.
A unified command-line interface to start, stop, and inspect all Floci emulators. One install covers AWS, Azure, GCP, and OCI from a single tool.
A visual dashboard for all Floci cloud emulators. Browse resources, inspect data, and manage services across AWS, Azure, GCP, and OCI from one place.
No gatekeeping. No pricing tiers. No surprises. A local cloud that starts in milliseconds and works everywhere.
Fork it, embed it, extend it. No "community edition" sunset, no enterprise feature flags. Every service is available to every developer, always.
Pull the Docker image and go. No sign-ups, no API keys, no telemetry. LocalStack started requiring an auth token in March 2026. Floci never will.
Compiled with GraalVM Mandrel. Starts in 24ms, idles at 13 MiB, fast enough for inner-loop iteration. Your CI, your laptop, and your AI agents will all thank you.
Lambda runs in real Docker containers. RDS uses real PostgreSQL/MySQL. ElastiCache runs real Redis. 100% protocol fidelity, no surprises in production.
From the inner loop to CI to the classroom — anywhere a real cloud account is too slow, too risky, or too expensive.
Spin up the full stack inside every pipeline job. 24 ms startup adds nothing to the build, each job gets an isolated cloud, and teardown is free.
Build against S3, Pub/Sub, or Service Bus on your laptop — offline if you want. No shared dev account to trip over, no credentials to rotate.
Apply Terraform, OpenTofu, or CloudFormation against localhost first. Catch typos, drift, and bad refactors before they ever touch a real account.
Teach cloud services with zero billing risk. Every student runs the whole stack on their own machine — no accounts to provision, nothing to clean up.
No account, no token. Pick your platform and go.
macOS / Linux
Windows Docker · AWS Docker · Azure Docker · GCP Docker · OCI
Install floci-cli curl -fsSL https://floci.io/install.sh | sh # Start the AWS emulator & export env vars floci start && eval $(floci env) # Create a bucket aws s3 mb s3://my-bucket # Upload a file echo "Why pay for S3 when floci is free? 🎉" > hello-floci.txt aws s3 cp hello-floci.txt s3://my-bucket/ # Download it back aws s3 cp s3://my-bucket/hello-floci.txt hello-back.txt cat hello-back.txt
Install floci-cli (PowerShell) irm https://floci.io/install.ps1 | iex # Start the AWS emulator & export env vars floci start; floci env | Invoke-Expression # Create a bucket aws s3 mb s3://my-bucket # Upload a file "Why pay for S3 when floci is free? 🎉" | Out-File hello-floci.txt aws s3 cp hello-floci.txt s3://my-bucket/ # Download it back aws s3 cp s3://my-bucket/hello-floci.txt hello-back.txt; Get-Content hello-back.txt
Run all 119 AWS services on port 4566 docker run --rm -p 4566:4566 \
-v /var/run/docker.sock:/var/run/docker.sock
floci/floci:latest # Point the AWS CLI at floci export AWS_ENDPOINT_URL=http://localhost:4566
export AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test # Create a bucket aws s3 mb s3://my-bucket # Upload a file echo "Why pay for S3 when floci is free? 🎉" > hello-floci.txt aws s3 cp hello-floci.txt s3://my-bucket/ # Download it back aws s3 cp s3://my-bucket/hello-floci.txt hello-back.txt cat hello-back.txt
Run Blob, Queue, Table & Functions on port 4577 docker run --rm -p 4577:4577 \
floci/floci-az:latest # Configure the Azure CLI export AZURE_STORAGE_CONNECTION_STRING="DefaultEndpointsProtocol=http;
AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;
BlobEndpoint=http://localhost:4577/devstoreaccount1;" # Create a container & upload a file az storage container create -n my-container echo "Azure locally, no bill, no drama. 🚀" > hello-floci.txt az storage blob upload -c my-container -f hello-floci.txt -n hello-floci.txt # Download it back az storage blob download -c my-container -n hello-floci.txt -f hello-back.txt cat hello-back.txt
Run Cloud Storage on port 4588 docker run --rm -p 4588:4588 \
floci/floci-gcp:latest # Point the gcloud CLI at floci-gcp export CLOUDSDK_API_ENDPOINT_OVERRIDES_STORAGE=http://localhost:4588/ export CLOUDSDK_CORE_PROJECT=floci-local # Create a bucket & upload a file gcloud storage buckets create gs://my-bucket echo "No billing alert? Must be floci. ☁️" > hello-floci.txt gcloud storage cp hello-floci.txt gs://my-bucket/ # Download it back gcloud storage cp gs://my-bucket/hello-floci.txt hello-back.txt cat hello-back.txt
Run all 8 OCI services on port 4599 docker run --rm -p 4599:4599 \
-v /var/run/docker.sock:/var/run/docker.sock
floci/floci-oci:latest # One-time OCI CLI setup (throwaway API key + profile) & env vars floci oci setup && eval $(floci oci env) export TENANCY_OCID=ocid1.tenancy.oc1..flocilocaltenancy0000000000000000000000000000000000000000 # Create a bucket & upload a file oci os bucket create
--namespace-name floci-local --name my-bucket --compartment-id $TENANCY_OCID echo "Oracle Cloud locally — no bill, no drama. 🚀" > hello-floci.txt oci os object put
--namespace-name floci-local --bucket-name my-bucket --file hello-floci.txt # Download it back oci os object get
--namespace-name floci-local --bucket-name my-bucket --name hello-floci.txt --file hello-back.txt cat hello-back.txt
119 AWS services ready on :4566. S3 · SQS · DynamoDB · Lambda · RDS · +114 more
floci (AWS) → · floci-az (Azure) → · floci-gcp (GCP) → · floci-oci (OCI) →
♥ Open Source Sustainability
We're looking for sponsors
Floci is free, MIT licensed, and built in the open. Sponsorships help us keep it that way, funding infrastructure, development time, and new cloud emulators.
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。