Deploy & Host Floci | Railway

Deploy and Host Floci on Railway

Floci is a free, open-source AWS emulator. It serves S3, SQS, SNS, DynamoDB, Secrets Manager, SSM, IAM, API Gateway, Kinesis and many other AWS APIs on one endpoint, so AWS SDKs, the AWS CLI, Terraform, CDK and test suites run against it without an AWS account or paid feature gates.

About Hosting Floci

This template deploys Floci 2.1.0 with persistent storage on a Railway volume, so buckets, queues and tables survive redeploys. Floci itself stays on the private network, where services in your project reach it directly. A small Caddy gateway exposes it publicly and only forwards signed requests whose access key ID matches a generated key, because Floci does not check signatures. Point CI jobs, preview environments or your laptop at the gateway. Services that need a Docker daemon, such as Lambda, RDS or ECS, are not available on Railway. It fits the Hobby plan. Clients use any secret access key.

Common Use Cases

Dependencies for Floci Hosting

Deployment Dependencies

Implementation Details

Service Image Networking Storage
gateway caddy:2.11.4-alpine public domain on 8080 none
floci floci/floci:2.1.0 private only, port 4566 volume at /app/data
export AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY=any AWS_DEFAULT_REGION=us-east-1
aws --endpoint-url https:// s3 mb s3://uploads
aws --endpoint-url https:// sqs create-queue --queue-name jobs
Variable Service Default Purpose
FLOCI_ACCESS_KEY_ID gateway generated The only access key ID the gateway accepts
FLOCI_STORAGE_MODE floci persistent Keep state on the volume
FLOCI_BASE_URL floci gateway URL URLs returned by the API, such as SQS queue URLs

Notes:

This is a community-maintained deployment package and does not imply affiliation with or endorsement by the Floci project or its maintainers.

Why Deploy Floci on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Floci on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.