Volumes
Add an extra disk to a server, move it between servers, and snapshot it.
A volume is an extra disk, from 1 to 500 GB. It attaches to one server at a time and is kept when that server is deleted, so it suits data you want to outlive a server. The price is shown on the Volumes page and is charged to your credit by the hour for as long as the volume exists.
Creating and attaching
On Volumes, give the volume a name and a size and press Create volume. Then choose a server beside it and press Attach. The server does not need to be stopped.
A new volume is empty. On the server it appears as a new disk, usually
/dev/vdb (check with lsblk). Format it once and mount it:
sudo mkfs.ext4 /dev/vdb
sudo mkdir -p /mnt/data
sudo mount /dev/vdb /mnt/dataTo mount it again after a restart, add it to /etc/fstab.
Moving a volume to another server
Unmount it on the server (sudo umount /mnt/data), press Detach on the
Volumes page, then attach it to the other server and mount it there. Do
not run mkfs again: that erases it.
Snapshots
A snapshot is a copy of a volume at one moment. Give it a name beside the volume and press Take snapshot. To get the data back, press Create volume from snapshot and attach the new volume to a server.
A volume can be snapshotted once it has been attached to a server; before that it holds nothing. Snapshots are charged to your credit by the GB of data each one holds, at the price shown on the Volumes page.
Deleting
Detach a volume before deleting it. Deleting a server detaches its volumes and keeps them, and they go on being charged until you delete them.