Skip to content

Commit b0ec388

Browse files
Merge pull request #8006 from ovh/feat-improve-create-block
feat(block storage): improve the storage block creation guide
2 parents 6755a6d + 203164a commit b0ec388

19 files changed

+1598
-259
lines changed

pages/public_cloud/compute/create_and_configure_an_additional_disk_on_an_instance/guide.de-de.md

Lines changed: 97 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Zusätzliches Volume auf einer Instanz erstellen und konfigurieren
33
excerpt: Erfahren Sie hier, wie Sie eine neue Disk erstellen und zu Ihrer Public Cloud Instanz hinzufügen
4-
updated: 2025-06-03
4+
updated: 2025-06-27
55
---
66

77
<style>
@@ -46,7 +46,7 @@ Das kann in folgenden Fällen hilfreich sein:
4646

4747
### Die verschiedenen Volume-Typen
4848

49-
OVHcloud bietet drei Arten von Block Storage Volumes, die jeweils an spezifische Leistungs-, Kapazitäts- und Kostenanforderungen angepasst sind. Mit diesen Lösungen können Sie Ihren Instanzen persistenten Speicher zuweisen und so ein hohes Maß an Zuverlässigkeit und Verfügbarkeit sicherstellen.
49+
OVHcloud bietet drei Arten von Block Storage-Volumes, die jeweils an spezifische Leistungs-, Kapazitäts- und Kostenanforderungen angepasst sind. Mit diesen Lösungen können Sie Ihren Instanzen persistente Speichervolumes zuweisen und so ein hohes Maß an Zuverlässigkeit und Verfügbarkeit sicherstellen. Wenn die Funktion verfügbar ist, kann Verschlüsselung bei der Erstellung eines Volumes für alle Volume-Typen außer Classic Multi-Attach-Volumes in 3AZ-Regionen aktiviert werden.
5050

5151
/// details | **Classic - 500 IOPS garantiert**
5252

@@ -82,6 +82,11 @@ High Speed Volumes der zweiten Generation sind für die anspruchsvollsten Worklo
8282

8383
![standardvolumes](images/volume-types.png){.thumbnail}
8484

85+
> [!primary]
86+
>
87+
> Jeder Volume-Typ ist auch als verschlüsselte Version verfügbar (**LUKS**). Diese Volumes gewährleisten die Vertraulichkeit der Daten, ohne die Leistung zu beeinträchtigen. Sie sind über das OVHcloud Kundencenter sowie mit den im nächsten Abschnitt beschriebenen Tools verfügbar, indem Sie den `<volume_type>-luks`-Typ angeben.
88+
>
89+
8590
### Ein neues Volume hinzufügen
8691

