Block Storage
Block Storage provides additional persistent storage volumes that can be attached to VPS instances. Use block storage to scale storage independently of compute resources.
Overview
Block Storage features:
- Persistent: Data persists independently of instances
- Scalable: 10 GB to 10 TB per volume
- Flexible: Attach, detach, resize on the fly
- High Performance: SSD-backed storage
- Snapshots: Create backups anytime
- Redundant: Data replicated for durability
Creating Block Storage
Via Dashboard
- Navigate to Storage > Block Storage
- Click Create Volume
- Configure:
- Name: Descriptive name
- Size: 10 GB - 10 TB
- Region: Same as VPS instance
- Click Create
Volume ready within 45 seconds.
Attaching Volumes
Attach to VPS
- Go to volume details
- Click Attach to VPS
- Select VPS instance
- Click Attach
Volume attaches within seconds.
Mounting on Linux
After attaching:
Bash
# Check device name
lsblk
# Should see new device, e.g., /dev/sda
# Format (first time only)
sudo mkfs.ext4 /dev/sda
# Create mount point
sudo mkdir /mnt/data
# Mount volume
sudo mount /dev/sda /mnt/data
# Add to /etc/fstab for auto-mount
echo '/dev/sda /mnt/data ext4 defaults 0 0' | sudo tee -a /etc/fstab
Resizing Volumes
Expand volume without downtime:
- Go to volume details
- Click Resize
- Enter new size (must be larger)
- Click Resize
Then expand filesystem:
Bash
# For ext4
sudo resize2fs /dev/sda
# For xfs
sudo xfs_growfs /mnt/data
Pricing
$0.10/GB/month, billed hourly:
| Size | Monthly Cost |
|---|---|
| 100 GB | $10 |
| 500 GB | $50 |
| 1 TB | $100 |
| 5 TB | $500 |
| 10 TB | $1,000 |