Skip to content

Object Storage

Watasu’s object storage gives your app an S3-compatible bucket with scoped credentials. Most S3 SDKs work without any platform-specific code.

  • user file uploads
  • generated reports and exports
  • static assets you don’t want baked into the app image
  • application-level backups
  • media files
Terminal window
watasu addons:create object-storage --app my-app

Object storage exports a generous set of S3-compatible env vars so you don’t have to know which one your SDK reads from:

VariablePurpose
S3_BUCKET, AWS_S3_BUCKETBucket name
S3_ACCESS_KEY_ID, AWS_ACCESS_KEY_IDCredential ID
S3_SECRET_ACCESS_KEY, AWS_SECRET_ACCESS_KEYCredential secret
S3_ENDPOINT, AWS_ENDPOINT_URL, AWS_ENDPOINT_URL_S3S3 endpoint (this isn’t AWS)
S3_REGION, AWS_REGION, AWS_DEFAULT_REGION, AWS_S3_REGIONRegion label expected by SDKs
S3_FORCE_PATH_STYLESet when the SDK should use path-style addressing
S3_PUBLIC_BUCKET_URL, AWS_S3_URLConvenience URLs

Most AWS SDKs (boto3, aws-sdk for Ruby/JS/Java/Go, rclone, etc.) pick these up automatically once they’re set.

The full list and what each SDK reads is in Reference → Add-on Environment Variables.

Object storage gives you the bucket and credentials. Your application owns the access model:

  • public objects — typically uploaded with a public ACL or served via signed URLs
  • private objects — generate short-lived signed URLs at request time

There’s no platform setting that flips the bucket between “public” and “private” — that’s a per-object decision your code makes.

Every Premium plan keeps three copies across Nuremberg, Falkenstein, and Helsinki. Plans share the same replication and S3 features; storage capacity and monthly public egress allowances increase with the plan.

PlanStoragePublic egress/monthPrice/month
Premium 05 GiB100 GB€2
Premium 110 GiB250 GB€5
Premium 225 GiB500 GB€9
Premium 350 GiB1 TB€19
Premium 4100 GiB2 TB€39
Premium 5250 GiB5 TB€99
Premium 61 TiB20 TB€399

Storage allowances use binary GiB (1 GiB = 1,073,741,824 bytes). Public egress allowances use decimal GB and TB. See Add-on Plans for the full catalog.

Backups vs. durability — they aren’t the same

Section titled “Backups vs. durability — they aren’t the same”

Object storage is durable. That means a stored object isn’t going to disappear because of disk failure. It does not mean object storage will recover from your app deleting the wrong file.

If you need an undelete or point-in-time recovery for application-level mistakes, design that explicitly — versioned objects, soft-deletes in your app, or periodic snapshots to a second bucket.

The platform-managed backup workflow (Backups and Restores) covers PostgreSQL, Valkey, and ClickHouse. Object storage isn’t part of that flow.

Object storage usage shows up in Grafana once you’ve attached the metrics add-on:

  • bucket size over time
  • request volume
  • bandwidth and egress

Useful for spotting runaway upload bugs and for budgeting. See Observability → Metrics.