Instance Volume API
Instance Volume API
This API allows you to manage Instance local and scratch volumes.
Tags
Volume Types
All volume types available in a specified zone.
Each of these types will contain all the capabilities and constraints of the volume (min size, max size, snapshot).
Volumes
A volume is where you store your data inside your Instance. It
appears as a block device on Linux that you can use to create
a filesystem and mount it.
The Instance API only supports
l_ssd and scratch volume types.
Block storage volumes can also be attached to Instances, these volumes are
managed by the SBS API (https://www.scaleway.com/en/developers/api/block/).
Minimum and maximum volume sizes for each volume type can be queried
from the zone /volume-types API endpoint.
Each type of volume is also subject to a global quota for the sum of all the
volumes. This quota depends on the level of support and may be
changed on demand.
When using multiple block devices, it's advised to mount them by
using their UUID instead of their device name. A device name is
subject to change depending on the volumes order. Block devices
UUIDs can be found in /dev/disk/by-id/.Snapshots
Snapshots contain the data of a specified l_ssd volume at a particular point in time.
The data can include the Instance's operating system,
configuration information and/or files stored on the volume.
l_ssd volumes can be created from snapshots.