AWS Builder Center
Practice AWS on Your Laptop for Free with Floci

Practice AWS on Your Laptop for Free with Floci

Floci is a free, open-source tool that runs many AWS services on your laptop, with no account and no bill. Set it up in 5 minutes and learn its limits.

DevOps Engineer

The 30-second answer

Practicing AWS can cost money, or at least the fear of an unexpected bill. Floci is a free, open-source tool that runs a local copy of many AWS services on your own laptop, at  http://localhost:4566 . You don't need an AWS account, a token or a credit card, and it uses the MIT license. You point the AWS CLI or your code at it and practice S3, DynamoDB, Lambda, IAM and more with zero cost.

What makes it interesting

Many local emulators fake everything. Floci is different for the harder services, because it starts the real software in containers:
  • RDS starts a real PostgreSQL, MySQL or MariaDB database.
  • EKS runs a real Kubernetes cluster (k3s).
  • Lambda uses AWS's own runtime images.
  • ElastiCache, DocumentDB, MSK and more also run real engines behind the scenes.
It is also very light. The README reports a start time of about 24 ms, a Docker image of about 90 MB and roughly 13 MiB of memory when idle. For comparison, it lists LocalStack Community at around 3.3 seconds, 1 GB and 143 MiB. These are the project's own numbers, so treat them as a guide.

Try it in 5 minutes

You need Docker installed. Start Floci:
docker run -d --name floci \
-p 4566:4566 \
-v /var/run/docker.sock:/var/run/docker.sock \
-u root \
floci/floci:latest
The Docker socket is only needed for services that start real containers, such as RDS or EKS. Now tell the AWS CLI to use it. Any non-empty keys work:
export AWS_ENDPOINT_URL=http://localhost:4566
export AWS_DEFAULT_REGION=us-east-1
export AWS_ACCESS_KEY_ID=test
export AWS_SECRET_ACCESS_KEY=test
Then use the commands you already know:
aws s3 mb s3://my-bucket
aws dynamodb list-tables
Quick check: run  aws s3 ls  and you should see  my-bucket  listed. If you do, your local AWS is working.
Nothing here touches your real AWS account, so you can break things and start again. Stop it with  docker rm -f floci  and it is gone.

What it can't teach you

Local practice is great, but it isn't the real thing. Some services are only stubs or simulations. For example, the README says Bedrock Runtime returns dummy responses, Textract and Transcribe don't really process your data, and the Cost Explorer numbers are generated. Real networking, IAM edge cases and billing behave differently in real AWS, and some lessons only show up there. Use Floci to practice safely, then run a small real deployment with a budget alert to see the difference.

Get the repo

The README also covers Docker Compose, the  floci  CLI, persistence modes and Testcontainers modules for Java, Node.js, Python and .NET. Always check it for the current service list and limits, since the project changes quickly.
Your turn: which AWS service would you practice first on your laptop?
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article