Object Storage
A bucket is an S3-compatible Object Storage location. Database clusters use buckets for backup artifacts. You can also register buckets that you manage yourself.
In the console
Choose Object Storage, Buckets.
Managed buckets
When you create a database cluster, myStack provisions a managed backup bucket for that cluster and attaches it automatically. Managed buckets appear in the bucket list with the cluster’s backup configuration.
To create a bucket
- Choose Object Storage, Buckets, then create a bucket.
- For Name, enter a name.
- For Endpoint, enter the S3-compatible endpoint (for example, your Hetzner Object Storage endpoint).
- For Access Key, enter the access key.
- For Secret Key, enter the secret key.
- Choose Save.
Note
Account-level Object Storage credentials for BYOA are configured under Platform secrets. Bucket records store the endpoint and keys used for a specific bucket.
Fields
| Field | Description |
|---|---|
| Name | Display name for the bucket |
| Endpoint | S3-compatible API endpoint |
| Access Key | Access key ID for the bucket |
| Secret Key | Secret access key (masked in the console) |
| Status | Lifecycle status of the bucket |
Use with databases
On a cluster detail page, Active backup bucket selects which bucket stores backup runs. Backup run lists also link to the bucket that holds each artifact.
To edit or delete a bucket
- Open the bucket (or use the list actions).
- Choose Edit to update connection details, or Delete to remove it.
Important
You cannot delete a bucket that is still attached to one or more databases. Change or clear the cluster’s backup bucket first.