8792
> [!tabs]
@@ -92,7 +97,7 @@ High Speed Volumes der zweiten Generation sind für die anspruchsvollsten Worklo
9297
>>
9398
>> ![Projekt auswählen](images/avolume01.png){.thumbnail}
9499
>>
95-
>> Folgen Sie den Konfigurationsschritten, um die Optionen für Standort, Volumetyp und Volumekapazität auszuwählen. Geben Sie einen Namen für das Volume ein und bestätigen Sie, indem Sie auf `Volume erstellen klicken`{.action}.
100+
>> Folgen Sie den Konfigurationsschritten, um die Optionen für Standort, Volumetyp, Verschlüsselung und Volumekapazität auszuwählen. Geben Sie einen Namen für das Volume ein und bestätigen Sie durch Klicken auf `Volume erstellen`{.action}.
96101
>>
97102
>> > [!warning]
98103
>> >
@@ -121,11 +126,27 @@ High Speed Volumes der zweiten Generation sind für die anspruchsvollsten Worklo
121126
>> >
122127
>>
123128
> **Via Terraform**
129+
>> > [!warning]
130+
>> >
131+
>> > Achten Sie darauf, nicht vom aktuellen Bereich weg zu navigieren, während das Volume angehängt wird. Der Vorgang könnte unterbrochen werden.
132+
>> >
133+
>>
134+
>> Volume-Typen:
135+
>>
136+
>> - Classic
137+
>> - High-speed
138+
>> - High-speed-gen2
139+
>> - Classic-luks
140+
>> - High-speed-luks
141+
>> - High-speed-gen2-luks
142+
>>
143+
>> Typen, die mit "-luks" enden, sind verschlüsselt (LUKS).
144+
>>
124145
>> Um ein einfaches Block Storage Volume zu erstellen, benötigen Sie 3 Elemente:
125146
>>
126-
>> * Name des Volumes
127-
>> * Region
128-
>> * Die Größe des Volumes in GB
147+
>> - Name des Volumes
148+
>> - Region
149+
>> - Größe des Volumes in GB
129150
>>
130151
>> In unserem Beispiel erstellen wir einen Block Storage in der Region **GRA11** mit einer Größe von **10 GB**. Fügen Sie der Datei *simple_blockstorage.tf* die folgenden Zeilen hinzu:
131152
>>
@@ -134,7 +155,8 @@ High Speed Volumes der zweiten Generation sind für die anspruchsvollsten Worklo
134155
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
135156
>> name = "terraform_blockstorage" # Name des Block Storage-Volumes
136157
>> size = 10 # Volumegröße
137-
>> region = "GRA11" # Region oder Volume muss erstellt werden
158+
>> region = "GRA11" # Region
159+
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 oder equivalent `-luks`
138160
>> }
139161
>> ```
140162
>>
@@ -207,6 +229,74 @@ High Speed Volumes der zweiten Generation sind für die anspruchsvollsten Worklo
207229
>>
208230
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
209231
>> ```
232+
>>
233+
> **Über das Horizon-Interface**
234+
>> Gehen Sie in den Dropdown-Bereich `Volumes`{.action}, klicken Sie auf `Volumes`{.action} und dann auf `Create Volume`{.action}.
235+
>>
236+
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
237+
>>
238+
>> Füllen Sie das Feld `Volume Name`{.action} aus und wählen Sie den gewünschten Volume-Typ. Klicken Sie dann auf `Create Volume`{.action}
239+
>>
240+
>> > [!warning]
241+
>> >
242+
>> > Wenn der Volume-Typ "high-speed-gen2" or "luks" in der Liste nicht aufgeführt ist, ist er in dieser Region nicht verfügbar.
243+
>> >
244+
>>
245+
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
246+
>>
247+
>> Klicken Sie zum Anfügen dieses Volumes an eine Instanz in der Zeile des Volumes auf den Pfeil am Ende der Zeile neben `Edit Volume`{.action}. Klicken Sie auf `Manage Attachments`{.action}.
248+
>>
249+
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
250+
>>
251+
>> Wählen Sie die Instanz aus, an die Sie Ihr Volume anhängen möchten, und klicken Sie dann auf `Attach Volume`{.action}.
252+
>>
253+
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
254+
>>
255+
> **Via the OpenStack CLI**
256+
>> > [!warning]
257+
>> >
258+
>> > Wenn der Volume-Typ "high-speed-gen2" or "luks" in der Liste nicht aufgeführt ist, ist er in dieser Region nicht verfügbar.
259+
>> >
260+
>>
261+
>> Volume-Typen:
262+
>>
263+
>> - Classic
264+
>> - High-speed
265+
>> - High-speed-gen2
266+
>> - Classic-luks
267+
>> - High-speed-luks
268+
>> - High-speed-gen2-luks
269+
>>
270+
>> Typen, die mit "-luks" enden, sind verschlüsselt (LUKS).
271+
>>
272+
>> In der Region verfügbare Volume-Typen auflisten:
273+
>>
274+
>> ```bash
275+
>> openstack volume type list
276+
>> ```
277+
>>
278+
>> Erstellen Sie ein Volume, indem Sie mindestens dessen Größe (in GB) und einen der oben aufgeführten Typen angeben. Sie können auch einen Namen für Ihr Volume anfügen.
279+
>>
280+
>> ```bash
281+
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
282+
>> ```
283+
>>
284+
>> Verwenden Sie den folgenden Befehl, um ein Volume an eine in der Region verfügbare Instanz anzufügen:
285+
>>
286+
>> ```bash
287+
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
288+
>>
289+
>> +-----------+-------------------------------------+
290+
>> | Field | Value |
291+
>> +-----------+-------------------------------------+
292+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
293+
>> | Server ID | 74317f97-****-****-80cf2d4**** |
294+
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
295+
>> | Device | /dev/sdb |
296+
>> | Tag | None |
297+
>> +-----------+-------------------------------------+
298+
>> ```
299+
>>
210300
211301
### Konfiguration des neuen Volumes
212302

