Volumes
Keep an app's files on Drasken Cloud volumes — create, attach, grow and auto-expand a volume, and what happens when you delete it.
A volume is a disk for an app's data that survives restarts and new releases. Create one under Public Cloud → Volumes with Create volume, choose its size and attach it to an app at a folder (its mount path); every instance of the app gets its own disk of that size. You can grow a volume later, never shrink it.
Step 1: Create the volume
- Open Public Cloud → Volumes and select Create volume.
- Name: 2 to 40 characters — letters, digits, spaces, hyphens, underscores and dots — unique in the project.
- Size: 1, 5, 10, 20, 50 or 100 GB per disk.
Step 2: Turn on auto expansion (optional)
Auto expansion grows the disk before it fills up. It is off by default. Set:
- When a disk is 70% to 95% full,
- Grow by 5, 10 or 20 GB,
- Up to a maximum size (at most 100 GB).
It grows at most once every 6 hours.
Step 3: Attach it to an app
Choose Attach now and pick the app and a mount path — an absolute folder such as /data — or Not now to
attach it later. Mount paths can't be inside one another, and system folders such as /proc, /sys, /dev, /etc and
/tmp can't be used. Select Create and attach (or Create volume).
You can also add a volume while creating an app, under Storage.
How many volumes can I have?
Up to 5 per app and 20 per project, within your organisation's Volumes limit.
What can I do with a volume later?
Its page has Overview, Disks, Metrics, Health & Alerts, Activity, Snapshots and Backups, and the actions Rename, Attach, Grow, Free idle disks and Delete.
- Grow makes every disk larger; it can't be made smaller.
- Free idle disks deletes, with their data, the disks left over from instances the app no longer runs (for example after you scale down), so they stop counting against the project's storage.
What happens to a volume when I delete its app?
It is kept, as Not attached, unless you tick Delete its volumes too when deleting the app. A kept volume is still charged for its storage. Delete it from its own page when you no longer need it.
How are volumes protected?
You can take snapshots and backups of a volume; see Backups. Restoring a volume from them is coming soon.
What is coming soon?
A volume shared by all of an app's instances, scheduled backups chosen by you, restores, and volumes for jobs.
Last updated on
Passwords, storage and deleting a database
Look after a Drasken Cloud database — deletion protection, storage, metrics and slow queries, and how deleting with a grace period works.
Backups and restores
How Drasken Cloud backs up MySQL, PostgreSQL and Valkey databases on your schedule, how to restore into a new database, and volume snapshots.