Data and bindings

Sandboxes and Runtime Instances are replaceable. Data Services are durable resources with an independent lifecycle. Replacing a Sandbox, publishing a Release, or rolling back a Version does not delete the Deployment’s database or object storage.

ServiceWhat it is
Managed PostgresFully managed PostgreSQL database. Schema migrations are yours to run; MIOSA provides the connection string.
Managed RedisPersistent Redis cluster for caching, queues, pub/sub.
Object StorageS3-compatible bucket. Useful for uploads, assets, generated files.
VolumesBlock storage mounted into Runtime Instances. Persists across restarts.
AuthJWT-based signup/login as a service. One env var gives your project a full auth system.

Bindings connect a Sandbox or Deployment to those durable resources. MIOSA resolves the binding and injects the appropriate credentials at runtime.

DATABASE_URL=postgresql://user:pass@host/dbname
REDIS_URL=redis://host:6379
STORAGE_BUCKET=miosa-ws123-uploads
AUTH_URL=https://auth.miosa.app/proj_abc
AUTH_JWT_SECRET=...

Destroying a Sandbox does not destroy its database. Publishing a Version does not automatically make an incompatible schema safe. Use backward-compatible expand, migrate, and contract changes so the active and previous Versions can both operate during promotion or rollback.

miosa api POST /databases -d '{"name":"app-production","engine":"postgresql"}'

Data overview →

Next

Was this page helpful?