Skip to content

feat(block storage): improve the storage block creation guide #8006

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Zusätzliches Volume auf einer Instanz erstellen und konfigurieren
excerpt: Erfahren Sie hier, wie Sie eine neue Disk erstellen und zu Ihrer Public Cloud Instanz hinzufügen
updated: 2025-06-03
updated: 2025-06-27
---

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

### Die verschiedenen Volume-Typen

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.
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.

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

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

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

> [!primary]
>
> 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.
>

### Ein neues Volume hinzufügen

> [!tabs]
@@ -92,7 +97,7 @@ High Speed Volumes der zweiten Generation sind für die anspruchsvollsten Worklo
>>
>> ![Projekt auswählen](images/avolume01.png){.thumbnail}
>>
>> 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}.
>> 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}.
>>
>> > [!warning]
>> >
@@ -121,11 +126,27 @@ High Speed Volumes der zweiten Generation sind für die anspruchsvollsten Worklo
>> >
>>
> **Via Terraform**
>> > [!warning]
>> >
>> > Achten Sie darauf, nicht vom aktuellen Bereich weg zu navigieren, während das Volume angehängt wird. Der Vorgang könnte unterbrochen werden.
>> >
>>
>> Volume-Typen:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> Typen, die mit "-luks" enden, sind verschlüsselt (LUKS).
>>
>> Um ein einfaches Block Storage Volume zu erstellen, benötigen Sie 3 Elemente:
>>
>> * Name des Volumes
>> * Region
>> * Die Größe des Volumes in GB
>> - Name des Volumes
>> - Region
>> - Größe des Volumes in GB
>>
>> 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:
>>
@@ -134,7 +155,8 @@ High Speed Volumes der zweiten Generation sind für die anspruchsvollsten Worklo
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
>> name = "terraform_blockstorage" # Name des Block Storage-Volumes
>> size = 10 # Volumegröße
>> region = "GRA11" # Region oder Volume muss erstellt werden
>> region = "GRA11" # Region
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 oder equivalent `-luks`
>> }
>> ```
>>
@@ -207,6 +229,74 @@ High Speed Volumes der zweiten Generation sind für die anspruchsvollsten Worklo
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **Über das Horizon-Interface**
>> Gehen Sie in den Dropdown-Bereich `Volumes`{.action}, klicken Sie auf `Volumes`{.action} und dann auf `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> 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}
>>
>> > [!warning]
>> >
>> > Wenn der Volume-Typ "high-speed-gen2" or "luks" in der Liste nicht aufgeführt ist, ist er in dieser Region nicht verfügbar.
>> >
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> 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}.
>>
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Wählen Sie die Instanz aus, an die Sie Ihr Volume anhängen möchten, und klicken Sie dann auf `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **Via the OpenStack CLI**
>> > [!warning]
>> >
>> > Wenn der Volume-Typ "high-speed-gen2" or "luks" in der Liste nicht aufgeführt ist, ist er in dieser Region nicht verfügbar.
>> >
>>
>> Volume-Typen:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> Typen, die mit "-luks" enden, sind verschlüsselt (LUKS).
>>
>> In der Region verfügbare Volume-Typen auflisten:
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> 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.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> ```
>>
>> Verwenden Sie den folgenden Befehl, um ein Volume an eine in der Region verfügbare Instanz anzufügen:
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>

### Konfiguration des neuen Volumes

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Creating and configuring an additional disk on an instance
title: How to create and configure an additional disk on an instance
excerpt: Find out how to attach a new volume to your Public Cloud instance
updated: 2025-06-03
updated: 2025-06-27
---

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

## Objective

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

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

### The different types of volumes

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.
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.

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

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

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

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 :
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:

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

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

> [!primary]
>
> 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`.
>

### Attaching a new volume

> [!tabs]
@@ -92,7 +97,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>>
>> ![select project](images/avolume01.png){.thumbnail}
>>
>> 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}.
>> 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}.
>>
>> > [!warning]
>> >
@@ -120,21 +125,37 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> >
>>
> **Via Terraform**
>> > [!warning]
>> >
>> > Please note that the "high-speed-gen2" or "luks" volume types may not be available in all regions.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> To create a simple block storage volume, you need 3 elements:
>>
>> * The name of the volume
>> * The region
>> * The size of the volume in GB
>> - The name of the volume
>> - The region
>> - The size of the volume in GB
>>
>> 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*:
>>
>> ```python
>> # Creation of a block storage volume
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> }
>> ```
>>
@@ -178,7 +199,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> + name = "terraform_blockstorage"
>> + region = "GRA11"
>> + size = 10
>> + volume_type = (known after apply)
>> + volume_type = "high-speed-gen2"
>> }
>>
>> # 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.
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **Via the Horizon interface**
>> Go to the `Volumes`{.action} drop-down section, click `Volumes`{.action} and then `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> Fill in the `Volume Name`{.action} field and select the type of volume you want. Then click on `Create Volume`{.action}
>>
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> 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}.
>>
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Select the instance to which you wish to attach your volume, then click on `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **Via the OpenStack CLI**
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> List the volume types available in the region:
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> 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.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> ```
>>
>> To attach a volume to an instance available in the region, use the following command:
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>

### Configuring the new disk

@@ -656,7 +745,6 @@ Finally, we will detach the volume from the instance:
>> Apply complete! Resources: 0 added, 0 changed, 1 destroyed.
>> ```


## Go further

[Increasing the size of an additional disk](/pages/public_cloud/compute/increase_the_size_of_an_additional_disk)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Creating and configuring an additional disk on an instance
title: How to create and configure an additional disk on an instance
excerpt: Find out how to attach a new volume to your Public Cloud instance
updated: 2025-06-03
updated: 2025-06-27
---

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

## Objective

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

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

### The different types of volumes

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.
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.

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

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

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

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 :
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:

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

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

> [!primary]
>
> 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`.
>
### Attaching a new volume

> [!tabs]
@@ -92,7 +97,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>>
>> ![select project](images/avolume01.png){.thumbnail}
>>
>> 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}.
>> 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}.
>>
>> > [!warning]
>> >
@@ -120,21 +125,37 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> >
>>
> **Via Terraform**
>> > [!warning]
>> >
>> > Please note that the "high-speed-gen2" or "luks" volume types may not be available in all regions.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> To create a simple block storage volume, you need 3 elements:
>>
>> * The name of the volume
>> * The region
>> * The size of the volume in GB
>> - The name of the volume
>> - The region
>> - The size of the volume in GB
>>
>> 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*:
>>
>> ```python
>> # Creation of a block storage volume
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> }
>> ```
>>
@@ -178,7 +199,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> + name = "terraform_blockstorage"
>> + region = "GRA11"
>> + size = 10
>> + volume_type = (known after apply)
>> + volume_type = "high-speed-gen2"
>> }
>>
>> # 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.
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **Via the Horizon interface**
>> Go to the `Volumes`{.action} drop-down section, click `Volumes`{.action} and then `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> Fill in the `Volume Name`{.action} field and select the type of volume you want. Then click on `Create Volume`{.action}
>>
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> 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}.
>>
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Select the instance to which you wish to attach your volume, then click on `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **Via the OpenStack CLI**
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> List the volume types available in the region:
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> 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.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> ```
>>
>> To attach a volume to an instance available in the region, use the following command:
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>
### Configuring the new disk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Creating and configuring an additional disk on an instance
title: How to create and configure an additional disk on an instance
excerpt: Find out how to attach a new volume to your Public Cloud instance
updated: 2025-06-03
updated: 2025-06-27
---

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

## Objective

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

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

### The different types of volumes

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.
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.

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

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

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

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 :
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:

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

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

> [!primary]
>
> 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`.
>
### Attaching a new volume

