Skip to main content

Loch S3

Loch S3 is an S3-compatible object storage server. It is a single Rust binary that stores every object as a file in a local directory. Use it for backups, application storage or file hosting on your own servers, with the AWS CLI or any S3 SDK.

All configuration is done with environment variables: there is no configuration file.

Features​

AreaSupported
AuthenticationAWS Signature V4 in headers and presigned URLs, aws-chunked uploads with chunk signatures
BucketsCreate, list, head, delete
ObjectsPut, get, head, delete, copy, metadata, Range requests
ListingListObjectsV2 with prefix and delimiter
Large filesMultipart upload (create, upload part, complete, abort, list)
VersioningEnabled and Suspended, delete markers, version listing
Access controlUsers, bucket owners, canned ACLs, JSON bucket policies
EncryptionSSE-S3 and SSE-C (AES-256-GCM), default encryption per bucket or for the whole server
BrowsersCORS per bucket
OperationsGlobal storage quota, /_loch/health probe, HTTP/1.1 and HTTP/2

Not supported​

  • Virtual-hosted-style URLs: use path-style (https://s3.example.com/bucket/key).
  • Multi-object delete (DeleteObjects).
  • Lifecycle rules, replication, object lock, tagging, regions, SSE-KMS, IAM policies.
  • partNumber on GET.

Full list: S3 API compatibility.

Next step​

Install Loch S3 and create your first bucket.