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
+53-1Lines changed: 53 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -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:
- Replace `$SCW_VOLUME_ID_1` with the ID of the snapshot or volume you want to use as the root volume.
49
+
- Replace `$SCW_VOLUME_ID_2` with the ID of any additional volume to be included.
50
+
- Ensure the architecture (`arch`) is set to a valid value (e.g., `x86_64`).
51
+
52
+
<Messagetype="note">
53
+
Supported volume IDs include:
54
+
- Local SSD (`l_ssd`)
55
+
- Block SSD (`b_ssd`)
56
+
- Block Storage Low Latency (`sbs`) volumes.
57
+
</Message>
58
+
59
+
## Creating an image via the Scaleway API
60
+
61
+
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
+23-17Lines changed: 23 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,15 @@ 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
-
The characteristics of your migrated volumes and snapshots will remain unchanged, it is seamless even for a volume attached to a running instance, these resources will be managed from Compute to [Storage](https://www.scaleway.com/en/docs/storage/block/quickstart/).
18
-
The unified snapshot migration will result in a snapshot in Block Storage and the deletion of the unified snapshot in Compute. If the unified snapshot is part of an image, it's replaced by the snapshot of Block Storage.
19
-
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](https://www.scaleway.com/en/docs/storage/block/quickstart/) instead of Compute.
21
+
22
+
During migration, unified snapshots will be converted into Block Storage snapshots and removed from Compute. If a unified snapshot is part of an image, it will be replaced by the corresponding Block Storage 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).
20
25
21
26
<Messagetype="tip">
22
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.
@@ -36,15 +41,15 @@ This guide provides the steps needed to migrate your volumes and snapshots using
36
41
<Tabs>
37
42
<TabsTablabel="CLI">
38
43
<Messagetype="note">
39
-
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.
40
45
</Message>
41
-
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:
42
47
```
43
48
$ scw instance volume list
44
49
ID STATE SERVER ID SERVER NAME
45
50
369feb53-165f-437d-875e-188725df462b available
46
51
```
47
-
2. Plan the volume migration with the `scw instance volume plan-migration <VOLUME_ID>` command. It returns the volume and its snapshots that will be migrated. It also returns an 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.
@@ -87,14 +92,13 @@ This guide provides the steps needed to migrate your volumes and snapshots using
87
92
✅ Success
88
93
```
89
94
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.
90
-
91
95
</TabsTab>
92
96
<TabsTablabel="API">
93
97
<Messagetype="note">
94
98
When you migrate a volume using the API, the volume and any snapshots created from the volume will be migrated.
95
99
</Message>
96
100
97
-
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. It returns the source volume of the snapshot and the volume snapshots that will be migrated. It also returns an unique `ValidationKey`, which is needed 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`.
@@ -198,9 +202,9 @@ This guide provides the steps needed to migrate your volumes and snapshots using
198
202
}"
199
203
```
200
204
201
-
It returns the source volume of the snapshot and the volume snapshots that will be migrated. It also returns an unique `ValidationKey`, which is needed to start the migration.
205
+
This request returns the source volume and any related snapshots that will be migrated, along with a unique `ValidationKey`.
202
206
203
-
2. Confirm the migration using the following `curl` command:
207
+
2. Confirm and execute the migration by sending another `POST` request:
@@ -216,4 +220,6 @@ This guide provides the steps needed to migrate your volumes and snapshots using
216
220
217
221
## Going further
218
222
219
-
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