Volume basics
Volumes provide persistent block storage that can be attached to instances. They are ideal for:
- Databases and queues.
- Large file stores.
- Logs and analytics data.
Creating a volume
- Open Storage > Volumes in the control panel.
- Click New volume and choose a size in GB.
- Select the same region as the instance you plan to attach it to.
Attaching a volume to an instance
- From the volume detail page, click Attach.
- Select the target instance from the dropdown.
- Confirm the attachment; the volume will appear as a new block device in the guest OS.
# Example: format and mount on Linux
lsblk # find the new device, e.g. /dev/vdb
sudo mkfs.ext4 /dev/vdb
sudo mkdir -p /data
sudo mount /dev/vdb /data
Snapshots and backups
Volumes can be snapshotted for backup or cloning purposes. See the snapshots and backups guide for details.