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

  1. Open Storage > Volumes in the control panel.
  2. Click New volume and choose a size in GB.
  3. Select the same region as the instance you plan to attach it to.

Attaching a volume to an instance

  1. From the volume detail page, click Attach.
  2. Select the target instance from the dropdown.
  3. 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.