Add-ons Overview
Add-ons are managed services you attach to apps. They’re how you give an app a database, a cache, a stream, object storage, or a monitoring stack — without running any of it yourself.
What an add-on does
Section titled “What an add-on does”When you attach an add-on, Watasu:
- provisions the underlying service (creates the database, the bucket, the broker)
- injects connection details into the app as config vars (
DATABASE_URL,REDIS_URL, S3 credentials) - triggers a release so your app picks up the new environment
From there your app talks to the add-on like it would any other service. There’s no Watasu-specific SDK to import.
Team-owned, app-attached
Section titled “Team-owned, app-attached”Add-ons live at the team level. They’re attached to apps. That separation is deliberate:
- one add-on can be attached to multiple apps (with aliases to distinguish them)
- destroying an app doesn’t destroy its add-ons
- backups, restores, and promotions happen at the add-on level, not the app level
Pick the right service
Section titled “Pick the right service”| Service | Use it for |
|---|---|
| PostgreSQL | Transactional application data, relational queries, migrations |
| Valkey | Cache, sessions, rate limiting, ephemeral coordination, queue speed paths |
| ClickHouse | Analytics, event data, large append-heavy datasets, dashboard queries |
| Redpanda | Durable event streams, Kafka-style producer/consumer pipelines |
| Object Storage | User uploads, static assets, exports, archives — anything S3-shaped |
| Monitoring (logs, metrics, traces, Grafana) | See Observability |
If you need transactional storage and you’re not sure, start with PostgreSQL. It’s the right default for almost every web app.
Common operations
Section titled “Common operations”Create and attach to an app
Section titled “Create and attach to an app”watasu addons:create postgresql --app my-appYou can pass a plan slug to pick a specific tier:
watasu addons:create postgresql:standard-0 --app my-appPlans differ on size, durability, replication, and whether scheduled backups are included. See Add-on Plans.
Attach an existing add-on
Section titled “Attach an existing add-on”watasu addons:attach team-cache --app my-appAliases
Section titled “Aliases”When an app needs more than one of the same service (e.g. primary + reporting database):
watasu addons:attach reporting-db --app my-app --as REPORTINGWatasu exports alias-prefixed env vars (e.g. REPORTING_DATABASE_URL) so your app can distinguish them.
List and inspect
Section titled “List and inspect”watasu addons --app my-app # everything attached to an appwatasu addons:info my-database # plan, status, connection metadataWait for ready
Section titled “Wait for ready”Provisioning isn’t instant. Block until the add-on is ready before depending on it:
watasu addons:wait my-databaseDestroy
Section titled “Destroy”watasu addons:destroy my-databaseThis is destructive. For databases, take a backup first.
Backups, restores, promotions
Section titled “Backups, restores, promotions”PostgreSQL, Valkey, and ClickHouse all support a backup/restore flow. The Backups and Restores workflow page walks through it end-to-end.
Object Storage and Redpanda are durable by design and don’t ship with a tenant-facing backup product — see their individual pages for what their durability model actually is.