View Markdown

Data and bindings

Choose storage by the shape and lifetime of the data, then connect it explicitly to the application.

Match the data to the resource

DataStarting point
Customer records and relationshipsRelational database
Files that change during a workloadPersistent volume
Uploaded images and exported artifactsObject storage
A recoverable environment stateSnapshot

A binding is a connection

The application should receive the right endpoint and credentials through configuration. Keep the binding attached to the application and environment it serves, so a staging release does not accidentally use production data.

Separate identity from location

A returned URL tells you where to connect. A resource identifier tells you what is being connected. Keep both when recording an operation.

Check recovery assumptions

Test the recovery path for the data that matters. An application rollback does not necessarily roll back database changes. Read snapshots and deployment recovery as different responsibilities.