> [!tabs]
@@ -92,7 +97,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>>
>> ![select project](images/avolume01.png){.thumbnail}
>>
>> 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}.
>> 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}.
>>
>> > [!warning]
>> >
@@ -120,21 +125,37 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> >
>>
> **Via Terraform**
>> > [!warning]
>> >
>> > Please note that the "high-speed-gen2" or "luks" volume types may not be available in all regions.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> To create a simple block storage volume, you need 3 elements:
>>
>> * The name of the volume
>> * The region
>> * The size of the volume in GB
>> - The name of the volume
>> - The region
>> - The size of the volume in GB
>>
>> 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*:
>>
>> ```python
>> # Creation of a block storage volume
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> }
>> ```
>>
@@ -178,7 +199,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> + name = "terraform_blockstorage"
>> + region = "GRA11"
>> + size = 10
>> + volume_type = (known after apply)
>> + volume_type = "high-speed-gen2"
>> }
>>
>> # 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.
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **Via the Horizon interface**
>> Go to the `Volumes`{.action} drop-down section, click `Volumes`{.action} and then `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> Fill in the `Volume Name`{.action} field and select the type of volume you want. Then click on `Create Volume`{.action}
>>
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> 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}.
>>
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Select the instance to which you wish to attach your volume, then click on `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **Via the OpenStack CLI**
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> List the volume types available in the region:
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> 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.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> ```
>>
>> To attach a volume to an instance available in the region, use the following command:
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>
### Configuring the new disk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Creating and configuring an additional disk on an instance
title: How to create and configure an additional disk on an instance
excerpt: Find out how to attach a new volume to your Public Cloud instance
updated: 2025-06-03
updated: 2025-06-27
---

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

## Objective

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

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

### The different types of volumes

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.
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.

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

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

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

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 :
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:

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

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

> [!primary]
>
> 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`.
>
### Attaching a new volume

> [!tabs]
@@ -92,7 +97,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>>
>> ![select project](images/avolume01.png){.thumbnail}
>>
>> 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}.
>> 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}.
>>
>> > [!warning]
>> >
@@ -120,21 +125,37 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> >
>>
> **Via Terraform**
>> > [!warning]
>> >
>> > Please note that the "high-speed-gen2" or "luks" volume types may not be available in all regions.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> To create a simple block storage volume, you need 3 elements:
>>
>> * The name of the volume
>> * The region
>> * The size of the volume in GB
>> - The name of the volume
>> - The region
>> - The size of the volume in GB
>>
>> 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*:
>>
>> ```python
>> # Creation of a block storage volume
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> }
>> ```
>>
@@ -178,7 +199,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> + name = "terraform_blockstorage"
>> + region = "GRA11"
>> + size = 10
>> + volume_type = (known after apply)
>> + volume_type = "high-speed-gen2"
>> }
>>
>> # 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.
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **Via the Horizon interface**
>> Go to the `Volumes`{.action} drop-down section, click `Volumes`{.action} and then `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> Fill in the `Volume Name`{.action} field and select the type of volume you want. Then click on `Create Volume`{.action}
>>
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> 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}.
>>
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Select the instance to which you wish to attach your volume, then click on `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **Via the OpenStack CLI**
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> List the volume types available in the region:
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> 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.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> ```
>>
>> To attach a volume to an instance available in the region, use the following command:
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>
### Configuring the new disk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Creating and configuring an additional disk on an instance
title: How to create and configure an additional disk on an instance
excerpt: Find out how to attach a new volume to your Public Cloud instance
updated: 2025-06-03
updated: 2025-06-27
---

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

## Objective

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

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

### The different types of volumes

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.
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.

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

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

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

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 :
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:

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

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

> [!primary]
>
> 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`.
>
### Attaching a new volume

> [!tabs]
@@ -92,7 +97,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>>
>> ![select project](images/avolume01.png){.thumbnail}
>>
>> 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}.
>> 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}.
>>
>> > [!warning]
>> >
@@ -120,21 +125,37 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> >
>>
> **Via Terraform**
>> > [!warning]
>> >
>> > Please note that the "high-speed-gen2" or "luks" volume types may not be available in all regions.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> To create a simple block storage volume, you need 3 elements:
>>
>> * The name of the volume
>> * The region
>> * The size of the volume in GB
>> - The name of the volume
>> - The region
>> - The size of the volume in GB
>>
>> 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*:
>>
>> ```python
>> # Creation of a block storage volume
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> }
>> ```
>>
@@ -178,7 +199,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> + name = "terraform_blockstorage"
>> + region = "GRA11"
>> + size = 10
>> + volume_type = (known after apply)
>> + volume_type = "high-speed-gen2"
>> }
>>
>> # 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.
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **Via the Horizon interface**
>> Go to the `Volumes`{.action} drop-down section, click `Volumes`{.action} and then `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> Fill in the `Volume Name`{.action} field and select the type of volume you want. Then click on `Create Volume`{.action}
>>
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> 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}.
>>
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Select the instance to which you wish to attach your volume, then click on `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **Via the OpenStack CLI**
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> List the volume types available in the region:
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> 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.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> ```
>>
>> To attach a volume to an instance available in the region, use the following command:
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>
### Configuring the new disk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Creating and configuring an additional disk on an instance
title: How to create and configure an additional disk on an instance
excerpt: Find out how to attach a new volume to your Public Cloud instance
updated: 2025-06-03
updated: 2025-06-27
---

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

## Objective

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

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

### The different types of volumes

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.
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.

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

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

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

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 :
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:

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

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

> [!primary]
>
> 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`.
>
### Attaching a new volume

> [!tabs]
@@ -92,7 +97,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>>
>> ![select project](images/avolume01.png){.thumbnail}
>>
>> 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}.
>> 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}.
>>
>> > [!warning]
>> >
@@ -120,21 +125,37 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> >
>>
> **Via Terraform**
>> > [!warning]
>> >
>> > Please note that the "high-speed-gen2" or "luks" volume types may not be available in all regions.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> To create a simple block storage volume, you need 3 elements:
>>
>> * The name of the volume
>> * The region
>> * The size of the volume in GB
>> - The name of the volume
>> - The region
>> - The size of the volume in GB
>>
>> 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*:
>>
>> ```python
>> # Creation of a block storage volume
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> }
>> ```
>>
@@ -178,7 +199,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> + name = "terraform_blockstorage"
>> + region = "GRA11"
>> + size = 10
>> + volume_type = (known after apply)
>> + volume_type = "high-speed-gen2"
>> }
>>
>> # 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.
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **Via the Horizon interface**
>> Go to the `Volumes`{.action} drop-down section, click `Volumes`{.action} and then `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> Fill in the `Volume Name`{.action} field and select the type of volume you want. Then click on `Create Volume`{.action}
>>
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> 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}.
>>
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Select the instance to which you wish to attach your volume, then click on `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **Via the OpenStack CLI**
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> List the volume types available in the region:
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> 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.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> ```
>>
>> To attach a volume to an instance available in the region, use the following command:
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>
### Configuring the new disk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Creating and configuring an additional disk on an instance
title: How to create and configure an additional disk on an instance
excerpt: Find out how to attach a new volume to your Public Cloud instance
updated: 2025-06-03
updated: 2025-06-27
---

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

## Objective

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

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

### The different types of volumes

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.
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.

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

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

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

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 :
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:

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

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

> [!primary]
>
> 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`.
>
### Attaching a new volume