pages/public_cloud/compute/create_and_configure_an_additional_disk_on_an_instance/guide.en-asia.md

Lines changed: 102 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Creating and configuring an additional disk on an instance
2+
title: How to create and configure an additional disk on an instance
33
excerpt: Find out how to attach a new volume to your Public Cloud instance
4-
updated: 2025-06-03
4+
updated: 2025-06-27
55
---
66

77
<style>
@@ -20,7 +20,7 @@ details[open]>summary::before {
2020

2121
## Objective
2222

23-
It is possible to create additional disks for your Public Cloud instances.
23+
It is possible to create additional disks for your Public Cloud instances.
2424
This can be useful in cases where:
2525

2626
- You want to increase your storage capacity without changing the instance model.
@@ -45,7 +45,7 @@ This can be useful in cases where:
4545

4646
### The different types of volumes
4747

48-
OVHcloud offers three types of Block Storage volumes, each tailored to specific needs in terms of performance, capacity and cost. These solutions enable you to attach persistent storage volumes to your instances, guaranteeing a high level of reliability and availability.
48+
OVHcloud offers three types of Block Storage volumes, each tailored to specific needs in terms of performance, capacity, and cost. These solutions allow you to attach persistent storage volumes to your instances, ensuring a high level of reliability and availability. If the feature is available, encryption can be enabled when creating a volume, for all volume types except Classic Multi-Attach volumes in 3AZ regions.
4949

5050
/// details | **Classic – 500 IOPS guaranteed**
5151

@@ -71,7 +71,7 @@ The High-Speed volume is designed for applications requiring faster data access.
7171

7272
/// details | **High-Speed Gen2 – 30 IOPS/GB and up to 20,000 IOPS**
7373

74-
Generation 2 High-Speed volumes are optimized for the most demanding workloads. With a performance of 30 IOPS/GB, up to 20,000 IOPS, this type of volume is recommended for :
74+
Generation 2 High-Speed volumes are optimized for the most demanding workloads. With a performance of 30 IOPS/GB, up to 20,000 IOPS, this type of volume is recommended for:
7575

7676
- Big Data and real-time analysis
7777
- Artificial intelligence and machine learning
@@ -81,6 +81,11 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
8181

8282
![volume_types](images/volume-types.png){.thumbnail}
8383

84+
> [!primary]
85+
>
86+
> All volume types are also available in an encrypted version (LUKS). These volumes ensure data confidentiality without impacting performance. They are available through the OVHcloud Control Panel as well as via the tools presented in the next section, by specifying the type `<volume_type>-luks`.
87+
>
88+
8489
### Attaching a new volume
8590

8691
> [!tabs]
@@ -92,7 +97,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
9297
>>
9398
>> ![select project](images/avolume01.png){.thumbnail}
9499
>>
95-
>> Follow the configuration steps in order to select options for location, disk type and disk capacity. Then enter a name for the volume and confirm by clicking on `Create the volume`{.action}.
100+
>> Follow the configuration steps to select the location, disk type, encryption and disk capacity options. Enter a name for the volume and confirm by clicking on `Create volume`{.action}.
96101
>>
97102
>> > [!warning]
98103
>> >
@@ -120,21 +125,37 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
120125
>> >
121126
>>
122127
> **Via Terraform**
128+
>> > [!warning]
129+
>> >
130+
>> > Please note that the "high-speed-gen2" or "luks" volume types may not be available in all regions.
131+
>> >
132+
>>
133+
>> Types of volumes:
134+
>>
135+
>> - Classic
136+
>> - High-speed
137+
>> - High-speed-gen2
138+
>> - Classic-luks
139+
>> - High-speed-luks
140+
>> - High-speed-gen2-luks
141+
>>
142+
>> The types ending in -luks are encrypted (LUKS).
123143
>>
124144
>> To create a simple block storage volume, you need 3 elements:
125145
>>
126-
>> * The name of the volume
127-
>> * The region
128-
>> * The size of the volume in GB
146+
>> - The name of the volume
147+
>> - The region
148+
>> - The size of the volume in GB
129149
>>
130150
>> In our example, we will create a block storage in the **GRA11** region with a size of **10 GB**. Add the following lines to a file named *simple_blockstorage.tf*:
131151
>>
132152
>> ```python
133153
>> # Creation of a block storage volume
134154
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
135-
>> name = "terraform_blockstorage" # Name of the block storage volume
136-
>> size = 10 # Volume size
137-
>> region = "GRA11" # Region where the volume must be created
155+
>> name = "terraform_blockstorage" # Name of the block storage volume
156+
>> size = 10 # Volume size
157+
>> region = "GRA11" # Region where the volume must be created
158+
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 or equivalent `-luks`
138159
>> }
139160
>> ```
140161
>>
@@ -178,7 +199,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
178199
>> + name = "terraform_blockstorage"
179200
>> + region = "GRA11"
180201
>> + size = 10
181-
>> + volume_type = (known after apply)
202+
>> + volume_type = "high-speed-gen2"
182203
>> }
183204
>>
184205
>> # openstack_compute_volume_attach_v2.volume_attach will be created
@@ -207,6 +228,74 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
207228
>>
208229
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
209230
>> ```
231+
>>
232+
> **Via the Horizon interface**
233+
>> Go to the `Volumes`{.action} drop-down section, click `Volumes`{.action} and then `Create Volume`{.action}.
234+
>>
235+
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
236+
>>
237+
>> Fill in the `Volume Name`{.action} field and select the type of volume you want. Then click on `Create Volume`{.action}
238+
>>
239+
>> > [!warning]
240+
>> >
241+
>> > Please note that if the volume type "high-speed-gen2" or "luks" does not appear in the list, this means that it is not available in this region.
242+
>> >
243+
>>
244+
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
245+
>>
246+
>> To attach this volume to an instance, on your volume line, click `the arrow`{.action} at the end of the line next to `Edit Volume`. Then click on `Manage Attachments`{.action}.
247+
>>
248+
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
249+
>>
250+
>> Select the instance to which you wish to attach your volume, then click on `Attach Volume`{.action}.
251+
>>
252+
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
253+
>>
254+
> **Via the OpenStack CLI**
255+
>> > [!warning]
256+
>> >
257+
>> > Please note that if the volume type "high-speed-gen2" or "luks" does not appear in the list, this means that it is not available in this region.
258+
>> >
259+
>>
260+
>> Types of volumes:
261+
>>
262+
>> - Classic
263+
>> - High-speed
264+
>> - High-speed-gen2
265+
>> - Classic-luks
266+
>> - High-speed-luks
267+
>> - High-speed-gen2-luks
268+
>>
269+
>> The types ending in -luks are encrypted (LUKS).
270+
>>
271+
>> List the volume types available in the region:
272+
>>
273+
>> ```bash
274+
>> openstack volume type list
275+
>> ```
276+
>>
277+
>> Create a volume, specifying at least its size (in GB) and a type from those listed above. You can also specify a name for your volume at the end of the command.
278+
>>
279+
>> ```bash
280+
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
281+
>> ```
282+
>>
283+
>> To attach a volume to an instance available in the region, use the following command:
284+
>>
285+
>> ```bash
286+
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
287+
>>
288+
>> +-----------+-------------------------------------+
289+
>> | Field | Value |
290+
>> +-----------+-------------------------------------+
291+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
292+
>> | Server ID | 74317f97-****-****-80cf2d4**** |
293+
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
294+
>> | Device | /dev/sdb |
295+
>> | Tag | None |
296+
>> +-----------+-------------------------------------+
297+
>> ```
298+
>>
210299
211300
### Configuring the new disk
212301
@@ -656,7 +745,6 @@ Finally, we will detach the volume from the instance:
656745
>> Apply complete! Resources: 0 added, 0 changed, 1 destroyed.
657746
>> ```
658747
659-
660748
## Go further
661749
662750
[Increasing the size of an additional disk](/pages/public_cloud/compute/increase_the_size_of_an_additional_disk)

0 commit comments

Comments
 (0)