Cloud Panel

Volumes

Volumes

Extra disks on our replicated NVMe storage, Standard or Enterprise, shared or dedicated, with backups and snapshots.

How to createCloud Panel API

What a volume is

From €0.080 per GB

A month, billed by the hour for the size, attached or not.

Prices

A volume is an extra disk you attach to a server. The server sees it as a new disk, you format it and mount it, and it can grow while the server runs.

Data on a volume is kept apart from the system disk. Reinstalling the server keeps its attached volumes, deleting it keeps them unless you ask otherwise, and a volume detached from one server attaches to another.

Apart from the host

A volume lives on our replicated NVMe storage, not on the machine the server runs on, so a failed disk or host does not take your data with it.

Low latency

A 4k read or a replicated write answers in about 0.2 ms, measured inside an ordinary customer server.

Standard or Enterprise

Standard fits most workloads. Enterprise disks have power-loss protection, which makes fsync faster, for databases and message queues.

Shared or dedicated

Under shortage the performance of shared volumes is lowered first and dedicated ones keep theirs. You switch in place.

Online resize

A volume grows while the server uses it, from its page or the API. The data stays where it is.

Snapshots and backups

A snapshot for a quick rollback, an encrypted backup in another country on a schedule, and a new volume from either.

Disks and prices

DiskIOPSThroughputSizePer GB a monthDedicated per GB100 GB a month
Standardup to 100,000up to 1 GB/sup to 5 TB€0.080€0.150€8.00
Enterpriseup to 200,000up to 2 GB/sup to 10 TB€0.130€0.250€13.00

IOPS and throughput are limits for reads and for writes each. Snapshots and backups are billed by what they store. Billed by the hour, VAT is added where it applies.All prices Create volume

Cloud Panel

Run it from your desk or your phone

Create, attach, grow and back up volumes from the Cloud Panel, on any screen.

Volumes in the Cloud Panel: VolumesVolumes in the Cloud Panel: VolumesVolumes in the Cloud Panel: Volumes
Volumes in the Cloud Panel: Volume pageVolumes in the Cloud Panel: Volume pageVolumes in the Cloud Panel: Volume page
Volumes in the Cloud Panel: CreateVolumes in the Cloud Panel: CreateVolumes in the Cloud Panel: Create

From code

Script it

Everything the Cloud Panel does with a volume is in the API: create, attach, grow, change the disk and delete.

API

A REST API with tokens and an OpenAPI file, with examples in curl, Python and Node.js for every operation.

API reference

On the server

Make a filesystem once, mount it, and add it to /etc/fstab with nofail.

Format and mount
you@laptop: ~
# a 100 GB Standard volume, then onto a server
~ $ curl -X POST https://platform.serverscamp.com/api/v1/volumes \
    -H "Authorization: Bearer $SCAMP_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"display_name": "data", "size_gb": 100, "storage_class_id": 18}'

~ $ curl -X POST https://platform.serverscamp.com/api/v1/volumes/$DISK_UUID/attach \
    -H "Authorization: Bearer $SCAMP_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"vm_uuid": "'$VM_UUID'"}'
Create a volume
# on the server: the new disk, a filesystem, a mount
~ $ lsblk
~ $ sudo mkfs.ext4 /dev/vdb
~ $ sudo mkdir -p /mnt/data && sudo mount /dev/vdb /mnt/data

# mount it on every boot, and boot without it too
~ $ echo "UUID=$(sudo blkid -s UUID -o value /dev/vdb) /mnt/data ext4 defaults,nofail 0 2" | sudo tee -a /etc/fstab
Format and mount

Questions

Which disk should I take?

Standard fits most workloads. Take Enterprise for a busy transactional database or a message queue.

What does dedicated change?

When the storage cluster runs short of resources, the performance of shared volumes is lowered first. A dedicated volume keeps its full performance.

Can a volume move from Standard to Enterprise?

No, they live on different storage. Make a new volume on the other disk and copy the data over.

Can a volume grow?

Yes, while it is attached and in use. It cannot shrink. Grow the filesystem inside the server after it.

Can one volume be attached to two servers?

A volume attaches to one server at a time. Detach it and it can go to another server.

Will my server reach the full IOPS?

Not always. Every disk operation costs CPU time, so it depends on the CPU generation of the server and its number of vCPUs. High Frequency with more vCPUs gets closest to the limits.

How large can a volume be?

Up to 5 TB on Standard and up to 10 TB on Enterprise.

Do I pay for a volume that is not attached?

Yes. A volume is billed for its size by the hour, attached or not.

What happens to volumes when I delete a server?

They are detached and kept, unless you choose to delete them with the server.

Create a volume

Attach it to a server, format it and mount it.