
Deploy RustFS
RustFS 1.0 S3-compatible object storage in Rust with a web console.
rustfs
Just deployed
/data
Deploy and Host RustFS on Railway
RustFS is a high-performance, S3-compatible object storage server written in Rust. Any AWS SDK, the aws CLI, rclone or mc can create buckets, upload objects and generate presigned URLs against it. It includes a web console for managing buckets, users and policies, and is licensed under Apache 2.0.
About Hosting RustFS
This template deploys RustFS v1.0.0 from the official image as a single node, storing objects on a Railway volume at /data. The S3 API and the web console each get their own Railway domain. The access key and secret key are generated at deploy time and are also the console login. Anonymous listing is refused. Services on Railway reach the S3 API over the private network on port 9000, and both listeners accept IPv4 and IPv6. Plan storage for your data: the Hobby volume limit is 5 GB, and Pro volumes grow much larger.
Common Use Cases
- S3-compatible storage for uploads, media and user files in your apps
- A backup target for databases and tools that speak S3
- Local development and preview environments that mirror production S3
Dependencies for RustFS Hosting
rustfs/rustfs:1.0.0(official image)- A Railway volume at
/datafor objects
Deployment Dependencies
Implementation Details
| Service | Image | Networking | Storage |
|---|---|---|---|
| rustfs | rustfs/rustfs:1.0.0 | S3 API domain on 9000; console domain on 9001; private IPv4/IPv6 | volume at /data |
export AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY=
aws --endpoint-url "$S3_ENDPOINT" s3 mb s3://uploads
aws --endpoint-url "$S3_ENDPOINT" s3 cp ./photo.jpg s3://uploads/
| Variable | Default | Purpose |
|---|---|---|
RUSTFS_ACCESS_KEY / RUSTFS_SECRET_KEY | generated | S3 credentials and console login |
S3_ENDPOINT / S3_PRIVATE_ENDPOINT | public HTTPS / private HTTP | Endpoints for your apps |
Notes:
- Use path-style addressing (
forcePathStyle: truein the AWS SDK), because buckets are not subdomains. - The service runs as root (
RAILWAY_RUN_UID=0) so it can write to the volume.
This is a community-maintained deployment package and does not imply affiliation with or endorsement by the RustFS project or its maintainers.
Why Deploy RustFS 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 RustFS 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.
Template Content
rustfs
rustfs/rustfs:1.0.0