> [!tabs]
@@ -92,7 +97,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>>
>> ![select project](images/avolume01.png){.thumbnail}
>>
>> 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}.
>> 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}.
>>
>> > [!warning]
>> >
@@ -120,21 +125,37 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> >
>>
> **Via Terraform**
>> > [!warning]
>> >
>> > Please note that the "high-speed-gen2" or "luks" volume types may not be available in all regions.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> To create a simple block storage volume, you need 3 elements:
>>
>> * The name of the volume
>> * The region
>> * The size of the volume in GB
>> - The name of the volume
>> - The region
>> - The size of the volume in GB
>>
>> 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*:
>>
>> ```python
>> # Creation of a block storage volume
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> }
>> ```
>>
@@ -178,7 +199,7 @@ Generation 2 High-Speed volumes are optimized for the most demanding workloads.
>> + name = "terraform_blockstorage"
>> + region = "GRA11"
>> + size = 10
>> + volume_type = (known after apply)
>> + volume_type = "high-speed-gen2"
>> }
>>
>> # 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.
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **Via the Horizon interface**
>> Go to the `Volumes`{.action} drop-down section, click `Volumes`{.action} and then `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> Fill in the `Volume Name`{.action} field and select the type of volume you want. Then click on `Create Volume`{.action}
>>
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> 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}.
>>
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Select the instance to which you wish to attach your volume, then click on `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **Via the OpenStack CLI**
>> > [!warning]
>> >
>> > 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.
>> >
>>
>> Types of volumes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> The types ending in -luks are encrypted (LUKS).
>>
>> List the volume types available in the region:
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> 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.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> ```
>>
>> To attach a volume to an instance available in the region, use the following command:
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>
### Configuring the new disk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'Crear y configurar un disco adicional en una instancia'
excerpt: 'Cómo asociar un nuevo volumen a una instancia de Public Cloud'
updated: 2025-06-03
updated: 2025-06-27
---

<style>
@@ -46,7 +46,7 @@ Esto puede ser útil en los siguientes casos:

### Los diferentes tipos de volúmenes

OVHcloud ofrece tres tipos de volúmenes Block Storage, cada uno de ellos adaptado a las necesidades específicas en materia de rendimiento, capacidad y costes. Estas soluciones permiten asociar volúmenes de almacenamiento persistentes a sus instancias, garantizando un alto nivel de fiabilidad y disponibilidad.
OVHcloud ofrece tres tipos de volúmenes Block Storage, cada uno de ellos adaptado a las necesidades específicas en materia de rendimiento, capacidad y costes. Estas soluciones permiten asociar volúmenes de almacenamiento persistentes a sus instancias, garantizando un alto nivel de fiabilidad y disponibilidad. Si la funcionalidad está disponible, el cifrado se puede habilitar al crear un volumen para todos los tipos de volúmenes excepto los volúmenes Classic Multi-Attach en las regiones 3AZ.

/// details | **Classic - 500 IOPS garantizadas**

@@ -56,7 +56,7 @@ El volumen Classic es una solución de almacenamiento fiable y rentable, ideal p
- Almacenamiento de bases de datos de tamaño pequeño a mediano
- Backup y archivado de datos

En las regiones 3AZ, los volúmenes Classic son servicios regionales que utilizan un Erasure Coding distribuido entre varias zonas de disponibilidad. Esto garantiza la disponibilidad de los datos sin impacto ni interrupción en caso de fallo de una zona, siempre que se cumplan los requisitos de la arquitectura resiliente con conexión múltiple. Para más información, consulte nuestra guía "[Proper Usage and Limitations of Classic Multi-Attach Block Storage in 3AZ Regions](/pages/public_cloud/compute/classic_block_multi_az_limitations)".
En las regiones 3AZ, los volúmenes Classic son servicios regionales que utilizan un Erasure Coding distribuido entre varias zonas de disponibilidad. Esto garantiza la disponibilidad de los datos sin impacto ni interrupción en caso de fallo de una zona, siempre que se cumplan los requisitos de la arquitectura resiliente con conexión múltiple. Para más información, consulte nuestra guía "[Uso correcto y limitaciones del almacenamiento Classic Multi-Attach en las regiones 3AZ](/pages/public_cloud/compute/classic_block_multi_az_limitations)".

///

@@ -72,89 +72,109 @@ El volumen High-Speed está diseñado para aplicaciones que requieren un acceso

/// details | **High-Speed Gen2 - 30 IOPS/GB y hasta 20.000 IOPS**

La generación 2 de los volúmenes High-Speed está optimizada para las cargas de trabajo más exigentes. Con un rendimiento de 30 IOPS/GB, hasta 20.000 IOPS, este tipo de volumen se recomienda para:
La generación 2 de los volúmenes High-Speed está optimizada para las cargas de trabajo más exigentes. Con un rendimiento de 30 IOPS/GB, hasta 20.000 IOPS, este tipo de volumen se recomienda para los siguientes usos:

- Big Data y análisis en tiempo real
- Inteligencia artificial y Machine Learning
- Procesamiento de grandes bases de datos y almacenamiento de altas prestaciones

///

![tipos_de_volumenes](images/volume-types.png){.thumbnail}
![volumes_types](images/volume-types.png){.thumbnail}

> [!primary]
>
> Cada tipo de volumen también está disponible en versión cifrada (LUKS). Estos volúmenes garantizan la confidencialidad de los datos sin que ello afecte al rendimiento. Están disponibles en el área de cliente de OVHcloud y con las herramientas que se describen en la siguiente sección, especificando el tipo `<volume_type>-luks`.
>
### Asociar un nuevo volumen

> [!tabs]
> **Desde el área de cliente de OVHcloud**
>>
>> Conéctese al [área de cliente de OVHcloud](/links/manager), acceda a la sección `Public Cloud`{.action} y seleccione el proyecto de Public Cloud correspondiente. A continuación, abra `Block Storage`{.action} en el menú de la izquierda bajo **Backup Storage**
>> Conéctese a su [área de cliente de OVHcloud](/links/manager), acceda a la sección `Public Cloud`{.action} y seleccione el proyecto de Public Cloud correspondiente. A continuación, abra `Block Storage`{.action} en el menú de la izquierda, en **Storage & Backup**.
>>
>> En esta sección, haga clic en el botón `Crear un volumen`{.action}.
>>
>> ![seleccionar proyecto](images/avolume01.png){.thumbnail}
>>
>> Siga los pasos de configuración para seleccionar las opciones de ubicación, tipo de disco, cifrado y capacidad de disco. Introduzca un nombre para el volumen y acepte haciendo clic en `Crear el volumen`{.action}.
>>
>> > [!warning]
>> >
>> > Nota: El volumen debe crearse en la misma región que la instancia a la que desea asociarlo. Si lo crea en otra región, puede eliminarlo y volver a crearlo en la región correcta o puede migrar la región siguiendo [esta guía](/pages/public_cloud/compute/transfer_volume_backup_from_one_datacentre_to_another).
>> >
>>
>> ![Seleccionar el proyecto Public Cloud](images/avolume01.png){.thumbnail}
>> > Nota: El volumen debe crearse en la misma región que la instancia a la que desea asociarlo. Si lo crea en otra región, puede eliminarlo y volver a crearlo en la región correcta o puede migrar la región siguiendo [esta guía](/pages/public_cloud/compute/transfer_volume_backup_from_one_datacentre_to_another).
>>
>> Siga los pasos de configuración para seleccionar las opciones de ubicación, tipo de disco y capacidad de disco. Introduzca un nombre para el volumen y haga clic en `Crear el volumen`{.action}.
>>
>> ![create disk](images/avolume02.png){.thumbnail}
>>
>> El nuevo disco se mostrará en el área de cliente.
>> El nuevo disco aparecerá en el área de cliente.
>>
>> ![configure disk](images/avolume03.png){.thumbnail}
>>
>> A la derecha del volumen, haga clic en el botón `...`{.action} y seleccione `Asociar a la instancia`{.action}.
>>
>> ![attach disk 01](images/avolume04.png){.thumbnail}
>>
>> En la nueva ventana, seleccione una instancia de la lista y haga clic en `Confirmar`{.action} para asociar el disco.
>> En la ventana que aparece, seleccione una instancia de la lista y haga clic en `Confirmar`{.action} para asociar el disco.
>>
>> ![attach disk 02](images/avolume05.png){.thumbnail}
>>
>> El proceso de asociar el disco a su instancia comenzará. La operación puede tardar unos minutos.
>>
>> > [!warning]
>> >
>> > No abandone la página actual del área de cliente de OVHcloud cuando se esté conectando el disco. Esto podría interrumpir el proceso.
>> >
>> > Recuerde no abandonar la página actual del área de cliente de OVHcloud mientras el disco está conectado. Esto podría interrumpir el proceso.
>>
>>
> **Via Terraform**
>> > [!warning]
>>
>> > Tenga en cuenta que los tipos de volumen "high-speed-gen2" o "luks" pueden no estar disponibles en todas las regiones.
>>
>>
>> Tipos de volúmenes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> Los tipos que terminan en -luks están cifrados (LUKS).
>>
>> Para crear un volumen block storage simple, necesita 3 elementos:
>>
>> * El nombre del volumen
>> * La región
>> * El tamaño del volumen en GB
>> - Nombre del volumen
>> - La región
>> - El tamaño del volumen en GB
>>
>> En nuestro ejemplo, vamos a crear un block storage en la región **GRA11** con un tamaño de **10 GB**. Agregue las siguientes líneas a un archivo denominado *simple_blockstorage.tf*:
>>
>> ```python
>> # Creación de un volumen block storage
>> # Creation of a block storage volume
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
>> name = "terraform_blockstorage" # Nombre del volumen block storage
>> size = 10 # Tamaño del volumen
>> region = "GRA11" # Región o volumen que se va a crear
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> }
>> ```
>>
>> A continuación, vamos a asociarlo a la instancia de destino.
>>
>> > [!warning]
>> > La instancia y el volumen deben estar en la misma región.
>> >
>>
>>
>> Agregue las siguientes líneas debajo de las anteriores:
>>
>> ```python
>> # Asociar el volumen a la instancia
>> # Attach the volume to the instance
>> resource "openstack_compute_volume_attach_v2" "volume_attach" {
>> instance_id = "<su_instance_id>"
>> instance_id = "<your_instance_id>"
>> volume_id = openstack_blockstorage_volume_v3.terraform_volume.id
>> }
>> ```
>>
>>
>> Puede crear su volumen de tipo block storage y asociarlo a la instancia deseada introduciendo el siguiente comando:
>>
>> ```console
@@ -179,7 +199,7 @@ La generación 2 de los volúmenes High-Speed está optimizada para las cargas d
>> + name = "terraform_blockstorage"
>> + region = "GRA11"
>> + size = 10
>> + volume_type = (known after apply)
>> + volume_type = "high-speed-gen2"
>> }
>>
>> # openstack_compute_volume_attach_v2.volume_attach will be created
@@ -208,6 +228,74 @@ La generación 2 de los volúmenes High-Speed está optimizada para las cargas d
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **A través de Horizon**
>> Acceda a la sección desplegable `Volumes`{.action}, haga clic en `Volumes`{.action} y luego en `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> Introduzca el campo `Volume Name`{.action} y seleccione el tipo de volumen que desee. A continuación, haga clic en `Create Volume`{.action}.
>>
>> > [!warning]
>>
>> > Tenga en cuenta que si el tipo de volumen "high-speed-gen2" o "luks" no aparece en la lista, significa que no está disponible en esta región.
>>
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> Para asociar este volumen a una instancia, en la línea de su volumen, haga clic en la flecha situada al final de la línea, junto a `Edit Volume`. Haga clic en `Manage Attachments`{.action}
>>
>> ![Asociar un volumen de almacenamiento de bloques a una instancia](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Seleccione la instancia a la que quiere asociar el volumen y haga clic en `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **A través de la CLI OpenStack**
>> > [!warning]
>>
>> > Tenga en cuenta que si el tipo de volumen "high-speed-gen2" o "luks" no aparece en la lista, significa que no está disponible en esta región.
>>
>>
>> Tipos de volúmenes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> Los tipos que terminan en -luks están cifrados (LUKS).
>>
>> Enumere los tipos de volúmenes disponibles en la región:
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> Cree un volumen especificando al menos su tamaño (en GB) y un tipo de los enumerados anteriormente. También puede introducir un nombre para el volumen al final del pedido.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> ```
>>
>> Para asociar un volumen a una instancia disponible en la región, utilice el siguiente comando:
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>
### Configuración del nuevo disco
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'Crear y configurar un disco adicional en una instancia'
excerpt: 'Cómo asociar un nuevo volumen a una instancia de Public Cloud'
updated: 2025-06-03
updated: 2025-06-27
---

<style>
@@ -46,7 +46,7 @@ Esto puede ser útil en los siguientes casos:

### Los diferentes tipos de volúmenes

OVHcloud ofrece tres tipos de volúmenes Block Storage, cada uno de ellos adaptado a las necesidades específicas en materia de rendimiento, capacidad y costes. Estas soluciones permiten asociar volúmenes de almacenamiento persistentes a sus instancias, garantizando un alto nivel de fiabilidad y disponibilidad.
OVHcloud ofrece tres tipos de volúmenes Block Storage, cada uno de ellos adaptado a las necesidades específicas en materia de rendimiento, capacidad y costes. Estas soluciones permiten asociar volúmenes de almacenamiento persistentes a sus instancias, garantizando un alto nivel de fiabilidad y disponibilidad. Si la funcionalidad está disponible, el cifrado se puede habilitar al crear un volumen para todos los tipos de volúmenes excepto los volúmenes Classic Multi-Attach en las regiones 3AZ.

/// details | **Classic - 500 IOPS garantizadas**

@@ -56,7 +56,7 @@ El volumen Classic es una solución de almacenamiento fiable y rentable, ideal p
- Almacenamiento de bases de datos de tamaño pequeño a mediano
- Backup y archivado de datos

En las regiones 3AZ, los volúmenes Classic son servicios regionales que utilizan un Erasure Coding distribuido entre varias zonas de disponibilidad. Esto garantiza la disponibilidad de los datos sin impacto ni interrupción en caso de fallo de una zona, siempre que se cumplan los requisitos de la arquitectura resiliente con conexión múltiple. Para más información, consulte nuestra guía "[Proper Usage and Limitations of Classic Multi-Attach Block Storage in 3AZ Regions](/pages/public_cloud/compute/classic_block_multi_az_limitations)".
En las regiones 3AZ, los volúmenes Classic son servicios regionales que utilizan un Erasure Coding distribuido entre varias zonas de disponibilidad. Esto garantiza la disponibilidad de los datos sin impacto ni interrupción en caso de fallo de una zona, siempre que se cumplan los requisitos de la arquitectura resiliente con conexión múltiple. Para más información, consulte nuestra guía "[Uso correcto y limitaciones del almacenamiento Classic Multi-Attach en las regiones 3AZ](/pages/public_cloud/compute/classic_block_multi_az_limitations)".

///

@@ -72,89 +72,109 @@ El volumen High-Speed está diseñado para aplicaciones que requieren un acceso

/// details | **High-Speed Gen2 - 30 IOPS/GB y hasta 20.000 IOPS**

La generación 2 de los volúmenes High-Speed está optimizada para las cargas de trabajo más exigentes. Con un rendimiento de 30 IOPS/GB, hasta 20.000 IOPS, este tipo de volumen se recomienda para:
La generación 2 de los volúmenes High-Speed está optimizada para las cargas de trabajo más exigentes. Con un rendimiento de 30 IOPS/GB, hasta 20.000 IOPS, este tipo de volumen se recomienda para los siguientes usos:

- Big Data y análisis en tiempo real
- Inteligencia artificial y Machine Learning
- Procesamiento de grandes bases de datos y almacenamiento de altas prestaciones

///

![tipos_de_volumenes](images/volume-types.png){.thumbnail}
![volumes_types](images/volume-types.png){.thumbnail}

> [!primary]
>
> Cada tipo de volumen también está disponible en versión cifrada (LUKS). Estos volúmenes garantizan la confidencialidad de los datos sin que ello afecte al rendimiento. Están disponibles en el área de cliente de OVHcloud y con las herramientas que se describen en la siguiente sección, especificando el tipo `<volume_type>-luks`.
>
### Asociar un nuevo volumen

> [!tabs]
> **Desde el área de cliente de OVHcloud**
>>
>> Conéctese al [área de cliente de OVHcloud](/links/manager), acceda a la sección `Public Cloud`{.action} y seleccione el proyecto de Public Cloud correspondiente. A continuación, abra `Block Storage`{.action} en el menú de la izquierda bajo **Backup Storage**.
>> Conéctese a su [área de cliente de OVHcloud](/links/manager), acceda a la sección `Public Cloud`{.action} y seleccione el proyecto de Public Cloud correspondiente. A continuación, abra `Block Storage`{.action} en el menú de la izquierda, en **Storage & Backup**.
>>
>> En esta sección, haga clic en el botón `Crear un volumen`{.action}.
>>
>> ![seleccionar proyecto](images/avolume01.png){.thumbnail}
>>
>> Siga los pasos de configuración para seleccionar las opciones de ubicación, tipo de disco, cifrado y capacidad de disco. Introduzca un nombre para el volumen y acepte haciendo clic en `Crear el volumen`{.action}.
>>
>> > [!warning]
>> >
>> > Nota: El volumen debe crearse en la misma región que la instancia a la que desea asociarlo. Si lo crea en otra región, puede eliminarlo y volver a crearlo en la región correcta o puede migrar la región siguiendo [esta guía](/pages/public_cloud/compute/transfer_volume_backup_from_one_datacentre_to_another).
>> >
>>
>> ![Seleccionar el proyecto Public Cloud](images/avolume01.png){.thumbnail}
>> > Nota: El volumen debe crearse en la misma región que la instancia a la que desea asociarlo. Si lo crea en otra región, puede eliminarlo y volver a crearlo en la región correcta o puede migrar la región siguiendo [esta guía](/pages/public_cloud/compute/transfer_volume_backup_from_one_datacentre_to_another).
>>
>> Siga los pasos de configuración para seleccionar las opciones de ubicación, tipo de disco y capacidad de disco. Introduzca un nombre para el volumen y haga clic en `Crear el volumen`{.action}.
>>
>> ![create disk](images/avolume02.png){.thumbnail}
>>
>> El nuevo disco se mostrará en el área de cliente.
>> El nuevo disco aparecerá en el área de cliente.
>>
>> ![configure disk](images/avolume03.png){.thumbnail}
>>
>> A la derecha del volumen, haga clic en el botón `...`{.action} y seleccione `Asociar a la instancia`{.action}.
>>
>> ![attach disk 01](images/avolume04.png){.thumbnail}
>>
>> En la nueva ventana, seleccione una instancia de la lista y haga clic en `Confirmar`{.action} para asociar el disco.
>> En la ventana que aparece, seleccione una instancia de la lista y haga clic en `Confirmar`{.action} para asociar el disco.
>>
>> ![attach disk 02](images/avolume05.png){.thumbnail}
>>
>> El proceso de asociar el disco a su instancia comenzará. La operación puede tardar unos minutos.
>>
>> > [!warning]
>> >
>> > No abandone la página actual del área de cliente de OVHcloud cuando se esté conectando el disco. Esto podría interrumpir el proceso.
>> >
>> > Recuerde no abandonar la página actual del área de cliente de OVHcloud mientras el disco está conectado. Esto podría interrumpir el proceso.
>>
>>
> **Via Terraform**
>> > [!warning]
>>
>> > Tenga en cuenta que los tipos de volumen "high-speed-gen2" o "luks" pueden no estar disponibles en todas las regiones.
>>
>>
>> Tipos de volúmenes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> Los tipos que terminan en -luks están cifrados (LUKS).
>>
>> Para crear un volumen block storage simple, necesita 3 elementos:
>>
>> * El nombre del volumen
>> * La región
>> * El tamaño del volumen en GB
>> - Nombre del volumen
>> - La región
>> - El tamaño del volumen en GB
>>
>> En nuestro ejemplo, vamos a crear un block storage en la región **GRA11** con un tamaño de **10 GB**. Agregue las siguientes líneas a un archivo denominado *simple_blockstorage.tf*:
>>
>> ```python
>> # Creación de un volumen block storage
>> # Creation of a block storage volume
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
>> name = "terraform_blockstorage" # Nombre del volumen block storage
>> size = 10 # Tamaño del volumen
>> region = "GRA11" # Región o volumen que se va a crear
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> }
>> ```
>>
>> A continuación, vamos a asociarlo a la instancia de destino.
>>
>> > [!warning]
>> > La instancia y el volumen deben estar en la misma región.
>> >
>>
>>
>> Agregue las siguientes líneas debajo de las anteriores:
>>
>> ```python
>> # Asociar el volumen a la instancia
>> # Attach the volume to the instance
>> resource "openstack_compute_volume_attach_v2" "volume_attach" {
>> instance_id = "<su_instance_id>"
>> instance_id = "<your_instance_id>"
>> volume_id = openstack_blockstorage_volume_v3.terraform_volume.id
>> }
>> ```
>>
>>
>> Puede crear su volumen de tipo block storage y asociarlo a la instancia deseada introduciendo el siguiente comando:
>>
>> ```console
@@ -179,7 +199,7 @@ La generación 2 de los volúmenes High-Speed está optimizada para las cargas d
>> + name = "terraform_blockstorage"
>> + region = "GRA11"
>> + size = 10
>> + volume_type = (known after apply)
>> + volume_type = "high-speed-gen2"
>> }
>>
>> # openstack_compute_volume_attach_v2.volume_attach will be created
@@ -208,6 +228,74 @@ La generación 2 de los volúmenes High-Speed está optimizada para las cargas d
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **A través de Horizon**
>> Acceda a la sección desplegable `Volumes`{.action}, haga clic en `Volumes`{.action} y luego en `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> Introduzca el campo `Volume Name`{.action} y seleccione el tipo de volumen que desee. A continuación, haga clic en `Create Volume`{.action}.
>>
>> > [!warning]
>>
>> > Tenga en cuenta que si el tipo de volumen "high-speed-gen2" o "luks" no aparece en la lista, significa que no está disponible en esta región.
>>
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> Para asociar este volumen a una instancia, en la línea de su volumen, haga clic en la flecha situada al final de la línea, junto a `Edit Volume`. Haga clic en `Manage Attachments`{.action}
>>
>> ![Asociar un volumen de almacenamiento de bloques a una instancia](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Seleccione la instancia a la que quiere asociar el volumen y haga clic en `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **A través de la CLI OpenStack**
>> > [!warning]
>>
>> > Tenga en cuenta que si el tipo de volumen "high-speed-gen2" o "luks" no aparece en la lista, significa que no está disponible en esta región.
>>
>>
>> Tipos de volúmenes:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> Los tipos que terminan en -luks están cifrados (LUKS).
>>
>> Enumere los tipos de volúmenes disponibles en la región:
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> Cree un volumen especificando al menos su tamaño (en GB) y un tipo de los enumerados anteriormente. También puede introducir un nombre para el volumen al final del pedido.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> ```
>>
>> Para asociar un volumen a una instancia disponible en la región, utilice el siguiente comando:
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>
### Configuración del nuevo disco
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Créer et configurer un disque supplementaire sur une instance
excerpt: Découvrez comment attacher un nouveau volume à votre instance Public Cloud
updated: 2025-06-03
updated: 2025-06-27
---

<style>
@@ -46,7 +46,7 @@ Cela peut être utile dans les cas suivants :

### Les différents types de volumes

OVHcloud propose trois types de volumes Block Storage, chacun adapté à des besoins spécifiques en matière de performance, de capacité et de coûts. Ces solutions vous permettent d’attacher des volumes de stockage persistants à vos instances, en garantissant un haut niveau de fiabilité et de disponibilité.
OVHcloud propose trois types de volumes Block Storage, chacun adapté à des besoins spécifiques en matière de performance, de capacité et de coûts. Ces solutions vous permettent d’attacher des volumes de stockage persistants à vos instances, en garantissant un haut niveau de fiabilité et de disponibilité. Si la fonctionnalité est disponible, le chiffrement peut être activé à la création d'un volume, pour tous les types de volumes à l'exception des volumes Classic Multi-Attach dans les régions 3AZ.

/// details | **Classic – 500 IOPS garantis**

@@ -82,6 +82,11 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p

![volumes_types](images/volume-types.png){.thumbnail}

> [!primary]
>
> Chaque type de volume est également disponible en version chiffrée (**LUKS**). Ces volumes assurent la confidentialité des données sans impact sur les performances. Ils sont disponibles depuis l'espace client OVHcloud ainsi qu’avec les outils présentés dans la section suivante, en spécifiant le type `<volume_type>-luks`.
>
### Attacher un nouveau volume

> [!tabs]
@@ -92,7 +97,7 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p
>>
>> ![sélectionner le projet](images/avolume01.png){.thumbnail}
>>
>> Suivez les étapes de configuration afin de sélectionner les options d'emplacement, de type de disque et de capacité de disque. Renseignez un nom pour le volume et validez en cliquant sur `Créer le volume`{.action}.
>> Suivez les étapes de configuration afin de sélectionner les options d'emplacement, de type de disque, de chiffrement et de capacité de disque. Renseignez un nom pour le volume et validez en cliquant sur `Créer le volume`{.action}.
>>
>> > [!warning]
>> >
@@ -120,11 +125,27 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p
>> >
>>
> **Via Terraform**
>> > [!warning]
>> >
>> > Veuillez noter que les types de volume « high-speed-gen2 » ou « luks » peuvent ne pas être disponibles dans toutes les régions.
>> >
>>
>> Types de volumes :
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> Les types se terminant par -luks sont chiffrés (LUKS).
>>
>> Pour créer un volume block storage simple, vous avez besoin de 3 éléments :
>>
>> * Le nom du volume
>> * La région
>> * La taille du volume en GB
>> - Le nom du volume
>> - La région
>> - La taille du volume en GB
>>
>> Dans notre exemple, nous allons créer un block storage dans la région **GRA11** d'une taille de **10 GB**. Ajoutez les lignes suivantes dans un fichier nommé *simple_blockstorage.tf* :
>>
@@ -134,6 +155,7 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p
>> name = "terraform_blockstorage" # Nom du volume block storage
>> size = 10 # Taille du volume
>> region = "GRA11" # Région ou le volume doit être crée
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 ou équivalent `-luks`
>> }
>> ```
>>
@@ -177,7 +199,7 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p
>> + name = "terraform_blockstorage"
>> + region = "GRA11"
>> + size = 10
>> + volume_type = (known after apply)
>> + volume_type = "high-speed-gen2"
>> }
>>
>> # openstack_compute_volume_attach_v2.volume_attach will be created
@@ -206,6 +228,74 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **Via l'interface Horizon**
>> Rendez-vous dans la section déroulante `Volumes`{.action}, cliquez sur `Volumes`{.action} puis sur `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> Renseignez le champ `Volume Name`{.action} et sélectionnez le type de volume que vous souhaitez. Cliquez ensuite sur `Create Volume`{.action}.
>>
>> > [!warning]
>> >
>> > Veuillez noter que si le type de volume « high-speed-gen2 » ou « luks » n'apparaît pas dans la liste, cela signifie qu'il n'est pas disponible dans cette région.
>> >
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> Pour attacher ce volume à une instance, sur la ligne de votre volume, cliquez sur `la flèche`{.action} se trouvant en bout de ligne à côté de `Edit Volume`{.action}. Cliquez alors sur `Manage Attachments`{.action}
>>
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Selectionnez l'instance à laquelle vous souhaitez attacher votre volume, puis cliquez sur `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **Via la CLI OpenStack**
>> > [!warning]
>> >
>> > Veuillez noter que si le type de volume « high-speed-gen2 » ou « luks » n'apparaît pas dans la liste, cela signifie qu'il n'est pas disponible dans cette région.
>> >
>>
>> Types de volumes :
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> Les types se terminant par -luks sont chiffrés (LUKS).
>>
>> Listez les types de volumes disponibles dans la région :
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> Créez un volume en spécifiant au minimum sa taille (en GB) ainsi qu’un type parmi ceux listés précédemment. Vous pouvez également indiquer un nom pour votre volume à la fin de la commande.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 ou équivalent `-luks`
>> ```
>>
>> Pour attacher un volume à une instance disponible dans la région, utilisez la commande suivante :
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>
### Configuration du nouveau disque
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Créer et configurer un disque supplementaire sur une instance
excerpt: Découvrez comment attacher un nouveau volume à votre instance Public Cloud
updated: 2025-06-03
updated: 2025-06-27
---

<style>
@@ -46,7 +46,7 @@ Cela peut être utile dans les cas suivants :

### Les différents types de volumes

OVHcloud propose trois types de volumes Block Storage, chacun adapté à des besoins spécifiques en matière de performance, de capacité et de coûts. Ces solutions vous permettent d’attacher des volumes de stockage persistants à vos instances, en garantissant un haut niveau de fiabilité et de disponibilité.
OVHcloud propose trois types de volumes Block Storage, chacun adapté à des besoins spécifiques en matière de performance, de capacité et de coûts. Ces solutions vous permettent d’attacher des volumes de stockage persistants à vos instances, en garantissant un haut niveau de fiabilité et de disponibilité. Si la fonctionnalité est disponible, le chiffrement peut être activé à la création d'un volume, pour tous les types de volumes à l'exception des volumes Classic Multi-Attach dans les régions 3AZ.

/// details | **Classic – 500 IOPS garantis**

@@ -82,6 +82,11 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p

![volumes_types](images/volume-types.png){.thumbnail}

> [!primary]
>
> Chaque type de volume est également disponible en version chiffrée (**LUKS**). Ces volumes assurent la confidentialité des données sans impact sur les performances. Ils sont disponibles depuis l'espace client OVHcloud ainsi qu’avec les outils présentés dans la section suivante, en spécifiant le type `<volume_type>-luks`.
>
### Attacher un nouveau volume

> [!tabs]
@@ -92,7 +97,7 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p
>>
>> ![sélectionner le projet](images/avolume01.png){.thumbnail}
>>
>> Suivez les étapes de configuration afin de sélectionner les options d'emplacement, de type de disque et de capacité de disque. Renseignez un nom pour le volume et validez en cliquant sur `Créer le volume`{.action}.
>> Suivez les étapes de configuration afin de sélectionner les options d'emplacement, de type de disque, de chiffrement et de capacité de disque. Renseignez un nom pour le volume et validez en cliquant sur `Créer le volume`{.action}.
>>
>> > [!warning]
>> >
@@ -120,11 +125,27 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p
>> >
>>
> **Via Terraform**
>> > [!warning]
>> >
>> > Veuillez noter que les types de volume « high-speed-gen2 » ou « luks » peuvent ne pas être disponibles dans toutes les régions.
>> >
>>
>> Types de volumes :
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> Les types se terminant par -luks sont chiffrés (LUKS).
>>
>> Pour créer un volume block storage simple, vous avez besoin de 3 éléments :
>>
>> * Le nom du volume
>> * La région
>> * La taille du volume en GB
>> - Le nom du volume
>> - La région
>> - La taille du volume en GB
>>
>> Dans notre exemple, nous allons créer un block storage dans la région **GRA11** d'une taille de **10 GB**. Ajoutez les lignes suivantes dans un fichier nommé *simple_blockstorage.tf* :
>>
@@ -134,6 +155,7 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p
>> name = "terraform_blockstorage" # Nom du volume block storage
>> size = 10 # Taille du volume
>> region = "GRA11" # Région ou le volume doit être crée
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 ou équivalent `-luks`
>> }
>> ```
>>
@@ -177,7 +199,7 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p
>> + name = "terraform_blockstorage"
>> + region = "GRA11"
>> + size = 10
>> + volume_type = (known after apply)
>> + volume_type = "high-speed-gen2"
>> }
>>
>> # openstack_compute_volume_attach_v2.volume_attach will be created
@@ -206,6 +228,74 @@ La génération 2 des volumes High-Speed est optimisée pour les workloads les p
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **Via l'interface Horizon**
>> Rendez-vous dans la section déroulante `Volumes`{.action}, cliquez sur `Volumes`{.action} puis sur `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> Renseignez le champ `Volume Name`{.action} et sélectionnez le type de volume que vous souhaitez. Cliquez ensuite sur `Create Volume`{.action}.
>>
>> > [!warning]
>> >
>> > Veuillez noter que si le type de volume « high-speed-gen2 » ou « luks » n'apparaît pas dans la liste, cela signifie qu'il n'est pas disponible dans cette région.
>> >
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> Pour attacher ce volume à une instance, sur la ligne de votre volume, cliquez sur `la flèche`{.action} se trouvant en bout de ligne à côté de `Edit Volume`{.action}. Cliquez alors sur `Manage Attachments`{.action}
>>
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Selectionnez l'instance à laquelle vous souhaitez attacher votre volume, puis cliquez sur `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **Via la CLI OpenStack**
>> > [!warning]
>> >
>> > Veuillez noter que si le type de volume « high-speed-gen2 » ou « luks » n'apparaît pas dans la liste, cela signifie qu'il n'est pas disponible dans cette région.
>> >
>>
>> Types de volumes :
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> Les types se terminant par -luks sont chiffrés (LUKS).
>>
>> Listez les types de volumes disponibles dans la région :
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> Créez un volume en spécifiant au minimum sa taille (en GB) ainsi qu’un type parmi ceux listés précédemment. Vous pouvez également indiquer un nom pour votre volume à la fin de la commande.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 ou équivalent `-luks`
>> ```
>>
>> Pour attacher un volume à une instance disponible dans la région, utilisez la commande suivante :
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>
### Configuration du nouveau disque
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'Crea e configura un disco aggiuntivo sulla tua istanza'
excerpt: 'Come associare un nuovo volume alla tua istanza Public Cloud'
updated: 2025-06-03
updated: 2025-06-27
---

<style>
@@ -46,7 +46,7 @@ Ciò può essere utile nei seguenti casi:

### I diversi tipi di volumi

OVHcloud propone tre tipi di volumi Block Storage, ognuno dei quali risponde a esigenze specifiche in termini di performance, capacità e costi. Queste soluzioni ti permettono di associare volumi di storage persistenti alle tue istanze, garantendo un alto livello di affidabilità e disponibilità.
OVHcloud propone tre tipi di volumi Block Storage, ognuno dei quali risponde a esigenze specifiche in termini di performance, capacità e costi. Queste soluzioni ti permettono di associare volumi di storage persistenti alle tue istanze, garantendo un alto livello di affidabilità e disponibilità. Se la funzionalità è disponibile, è possibile attivare la crittografia durante la creazione di un volume per tutti i tipi di volume, ad eccezione dei volumi Classic Multi-Attach nelle aree 3AZ.

/// details | **Classic - 500 IOPS garantiti**

@@ -56,85 +56,107 @@ Il volume Classic è una soluzione di storage affidabile ed economica, ideale pe
- Storage di database di piccole e medie dimensioni
- Backup e archiviazione dei dati

Nelle aree 3AZ, i volumi Classic sono servizi locali che utilizzano un Erasure Coding distribuito tra più zone di disponibilità. In questo modo è garantita la disponibilità dei dati senza impatto né interruzioni in caso di guasto di una zona, a condizione che siano rispettati i requisiti dell'architettura resiliente con collegamento multiplo. Per maggiori informazioni, consulta la nostra guida "[Proper Usage and Limitations of Classic Multi-Attach Block Storage in 3AZ Regions](/pages/public_cloud/compute/classic_block_multi_az_limitations)".
Nelle aree 3AZ, i volumi Classic sono servizi locali che utilizzano un Erasure Coding distribuito tra più zone di disponibilità. In questo modo è garantita la disponibilità dei dati senza impatto né interruzioni in caso di guasto di una zona, a condizione che siano rispettati i requisiti dell'architettura resiliente con collegamento multiplo. Per maggiori informazioni, consulta la nostra guida "[Utilizzo corretto e limitazioni dello storage Classic Multi-Attach nelle Region 3AZ](/pages/public_cloud/compute/classic_block_multi_az_limitations)".

///

/// details | **High Speed - Fino a 3000 IOPS**

Il volume High-Speed è progettato per applicazioni che richiedono un accesso più rapido ai dati. Con prestazioni fino a 3000 IOPS, l'ideale per i seguenti utilizzi:

- Database transazionali (MySQL, PostgreSQL, ecc...)
- Database transazionali (MySQL, PostgreSQL, ecc.)
- Ambienti di virtualizzazione e container
- Applicazioni che richiedono latenza ridotta e throughput elevato

///

/// details | **High-Speed Gen2 - 30 IOPS/GB e fino a 20.000 IOPS**

La generazione 2 dei volumi High Speed è ottimizzata per i workload più esigenti. Con prestazioni di 30 IOPS/GB, fino a 20.000 IOPS, questo tipo di volume è consigliato per:
La generazione 2 dei volumi High Speed è ottimizzata per i workload più esigenti. Con una performance di 30 IOPS/GB, fino a 20.000 IOPS, questo tipo di volume è consigliato per i seguenti utilizzi:

- Big Data e analisi in tempo reale
- Intelligenza artificiale e Machine Learning
- Elaborazione di grandi database e storage ad alte prestazioni

///

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

> [!primary]
>
> Ogni tipo di volume è disponibile anche in versione cifrata (**LUKS**). Questi volumi garantiscono la confidenzialità dei dati senza impatto sulle performance. Sono disponibili nello Spazio Cliente OVHcloud e con gli strumenti indicati nella sezione seguente, specificando il tipo `<volume_type>-luks`.
>
### Associa un nuovo volume

> [!tabs]
> **Dallo Spazio Cliente OVHcloud**
>> Accedi allo [Spazio Cliente OVHcloud](/links/manager), accedi alla sezione `Public Cloud`{.action} e seleziona il tuo progetto. Poi apri `Block Storage`{.action} nel menu a sinistra sotto **Storage e Backup**.
>>
>> In questa sezione clicca sul pulsante `Crea un volume`{.action}.
>> Accedi allo [Spazio Cliente OVHcloud](/links/manager), clicca su `Public Cloud`{.action} e seleziona il progetto Public Cloud interessato. Apri poi `Block Storage`{.action} nel menu a sinistra sotto **Storage & Backup**.
>>
>> > [!warning]
>> >
>> > Nota: il volume deve essere creato nella stessa regione dell'istanza a cui si desidera associarlo. Se lo crei in un'altra regione, puoi eliminarlo e ricrearlo nella regione corretta, oppure puoi migrare la regione seguendo [questa guida](/pages/public_cloud/compute/transfer_volume_backup_from_one_datacentre_to_another).
>> >
>> In questa sezione, clicca sul pulsante `Crea un volume`{.action}.
>>
>> ![seleziona il progetto](images/avolume01.png){.thumbnail}
>>
>> Segui gli step di configurazione per selezionare le opzioni di posizione, tipo di disco e capacità di disco. Inserisci un nome per il volume e conferma cliccando su `Crea il volume`{.action}.
>> Seguire i passaggi di configurazione per selezionare le opzioni relative a posizione, tipo, crittografia e capacità del disco. Inserisci un nome per il volume e conferma cliccando su `Crea il volume`{.action}.
>>
>> > [!warning]
>> >
>> > Nota: il volume deve essere creato nella stessa regione dell'istanza a cui si desidera associarlo. Se lo crei in un'altra Region, puoi eliminarlo e ricrearlo nella Region corretta, oppure puoi migrare la Region seguendo [questa guida](/pages/public_cloud/compute/transfer_volume_backup_from_one_datacentre_to_another).
>> >
>>
>> ![create disk](images/avolume02.png){.thumbnail}
>>
>> Il nuovo disco verrà visualizzato nello Spazio Cliente OVHcloud.
>> Il nuovo disco verrà visualizzato nello Spazio Cliente.
>>
>> ![configura disk](images/avolume03.png){.thumbnail}
>> ![configure disk](images/avolume03.png){.thumbnail}
>>
>> A destra del volume, clicca sul pulsante `...`{.action} poi seleziona `Associa all'istanza`{.action}.
>> A destra del volume, clicca sul pulsante `...`{.action} e seleziona `Associa allistanza`{.action}.
>>
>> ![attach disk 01](images/avolume04.png){.thumbnail}
>>
>> Nella nuova finestra, seleziona un'istanza dalla lista e clicca su `Conferma`{.action} per associare il disco.
>> Nella nuova finestra, seleziona unistanza dalla lista e clicca su `Conferma`{.action} per associare il disco.
>>
>> ![attach disk 02](images/avolume05.png){.thumbnail}
>>
>> Il processo di associazione del disco all'istanza sta per iniziare. L'operazione potrebbe richiedere alcuni minuti.
>>
>> > [!warning]
>> >
>> > Quando il disco è in corso di connessione, assicurati di non lasciare la pagina attuale del tuo Spazio Cliente OVHcloud. Ciò potrebbe interrompere il processo.
>> > Ricordati di non uscire dalla pagina corrente dello Spazio Cliente OVHcloud mentre il disco è in corso di connessione. Questo potrebbe interrompere il processo.
>> >
>>
> **Via Terraform**
>> > [!warning]
>> >
>> > Ti ricordiamo che i tipi di volume "high-speed-gen2" o "luks" potrebbero non essere disponibili in tutte le regioni.
>> >
>>
>> Tipi di volumi:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> I tipi che terminano con -luks sono crittografati (LUKS).
>>
>> Per creare un volume block storage semplice, sono necessari 3 elementi:
>>
>> * Il nome del volume
>> * Regione
>> * Dimensione del volume in GB
>> - Il nome del volume
>> - Regione
>> - Dimensione del volume in GB
>>
>> Nel nostro esempio, creeremo un block storage nella Region **GRA11** con una dimensione di **10 GB**. Aggiungere le righe seguenti a un file denominato *simple_blockstorage.tf*:
>>
>> ```python
>> # Creazione di un volume block storage
>> risorsa "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
>> name = "terraform_blockstorage" # Nome del volume block storage
>> size = 10 # Dimensione del volume
>> Region = "GRA11" # Region in cui deve essere creato il volume
>> # Creation of a block storage volume
>> resource "openstack_blockstorage_volume_v3" "terraform_blockstorage" {
>> name = "terraform_blockstorage" # Name of the block storage volume
>> size = 10 # Volume size
>> region = "GRA11" # Region where the volume must be created
>> volume_type = "volume_type" # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> }
>> ```
>>
@@ -147,9 +169,9 @@ La generazione 2 dei volumi High Speed è ottimizzata per i workload più esigen
>> Aggiungere le seguenti righe sotto le righe precedenti:
>>
>> ```python
>> # Associa il volume all'istanza
>> # Attach the volume to the instance
>> resource "openstack_compute_volume_attach_v2" "volume_attach" {
>> instance_id = "<tua_istanza_id>"
>> instance_id = "<your_instance_id>"
>> volume_id = openstack_blockstorage_volume_v3.terraform_volume.id
>> }
>> ```
@@ -178,7 +200,7 @@ La generazione 2 dei volumi High Speed è ottimizzata per i workload più esigen
>> + name = "terraform_blockstorage"
>> + region = "GRA11"
>> + size = 10
>> + volume_type = (known after apply)
>> + volume_type = "high-speed-gen2"
>> }
>>
>> # openstack_compute_volume_attach_v2.volume_attach will be created
@@ -207,6 +229,74 @@ La generazione 2 dei volumi High Speed è ottimizzata per i workload più esigen
>>
>> Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
>> ```
>>
> **Tramite l'interfaccia Horizon**
>> Accedi alla sezione a tendina `Volumes`{.action}, clicca su `Volumes`{.action} e poi su `Create Volume`{.action}.
>>
>> ![create volume block storage](images/horizon_create_volume.png){.thumbnail}
>>
>> Inserisci il campo `Volume Name`{.action} e seleziona il tipo di volume che desideri. Clicca su `Create Volume`{.action}.
>>
>> > [!warning]
>> >
>> > Nota che se il tipo di volume high-speed-gen2 o luks non è presente nell'elenco, significa che non è disponibile in questa area.
>> >
>>
>> ![create volume block storage 02](images/horizon_create_volume_02.png){.thumbnail width="1000"}
>>
>> Per associare questo volume a un'istanza, sulla linea del volume, clicca su la freccia accanto a `Edit Volume`{.action}. Clicca su `Manage Attachments`{.action}
>>
>> ![Attach a block storage volume to an instance](images/horizon_manage_attachments.png){.thumbnail}
>>
>> Seleziona l’istanza a cui vuoi associare il tuo volume e clicca su `Attach Volume`{.action}.
>>
>> ![Attach a block storage volume to an instance 02](images/horizon_manage_attachments_display.png){.thumbnail}
>>
> **Tramite la CLI OpenStack**
>> > [!warning]
>> >
>> > Nota che se il tipo di volume "high-speed-gen2" o "luks" non è presente nell'elenco, significa che non è disponibile in questa area.
>> >
>>
>> Tipi di volumi:
>>
>> - Classic
>> - High-speed
>> - High-speed-gen2
>> - Classic-luks
>> - High-speed-luks
>> - High-speed-gen2-luks
>>
>> I tipi che terminano con -luks sono crittografati (LUKS).
>>
>> Elencare i tipi di volumi disponibili nell'area:
>>
>> ```bash
>> openstack volume type list
>> ```
>>
>> Create un volume specificandone almeno le dimensioni (in GB) e un tipo tra quelli elencati in precedenza. È inoltre possibile specificare un nome per il volume al termine dell'ordine.
>>
>> ```bash
>> openstack volume create --size 1 --type high-speed-gen2 volumeName # classic, high-speed, high-speed-gen2 or equivalent `-luks`
>> ```
>>
>> Per associare un volume a un'istanza disponibile nella Region, esegui il comando:
>>
>> ```bash
>> openstack server add volume <server-id|server-name> <volume-id|volume-name>
>>
>> +-----------+-------------------------------------+
>> | Field | Value |
>> +-----------+-------------------------------------+
>> | ID | 7d3d670f- ****-****-****-60dd1e6**** |
>> | Server ID | 74317f97-****-****-80cf2d4**** |
>> | Volume ID | 7d3d670f-****-****-****-60dd1e6**** |
>> | Device | /dev/sdb |
>> | Tag | None |
>> +-----------+-------------------------------------+
>> ```
>>
### Configurazione del nuovo disco
Loading