This process applies only to Block SSD (b_ssd
) volumes.
How to migrate existing volumes and snapshots to Scaleway's new Block Storage management
Scaleway is transitioning the management of Block Storage volumes and snapshots from compute teams to storage teams to enhance performance and reliability. While the characteristics of your migrated volumes and snapshots will remain unchanged, they will now be managed by Scaleway’s new storage management system. This guide provides the steps needed to migrate your volumes and snapshots smoothly.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- An Instance using Block Storage volumes
Migrating an existing Block Storage volume to Scaleway Block Storage management
-
Plan the migration by using the following
curl
command:curl --location "https://api.scaleway.com/instance/v1/zones/$SCW_AVAILABILITY_ZONE/block-migration/plan" \--header "Content-Type: application/json" \--header "X-Auth-Token: $SCW_SECRET_KEY" \--data "{\"volume_id\": \"$SCW_VOLUME_ID\"}"The response includes the volume and any snapshots created from the volume that will be migrated. It also returns a
validation_key
. -
Confirm the migration by using the following
curl
command:curl --location "https://api.scaleway.com/instance/v1/zones/$SCW_AVAILABILITY_ZONE/block-migration/apply" \--header "Content-Type: application/json" \--header "X-Auth-Token: $SCW_SECRET_KEY" \--data "{\"volume_id\": \"$SCW_VOLUME_ID\",\"validation_key\": \"$SCW_VALIDATION_KEY\"}"
Migrating an existing Block Storage snapshot to Scaleway Block Storage management
This process applies to Block SSD (b_ssd
) or Unified (unified
) snapshots.
-
Plan the migration by using the following
curl
command:curl --location "https://api.scaleway.com/instance/v1/zones/$SCW_AVAILABILITY_ZONE/block-migration/plan" \--header "Content-Type: application/json" \--header "X-Auth-Token: $SCW_SECRET_KEY" \--data "{\"snapshot_id\": \"$SCW_SNAPSHOT_ID\"}"The response includes the source volume of the snapshot and any snapshots created from this volume, including the
snapshot_id
provided by the user. It also returns avalidation_key
. -
Confirm the migration using the following
curl
command:curl --location "https://api.scaleway.com/instance/v1/zones/$SCW_AVAILABILITY_ZONE/block-migration/apply" \--header "Content-Type: application/json" \--header "X-Auth-Token: $SCW_SECRET_KEY" \--data "{\"snapshot_id\": \"$SCW_SNAPSHOT_ID\",\"validation_key\": \"$SCW_VALIDATION_KEY\"}"
Going further
To learn more about managing your migrated Block Storage volumes from the Scaleway console, refer to the Block Storage - Console documentation. Additionally, you can manage your Block Storage volumes using the Scaleway Block Storage API.