Services
Applications need more than compute. Sprintsail provides managed backing services from a marketplace — you provision one, bind it to an app, and the credentials arrive in that app's environment.
No ticket, no waiting on an infrastructure team, no copying connection strings between password managers.
What is available
| Service | Use it for |
|---|---|
| Postgres | Primary relational database |
| Redis | Cache, sessions, ephemeral state |
| Object storage | Files, uploads, artifacts — S3-compatible API |
| OpenSearch | Search and log analytics |
| Queues | Async work, background jobs, decoupling services |
Browse what your org can provision:
cf marketplace
Provisioning
cf create-service postgres small orders-db
Provisioning is asynchronous — the platform returns immediately and the service becomes available when it is ready. Check on it:
cf service orders-db
Every service has a declared lifecycle, so teardown is as clean as creation — deleting a service does not leave orphaned resources behind.
Binding
Binding attaches a service to an app and injects its credentials as environment variables:
cf bind-service orders-api orders-db
cf restart orders-api
The restart matters — environment changes are picked up when the app starts, so a bind without a restart leaves your running instances unaware of the new credentials.
Read what a binding gave you:
cf env orders-api
Using a binding in your app
Bound credentials are ordinary environment variables. Read them the way you already read configuration:
// Node.js
const pool = new Pool({ connectionString: process.env.DATABASE_URL });
# Python
engine = create_engine(os.environ["DATABASE_URL"])
There is no Sprintsail SDK to import and no proprietary client library. If you move your app somewhere else, the code that reads its configuration does not change.
Unbinding and deleting
cf unbind-service orders-api orders-db
cf delete-service orders-db
Unbind before deleting. A service with live bindings will not delete — this is deliberate, and it has saved more than one production database.
What is not here yet
- Backups and restore are not self-service. Talk to us about your requirements.
- Service plans are limited during early access; sizing options will expand.