Block Storage (attach, detach, resize, performance notes)
Attach high-performance NVMe volumes to your instances and scale storage independently of compute.
Insert screenshot of Instance β Volumes here
Attach π
Create or select a volume
Click Attach and choose the instance
Inside the OS, partition/format and mount
Linux (example)
lsblk
sudo mkfs.ext4 /dev/vdb
sudo mkdir -p /data && sudo mount /dev/vdb /data
echo '/dev/vdb /data ext4 defaults 0 0' | sudo tee -a /etc/fstab
Detach βοΈ
Unmount the filesystem in the OS
Click Detach in the console
Confirm device is no longer in use
Resize π
Resize the volume in the console
Extend the partition and filesystem in the OS
sudo growpart /dev/vdb 1
sudo resize2fs /dev/vdb1 # or xfs_growfs /mountpoint for XFS
Performance notes βοΈ
Choose the right tier (Standard/Premium/Pro) for I/O needs
Watch IOPS/latency in Volume β Monitoring
Separate OS, data, and logs onto different volumes
Last updated
Was this helpful?