Use this file to discover all available pages before exploring further.
S3-Compatible Object Storage for Self-Hosted Deployments
Garage is a lightweight, geo-distributed object storage service designed for small to medium-scale self-hosting. Store your data across multiple locations with automatic replication and S3 compatibility.
The --single-node flag automatically configures a single-node cluster. The --default-bucket flag creates a default access key and bucket using the environment variables.
4
Upload Your First Object
Configure the AWS CLI and upload a file:
# Configure AWS CLIexport AWS_ENDPOINT_URL='http://localhost:3900'export AWS_DEFAULT_REGION='garage'export AWS_ACCESS_KEY_ID="$GARAGE_DEFAULT_ACCESS_KEY"export AWS_SECRET_ACCESS_KEY="$GARAGE_DEFAULT_SECRET_KEY"# Upload a fileaws s3 cp myfile.txt s3://default-bucket/# List objectsaws s3 ls s3://default-bucket/
Why Garage?
Built for small-scale self-hosting with enterprise-grade features
Geo-Distributed by Design
Replicate data across multiple physical locations for maximum resilience. Garage handles network partitions and keeps your data available even when nodes go offline.
S3 Compatible
Drop-in replacement for Amazon S3. Use existing S3 tools, libraries, and workflows without modification.
No External Dependencies
Self-contained binary with no database, no RAFT consensus, no ZooKeeper. Just start the server and you’re running.
Lightweight & Fast
Designed for consumer hardware and standard Internet connections. No RAFT bottleneck means better performance across distributed nodes.
Flexible Topology
Add or remove nodes at any time. Garage automatically rebalances data to maintain your desired replication level.
Built-in Web Server
Host static websites directly from S3 buckets with custom domain support. No reverse proxy required.