Cloud Infrastructure
Block Storage & Volumes
High-performance NVMe block storage volumes scalable up to 32TB with live volume resizing.
Block Storage & Volumes
1st Block Storage provides network-attached, triple-replicated NVMe volumes designed for high IOPS workloads like database directories, media storage, and Docker volumes.
Volume Features
- Up to 100,000 IOPS: Extreme random read/write throughput with low access latency.
- Triple Replication: Every byte is written across 3 physically isolated storage nodes.
- Live Volume Resizing: Expand volume capacity up to 32 TB without unmounting or rebooting.
- Automated Snapshots: Point-in-time volume snapshots for disaster recovery.
Creating & Attaching a Volume
cURL Create Volume
curl -X POST https://api.1st-services.com/v1/storage/volumes \
-H "Authorization: Bearer $FIRST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "data-volume-01",
"size_gb": 200,
"region": "us-east-1",
"filesystem": "ext4"
}'
Attaching to a VPS
cURL Attach Volume
curl -X POST https://api.1st-services.com/v1/storage/volumes/vol_88319/attach \
-H "Authorization: Bearer $FIRST_API_KEY" \
-H "Content-Type: application/json" \
-d '{"vps_id": "vps_8931274"}'
Mounting Inside Your VPS
Once attached, format and mount the volume inside Linux:
Bash inside VPS
# Verify device name
lsblk
# Format filesystem (if not pre-formatted)
mkfs.ext4 /dev/disk/by-id/scsi-0FIRST_vol_88319
# Mount to /mnt/data
mkdir -p /mnt/data
mount /dev/disk/by-id/scsi-0FIRST_vol_88319 /mnt/data
# Add to /etc/fstab for persistence
echo '/dev/disk/by-id/scsi-0FIRST_vol_88319 /mnt/data ext4 defaults,noatime,_netdev 0 0' >> /etc/fstab
