You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compute/instances/how-to/create-image-from-snapshot.mdx
+54-2Lines changed: 54 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ content:
7
7
paragraph: This page explains how to create an image from a snapshot of a Scaleway Instance.
8
8
tags: image backup snapshot instance
9
9
dates:
10
-
validation: 2024-08-26
10
+
validation: 2024-11-15
11
11
posted: 2021-08-05
12
12
categories:
13
13
- compute
@@ -20,10 +20,11 @@ categories:
20
20
- An [Instance](/compute/instances/how-to/create-an-instance/)
21
21
- At least one [snapshot](/compute/instances/how-to/create-a-snapshot/)
22
22
23
+
## Creating an image from a snapshot via the Scaleway console
23
24
24
25
1. Click **Instances** in the **Compute** section of the side menu. The [Instances page](https://console.scaleway.com/instance/servers) displays.
25
26
2. Click the **Images** tab. A list of your images displays.
26
-
3. Hover over the <Iconname="plus"/> button to **Create image**. The overview page displays.
27
+
3. Hover over the <Iconname="plus"/> button to **Create image**. The overview page displays.
27
28
4. Choose the **Availability Zone** in which you want your image to be created.
28
29
5. Enter a **name** for your image.
29
30
<Messagetype="note">
@@ -35,3 +36,54 @@ categories:
35
36
<Messagetype="tip">
36
37
You can also create an image from the **Snapshots** dashboard by clicking <Iconname="more"/> next to the snapshot from which you want to create an image. Click **Image from snapshot**. A new tab opens: enter a name for your image. Then click **Create image from snapshot**.
37
38
</Message>
39
+
40
+
## Creating an image via the Scaleway CLI
41
+
42
+
You can also create an image using the [Scaleway CLI](/developer-tools/scaleway-cli/quickstart/). Use the following command:
You can also create an image using the [Scaleway API](https://www.scaleway.com/en/developers/api/instance/#path-images-create-an-instance-image). Use the following `curl` command:
Copy file name to clipboardExpand all lines: compute/instances/how-to/migrate-volumes-snapshots-to-sbs.mdx
+71-32Lines changed: 71 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,21 @@ content:
7
7
paragraph: This guide provides step-by-step instructions to help you migrate your existing Block Storage volumes and snapshots to Scaleway's new Block Storage management system.
8
8
tags: instance snapshot volume b_ssd sbs
9
9
dates:
10
-
validation: 2024-10-10
10
+
validation: 2024-11-15
11
11
posted: 2024-08-07
12
12
categories:
13
13
- compute
14
14
---
15
15
16
-
Scaleway is transitioning the management of Block Storage volumes and snapshots from compute teams to storage teams to enhance performance and reliability.
17
-
While the characteristics of your migrated volumes and snapshots will remain unchanged, Scaleway's new storage management system will now manage them.
18
-
This guide provides the steps needed to migrate your volumes and snapshots using either the [Scaleway Command Line Interface (CLI)](/developer-tools/scaleway-cli/quickstart/) tool (recommended) or via the [Instances API](https://www.scaleway.com/en/developers/api/instance/#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage).
16
+
To enhance performance and reliability, Scaleway is transitioning the management of Block Storage volumes and snapshots from Compute to Storage.
17
+
18
+
The migration process ensures that the characteristics of your volumes and snapshots remain unchanged, even for volumes attached to running Instances.
19
+
20
+
After migration, these resources will be managed under [Storage](/storage/block/quickstart/) instead of Compute.
21
+
22
+
During migration, unified snapshots will be converted into [Block Storage Low Latency](/storage/block/) snapshots and removed from Compute. If a unified snapshot is part of an image, it will be replaced by the corresponding Block Storage Low Latency snapshot.
23
+
24
+
This guide offers step-by-step instructions to migrate your volumes and snapshots using either the [Scaleway Command Line Interface (CLI)](/developer-tools/scaleway-cli/quickstart/) tool (recommended) or the [Instances API](https://www.scaleway.com/en/developers/api/instance/#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage).
19
25
20
26
<Messagetype="tip">
21
27
The easiest way to migrate your Block Storage volumes and snapshots is by using the [Scaleway Command Line Interface (CLI)](/developer-tools/scaleway-cli/quickstart/) tool.
@@ -35,45 +41,64 @@ This guide provides the steps needed to migrate your volumes and snapshots using
35
41
<Tabs>
36
42
<TabsTablabel="CLI">
37
43
<Messagetype="note">
38
-
When you migrate a volume, the volume and any snapshots created from the volume will be migrated.
44
+
When you migrate a volume, the volume and any snapshots created from it will be migrated as well.
39
45
</Message>
40
-
1. Retrieve the ID of your Block Storage volume using the `scw instance volume list` command. This command returns a list of your volumes, as shown below:
46
+
1. Use the following command to list your Block Storage volumes and retrieve the ID of the volume you wish to migrate:
41
47
```
42
48
$ scw instance volume list
43
49
ID STATE SERVER ID SERVER NAME
44
50
369feb53-165f-437d-875e-188725df462b available
45
51
```
46
-
2. Plan the volume migration with the `scw instance volume plan-migration <VOLUME_ID>` command. This command provides the state of the volume and a unique `ValidationKey`, which is needed to start the migration.
52
+
2. Plan the volume migration using the `scw instance volume plan-migration <VOLUME_ID>` command. This command returns the volume and its snapshots that will be migrated, along with a unique `ValidationKey` required to start the migration.
The volume migration is complete. You can now manage the migrated volume from the [Block Storage Volumes section](https://console.scaleway.com/block-storage/volumes) in the Scaleway console.
69
-
70
95
</TabsTab>
71
96
<TabsTablabel="API">
72
97
<Messagetype="note">
73
98
When you migrate a volume using the API, the volume and any snapshots created from the volume will be migrated.
74
99
</Message>
75
100
76
-
1. Plan the migration by using the following `curl` command:
101
+
1. Plan the migration by sending a `POST` request to the Scaleway API:
2. Plan the migration with the `scw instance snapshot plan-migration <SNAPSHOT_ID>` command. This command returns the state of the snapshot and a unique `ValidationKey`, which is necessary to start the migration.
145
+
2. Plan the snapshot migration using the `scw instance snapshot plan-migration <SNAPSHOT_ID>` command. This command returns the source volume of the snapshot and any related snapshots that will be migrated, along with a unique `ValidationKey`.
The snapshot migration is complete. You can now manage the migrated snapshot from the [Block Storage Snapshot section](https://console.scaleway.com/block-storage/volumes) in the Scaleway console.
@@ -154,7 +191,7 @@ This guide provides the steps needed to migrate your volumes and snapshots using
154
191
When you migrate a snapshot using the API, the source volume of the snapshot and any snapshots created from this volume will also be migrated.
155
192
</Message>
156
193
157
-
1. Plan the migration by using the following `curl` command:
194
+
1. Plan the migration by sending a `POST` request to the Scaleway API:
@@ -165,9 +202,9 @@ This guide provides the steps needed to migrate your volumes and snapshots using
165
202
}"
166
203
```
167
204
168
-
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 a `validation_key`.
205
+
This request returns the source volume and any related snapshots that will be migrated, along with a unique `ValidationKey`.
169
206
170
-
2. Confirm the migration using the following `curl` command:
207
+
2. Confirm and execute the migration by sending another `POST` request:
@@ -183,4 +220,6 @@ This guide provides the steps needed to migrate your volumes and snapshots using
183
220
184
221
## Going further
185
222
186
-
To learn more about managing your migrated Block Storage volumes from the Scaleway console, refer to the [Block Storage - Console documentation](/storage/block/quickstart/). Additionally, you can manage your Block Storage volumes using the [Scaleway Block Storage API](https://www.scaleway.com/en/developers/api/block/).
223
+
To learn more about managing your migrated Block Storage volumes and snapshots from the Scaleway console, refer to the [Block Storage Quickstart Guide](/storage/block/quickstart/). Additionally, you can explore advanced features using the [Scaleway Block Storage API](https://www.scaleway.com/en/developers/api/block/).
224
+
225
+
If you encounter any issues during migration, contact [Scaleway's support team](https://console.scaleway.com/support/tickets) for assistance.
0 commit comments