Skip to content

Commit 3be2dc0

Browse files
bene2k1RoRoJjcirinosclwynerda-codes
authored
feat(ins): add local storage (#4686)
* feat(ins): add locla storage * feat(ins): add local storage * feat(ins): local storage * Apply suggestions from code review Co-authored-by: Rowena Jones <[email protected]> * feat(ins): local storage * Update menu/navigation.json Co-authored-by: Rowena Jones <[email protected]> * Apply suggestions from code review Co-authored-by: Jessica <[email protected]> Co-authored-by: Néda <[email protected]> * fix(ins): fix link --------- Co-authored-by: Rowena Jones <[email protected]> Co-authored-by: Jessica <[email protected]> Co-authored-by: Néda <[email protected]>
1 parent 54e4bbd commit 3be2dc0

30 files changed

+599
-254
lines changed

menu/navigation.json

Lines changed: 55 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,12 +1451,8 @@
14511451
"slug": "create-an-instance"
14521452
},
14531453
{
1454-
"label": "Create a Block Storage volume",
1455-
"slug": "create-a-block-volume"
1456-
},
1457-
{
1458-
"label": "Manage Block Storage volumes",
1459-
"slug": "manage-volumes"
1454+
"label": "Manage Instance storage",
1455+
"slug": "manage-storage"
14601456
},
14611457
{
14621458
"label": "Connect to an Instance",
@@ -1494,22 +1490,11 @@
14941490
"label": "Use placement groups",
14951491
"slug": "use-placement-groups"
14961492
},
1497-
{
1498-
"label": "Create an image",
1499-
"slug": "create-a-backup"
1500-
},
1501-
{
1502-
"label": "Create a snapshot",
1503-
"slug": "create-a-snapshot"
1504-
},
1493+
15051494
{
15061495
"label": "Create an image from a snapshot",
15071496
"slug": "create-image-from-snapshot"
15081497
},
1509-
{
1510-
"label": "Use the snapshot import/export feature",
1511-
"slug": "snapshot-import-export-feature"
1512-
},
15131498
{
15141499
"label": "Migrate volumes and snapshots to Scaleway SBS",
15151500
"slug": "migrate-volumes-snapshots-to-sbs"
@@ -4578,6 +4563,58 @@
45784563
"label": "Object Storage",
45794564
"slug": "object-storage"
45804565
},
4566+
{
4567+
"items": [
4568+
{
4569+
"label": "Overview",
4570+
"slug": "../local-storage"
4571+
},
4572+
{
4573+
"label": "Concepts",
4574+
"slug": "concepts"
4575+
},
4576+
{
4577+
"label": "Quickstart",
4578+
"slug": "quickstart"
4579+
},
4580+
{
4581+
"items": [
4582+
{
4583+
"label": "Create a volume",
4584+
"slug": "create-volume"
4585+
},
4586+
{
4587+
"label": "Attach a volume",
4588+
"slug": "attach-volume"
4589+
},
4590+
{
4591+
"label": "Create a snapshot of a Local Storage volume",
4592+
"slug": "create-snapshot"
4593+
},
4594+
{
4595+
"label": "Create a Local Storage volume from a snapshot",
4596+
"slug": "create-volume-from-snapshot"
4597+
},
4598+
{
4599+
"label": "Detach a volume",
4600+
"slug": "detach-volume"
4601+
},
4602+
{
4603+
"label": "Delete a snapshot",
4604+
"slug": "delete-snapshot"
4605+
},
4606+
{
4607+
"label": "Delete a volume",
4608+
"slug": "delete-volume"
4609+
}
4610+
],
4611+
"label": "How to",
4612+
"slug": "how-to"
4613+
}
4614+
],
4615+
"label": "Local Storage",
4616+
"slug": "local-storage"
4617+
},
45814618
{
45824619
"items": [
45834620
{

pages/block-storage/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Although there is no direct way to change the storage class of a volume while pr
7979
While this approach allows you to transition to a Block Storage Low Latency volume, it is only a workaround.
8080
</Message>
8181

82-
1. [Create a snapshot of your Block Storage legacy volume](/instances/how-to/create-a-snapshot/).
82+
1. [Create a snapshot of your Block Storage legacy volume](/block-storage/how-to/create-a-snapshot/).
8383
2. [Export the snapshot](/instances/api-cli/snapshot-import-export-feature/#exporting-snapshots).
8484
3. [Import the snapshot into a new Low Latency volume](https://www.scaleway.com/en/developers/api/block/#path-snapshot-import-a-snapshot-from-a-scaleway-object-storage-bucket).
8585

pages/instances/api-cli/snapshot-import-export-feature.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ More information on the QCOW2 file format, and how to use it can be found in the
2828
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2929
- An [Instance](/instances/how-to/create-an-instance/) with [Block Storage volumes](/block-storage/how-to/create-a-volume/)
3030
- A valid [API key](/iam/how-to/create-api-keys/)
31-
- A [snapshot](/instances/how-to/create-a-snapshot/)
31+
- A [snapshot](/block-storage/how-to/create-a-snapshot/)
3232
- An [Object Storage bucket](/object-storage/how-to/create-a-bucket/)
3333

3434
## Exporting snapshots
@@ -38,7 +38,7 @@ More information on the QCOW2 file format, and how to use it can be found in the
3838
You need an Object Storage bucket to export your QCOW2 file into. Any bucket that belongs to the same project as the snapshot can be used. However, if you do not have one already, you can [create it](/object-storage/how-to/create-a-bucket/) in the console.
3939
2. Create a snapshot from a volume.
4040

41-
To use this functionality, you must [create a snapshot](/instances/how-to/create-a-snapshot/#how-to-create-a-snapshot) from the volume you want to export.
41+
To use this functionality, you must [create a snapshot](/block-storage/how-to/create-a-snapshot/#how-to-create-a-snapshot) from the volume you want to export.
4242
3. Call the `export` snapshot API endpoint to initiate the snapshot export.
4343

4444
For example, using curl:

pages/instances/concepts.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Security groups allow you to [create rules to drop or allow public traffic comin
154154

155155
## Snapshot
156156

157-
A snapshot takes a picture of a specific volume at one point in time. For example, you may have a server with one volume containing the OS and another containing the application data and want to use different snapshot strategies on both volumes. [Creating snapshots of your volumes](/instances/how-to/create-a-snapshot/) gives you total freedom of which volumes you want to back up, while [images](#image) are more convenient for full backups of your Instance.
157+
A snapshot takes a picture of a specific volume at one point in time. For example, you may have a server with one volume containing the OS and another containing the application data and want to use different snapshot strategies on both volumes. [Creating snapshots of your volumes](/block-storage/how-to/create-a-snapshot/) gives you total freedom of which volumes you want to back up, while [images](#image) are more convenient for full backups of your Instance.
158158

159159
## Snapshot type
160160

@@ -180,6 +180,6 @@ Tags allow you to organize, sort, filter, and monitor your cloud resources using
180180

181181
Volumes are the storage space of your Instances. Two types of volumes exist:
182182

183-
* **Local volumes**: The local volume of an Instance is an all-SSD-based storage solution, using a RAID array for redundancy and performance, hosted on the local hypervisor. On Scaleway Instances, the size of the local volume is fixed and depends on the Instance type. Some Instance types do not use local volumes and [boot directly on block volumes](#boot-on-block).
183+
* **[Local volumes](/local-storage/)**: The local volume of an Instance is an all-SSD-based storage solution, using a RAID array for redundancy and performance, hosted on the local hypervisor. On Scaleway Instances, the size of the local volume is fixed and depends on the Instance type. Some Instance types do not use local volumes and [boot directly on block volumes](#boot-on-block).
184184

185-
* **Block volumes**: Block volumes provide network-attached storage you can plug in and out of Instances like a virtual hard drive. Block volumes behave like regular disks and can be used to increase the storage of an Instance.
185+
* **[Block volumes*](/block-storage/)*: Block volumes provide network-attached storage you can plug in and out of Instances like a virtual hard drive. Block volumes behave like regular disks and can be used to increase the storage of an Instance.

pages/instances/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ productIcon: InstanceProductIcon
1515

1616
### How can I create an image?
1717

18-
You must [create at least one snapshot](/instances/how-to/create-a-snapshot/) before creating an image.
18+
You must [create at least one snapshot](/block-storage/how-to/create-a-snapshot/) before creating an image.
1919

2020
See the documentation on [creating an image from scratch](/instances/how-to/create-image-from-snapshot/).
2121

pages/instances/how-to/create-a-backup.mdx

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ content:
77
paragraph: This page explains how to create an image of your Instance
88
tags: instance image backup
99
dates:
10-
validation: 2025-03-11
10+
validation: 2025-03-24
1111
posted: 2021-05-26
1212
categories:
1313
- compute
@@ -18,7 +18,7 @@ The image feature lets you create an image of your Instance, which contains all
1818
This feature is available on Instance types. Creating images of your Instance is free. However, keep in mind that as the image feature creates snapshots of your volumes, you will be billed for these snapshots.
1919

2020
<Message type="note">
21-
This creates an image that is a complete backup of your Instance including **all** of its volumes. The [snapshot](/instances/concepts/#snapshot) feature, on the other hand, creates snapshots of specific volumes. Consider [creating a snapshot](/instances/how-to/create-a-snapshot/) if you want to use different snapshot strategies for different volumes of your Instance, e.g., if it has one volume containing the OS and another containing application data.
21+
This creates an image that is a complete backup of your Instance including **all** of its volumes. The [snapshot](/instances/concepts/#snapshot) feature, on the other hand, creates snapshots of specific volumes. Consider [creating a snapshot](/block-storage/how-to/create-a-snapshot/) if you want to use different snapshot strategies for different volumes of your Instance, e.g., if it has one volume containing the OS and another containing application data.
2222
</Message>
2323

2424
<Macro id="requirements" />
@@ -32,13 +32,13 @@ This feature is available on Instance types. Creating images of your Instance is
3232

3333
1. Click **Instances** in the **Compute** section of the side menu. The [Instances page](https://console.scaleway.com/instance/servers) displays.
3434
2. Click the Instance you want to back up.
35-
3. Click the **Images** tab.
36-
4. Click **+ Create image**. A pop-up displays asking you to confirm the action.
35+
3. Go to the **Images** section of the Instace's overview page.
36+
4. Click **Create image from Instance**. A pop-up displays asking you to confirm the action.
3737
5. Click **Create image from Instance**.
38-
You are returned to the **Images** tab, where your new image now displays.
38+
You are returned to the **Storage** tab, where your new image now displays.
3939

4040
<Message type="note">
41-
When you create an image, each of the Instance's volumes are snapshotted. You will be able to see the snapshot of each volume via the [**Snapshots**](https://console.scaleway.com/instance/snapshots) tab of your Instance dashboard.
41+
When you create an image, each of the Instance's volumes are snapshotted. You will be able to see the snapshot of each volume via the **Storage** tab of your Instance dashboard.
4242
</Message>
4343

4444

@@ -56,17 +56,18 @@ A new Instance is created from your image.
5656

5757
1. Click **Instances** in the **Compute** section of the side menu. The [Instances page](https://console.scaleway.com/instance/servers) displays.
5858
2. Click the Instance you created an image of.
59-
3. Click the **Images** tab.
59+
3. Click the **Storage** tab and scroll down to the **Images** section of the page.
6060
4. Click <Icon name="more" /> next to the Instance's image.
61-
5. Select **Create Instance from image** on the drop-down list. You are redirected to the Instance Creation wizard, where the image has been preselected for you at step 2.
61+
5. Select **Create Instance** on the drop-down list. You are redirected to the Instance creation wizard, where the image has been preselected for you at step 2.
6262
6. Finish configuring the Instance according to your requirements, and click **Create Instance**.
6363

6464
A new Instance is created from your image.
6565

6666
## How to manage your images
6767

6868
1. Click **Instances** in the **Compute** section of the side menu. The [Instances page](https://console.scaleway.com/instance/servers) displays.
69-
2. Click the **Images** tab. A list of your images displays.
69+
2. Click the **Storage** tab. A list of your storage resources displays.
70+
3. Scroll to the **Images** section of the page.
7071
3. Click <Icon name="more" /> next to the relevant image.
7172
- Select **More info** to view more information about the image, including its name, status, location, size, type, ID, and creation date.
7273
- Select **Delete** to delete the image if you no longer need it, and confirm via the pop-up window when prompted.

pages/instances/how-to/create-a-block-volume.mdx

Lines changed: 0 additions & 47 deletions
This file was deleted.

pages/instances/how-to/create-a-snapshot.mdx

Lines changed: 0 additions & 69 deletions
This file was deleted.

pages/instances/how-to/create-image-from-snapshot.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ categories:
1818
- A Scaleway account logged into the [console](https://console.scaleway.com)
1919
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2020
- An [Instance](/instances/how-to/create-an-instance/)
21-
- At least one [snapshot](/instances/how-to/create-a-snapshot/)
21+
- At least one [snapshot](/block-storage/how-to/create-a-snapshot/)
2222

2323
## Creating an image from a snapshot via the Scaleway console
2424

0 commit comments

Comments
 (0)