diff --git a/pages/public_cloud/compute/switch_volume_type/guide.en-gb.md b/pages/public_cloud/compute/switch_volume_type/guide.en-gb.md index 184b64e4c85..a0883302e83 100644 --- a/pages/public_cloud/compute/switch_volume_type/guide.en-gb.md +++ b/pages/public_cloud/compute/switch_volume_type/guide.en-gb.md @@ -1,12 +1,12 @@ --- title: Change your block storage volume type excerpt: Find out how to change your volume type using Openstack -updated: 2024-09-26 +updated: 2025-06-17 --- ## Objective -The purpose of this guide is to show you how to change a block storage volume type from Classic or High speed to High speed gen2. +The aim of this guide is to show you how to change a Block Storage volume type, from Classic or High speed to High speed gen2 or even to a `luks` (encrypted) version of your storage. ## Requirements @@ -15,61 +15,104 @@ The purpose of this guide is to show you how to change a block storage volume ty ## Instructions -When trying to change a block storage volume type to a "High speed gen2" one, the migration policy will need to be changed from `Never` to `On-demand`. - -The migration policy is set by default to `Never` as the volume stays on the same CEPH cluster. However, for the "High speed gen2" type, the volume will need to be migrated to a new cluster. - -This modification can be made via Horizon or the Openstack CLI. - -> [!warning] -> If the block storage volume is attached to an Instance, you must first detach it before proceeding. For more information, consult [this section](/pages/public_cloud/compute/create_and_configure_an_additional_disk_on_an_instance#detach-a-volume) of the corresponding guide. +> [!primary] +> +> In addition to the Classic, High speed and Highs speed gen2 volumes, three new rest-encrypted versions are now available: +> +> - classic-luks +> - high-speed-luks +> - high-speed-gen2-luks > -### From the Horizon Interface - -Log in to the [Horizon interface](https://horizon.cloud.ovh.net/auth/login/) and make sure you are in the correct region. You can verify this on the top left corner. +### Why choose an encrypted volume? -![Region selection](images/region2021.png){.thumbnail} +Block Storage volumes in the `-luks` (encrypted) version offer the same level of performance as their unencrypted equivalents, with OVHcloud's built-in encryption of data at rest. -Next, click on the `Volumes`{.action} menu on the left side and click on `Volumes`{.action}. -Click on the drop-down arrow next to `Edit Volume`{.action} and select `Change Volume Type`{.action}. +Main use cases: -![Option selection](images/selectoption.png){.thumbnail} +- **Sensitive data:** projects containing personal, financial, medical or confidential information. +- **Regulatory requirements:** compliance with standards such as : + - RGPD (General Data Protection Regulation) + - ISO 27001, HIPAA, SOC 2, etc. +- **Critical environments:** + - Banking systems + - Healthcare data + - Business applications with security constraints -In the pop-up window, click on the drop-down menu underneath `Type` and select `high-speed-gen-2`{.action}. Next, click on the drop-down arrow underneath `Migration Policy`, and select `On Demand`{.action}. -Once done, click on `Change Volume Type`{.action} to confirm the change. +Encryption operating principle : -![Option selection](images/changevolume.png){.thumbnail} +- Encryption is automatic and transparent: no client-side configuration is required. +- Keys are managed by OVHcloud, in a secure system. +- Encryption has no impact on volume performance. -### From the OpenStack CLI +> [!primary] +> +> Opting for an encrypted version allows you to reinforce security without modifying your architecture or processes. +> -Make sure to consult the following guide before proceeding: +### Modify a Block Storage volume -- [Preparing an environment for using the OpenStack API](/pages/public_cloud/public_cloud_cross_functional/prepare_the_environment_for_using_the_openstack_api). +When trying to change a block storage volume type to a "High speed gen2" one, the migration policy will need to be changed from `Never` to `On-demand`. -First, list the type of volumes available in your region with the following command: +The migration policy is set by default to `Never` as the volume stays on the same CEPH cluster. However, for the "High speed gen2" type, the volume will need to be migrated to a new cluster. -```bash -#~$ openstack image list -+--------------------------------------+-----------------------------------------------+----------+ -| ID | Name | Is Public | -+--------------------------------------+-----------------------------------------------+----------+ -| 27844ef7-1a9a-4944-be59-6e4eb19a71f6 | high-speed-gen2 | True | -| 23f75fef-d4f6-416a-a884-95aa3fd45695 | classic | True | -| 2f78e8af-93c9-4e5c-b177-83c4a7ec456a | high-speed | True | ----------------------------------------------------------------------------------------------------- -``` +This modification can be made via Horizon or the Openstack CLI. > [!warning] -> Please note that if the volume type "high-speed-gen2" does not appear in the list, this means that it is not available in this region. +> If the block storage volume is attached to an Instance, you must first detach it before proceeding. For more information, consult [this section](/pages/public_cloud/compute/create_and_configure_an_additional_disk_on_an_instance#detach-a-volume) of the corresponding guide. > -Next, switch volume types with the following command: +### From the Horizon Interface -```bash -$ openstack volume set --type high-speed-gen2 --retype-policy on-demand VOLUME_NAME_OR_ID -``` +> [!tabs] +> Via the Horizon interface +>> Log in to the [Horizon interface](https://horizon.cloud.ovh.net/auth/login/) and make sure you are in the correct region. You can verify this on the top left corner. +>> +>> ![Region selection](images/region2021.png){.thumbnail} +>> +>> Next, click on the `Volumes`{.action} menu on the left side and click on `Volumes`{.action}. +Click on the drop-down arrow next to `Edit Volume`{.action} and select `Change Volume Type`{.action}. +>> +>> ![Option selection](images/selectoption.png){.thumbnail} +>> +>> In the pop-up window, click on the drop-down menu underneath `Type` and select `high-speed-gen-2`{.action}. Next, click on the drop-down arrow underneath `Migration Policy`, and select `On Demand`{.action}. +>> +>> Once done, click on `Change Volume Type`{.action} to confirm the change. +>> +>> ![Option selection](images/changevolume.png){.thumbnail} +>> +> via the OpenStack CLI +>> Make sure to consult the following guide before proceeding: +>> +>> - [Preparing an environment for using the OpenStack API](/pages/public_cloud/public_cloud_cross_functional/prepare_the_environment_for_using_the_openstack_api). +>> +>> First, list the type of volumes available in your region with the following command: +>> +>> ```bash +>> #~$ openstack image list +>> +--------------------------------------+-----------------------------------------------+----------+ +>> | ID | Name | Is Public | +>> +--------------------------------------+-----------------------------------------------+----------+ +>> | 27844ef7-1a9a-4944-be59-6e4eb19a71f6 | high-speed-gen2 | True | +>> | 23f75fef-d4f6-416a-a884-95aa3fd45695 | classic | True | +>> | 2f78e8af-93c9-4e5c-b177-83c4a7ec456a | high-speed | True | +>> | bee392e6-1a9a-4944-be59-e62559be582e | high-speed-gen2-luks | True | +>> | 4d1a6718-d4f6-416a-4591-5048fcba6024 | classic-luks | True | +>> | 9facd26c-4a42-4e5c-b177-562ed6bf0de6 | high-speed-luks | True | +>> ---------------------------------------------------------------------------------------------------- +>> ``` +>> +>> > [!warning] +>> > Please note that if the volume type "high-speed-gen2" does not appear in the list, this means that it is not available in this region. +>> > +>> +>> Next, switch volume types with the following command: +>> +>> ```bash +>> $ openstack volume set --type high-speed-gen2 --retype-policy on-demand VOLUME_NAME_OR_ID +>> ``` +>> ## Go further diff --git a/pages/public_cloud/compute/switch_volume_type/guide.fr-fr.md b/pages/public_cloud/compute/switch_volume_type/guide.fr-fr.md index a826b80742f..bd106d52ef5 100644 --- a/pages/public_cloud/compute/switch_volume_type/guide.fr-fr.md +++ b/pages/public_cloud/compute/switch_volume_type/guide.fr-fr.md @@ -1,12 +1,12 @@ --- title: Modifier un Volume Block Storage excerpt: "Découvrez comment changer le type d'un volume block storage en utilisant Openstack" -updated: 2024-09-26 +updated: 2025-06-17 --- ## Objectif -L'objectif de ce guide est de vous montrer comment changer un type de volume Block Storage, de Classic ou High speed à High speed gen2. +L'objectif de ce guide est de vous montrer comment changer un type de volume Block Storage, de Classic ou High speed à High speed gen2 ou encore à un version `luks` (chiffrée) de votre storage. ## Prérequis @@ -15,62 +15,104 @@ L'objectif de ce guide est de vous montrer comment changer un type de volume Blo ## En pratique -Lors de la modification d'un type de volume Block Storage en un volume « High speed gen2 », la politique de migration doit être modifiée de `Never` à `On Demand`. - -Par défaut, la politque de migration est définie sur `Never` car le volume reste sur le même cluster CEPH. Cependant, pour le « High speed gen2 », le volume devra être migré vers un nouveau cluster. - -Cette modification peut être réalisée via Horizon ou via l’interface de ligne de commande OpenStack. - -> [!warning] -> Si le volume est attaché à une Instance, vous devez d'abord le détacher avant de continuer. Pour plus d'informations, consultez [cette section](/pages/public_cloud/compute/create_and_configure_an_additional_disk_on_an_instance#detacher-un-volume) du guide correspondant. +> [!primary] +> +> En complément des volumes Classic, High speed et Highs speed gen2, trois nouvelles versions chiffrées au repos sont désormais proposées : +> +> - classic-luks +> - high-speed-luks +> - high-speed-gen2-luks > -### Depuis l'interface Horizon - -Connectez-vous à l'[interface Horizon](https://horizon.cloud.ovh.net/auth/login/) et assurez-vous d'être dans la bonne région. Vous pouvez le vérifier en haut à gauche. - -![Sélection de région](images/region2021.png){.thumbnail} - -Cliquez sur le menu `Volumes`{.action} à gauche puis sur `Volumes`{.action}. +### Pourquoi choisir un volume chiffré ? -Cliquez sur la flèche déroulante à côté de `Edit Volume`{.action} et sélectionnez `Change Volume Type`{.action}. +Les volumes Block Storage en version `-luks` (chiffré) offrent le même niveau de performance que leurs équivalents non chiffrés, avec un chiffrement des données au repos intégré par OVHcloud. -![Choix de l'option](images/selectoption.png){.thumbnail} +Cas d’usage principaux : -Dans la fenêtre qui s'affiche, cliquez sur le menu déroulant sous `Type` et sélectionnez `high-speed-gen-2`{.action}. Cliquez ensuite sur la flèche déroulante sous `Migration Policy` et sélectionnez `On Demand`{.action}. +- **Données sensibles :** projets contenant des informations personnelles, financières, médicales ou confidentielles. +- **Exigences réglementaires :** conformité avec des standards comme : + - RGPD (Règlement Général sur la Protection des Données) + - ISO 27001, HIPAA, SOC 2, etc. +- **Environnements critiques :** + - Systèmes bancaires + - Données de santé + - Applications métiers avec contraintes de sécurité -Une fois ces actions effectuées, cliquez sur `Change Volume Type`{.action} pour valider le changement. +Principe de fonctionnement du chiffrement : -![Choix de l'option](images/changevolume.png){.thumbnail} +- Le chiffrement est automatique et transparent : aucune configuration n’est nécessaire côté client. +- Les clés sont gérées par OVHcloud, dans un système sécurisé. +- Le chiffrement n’impacte pas les performances du volume. -### Depuis la CLI OpenStack +> [!primary] +> +> Opter pour une version chiffrée permet de renforcer la sécurité sans modifier votre architecture ou vos processus. +> -Avant de commencer, consultez le guide suivant : +### Modifier un volume Block Storage -- [Préparer l’environnement pour utiliser l’API OpenStack](/pages/public_cloud/public_cloud_cross_functional/prepare_the_environment_for_using_the_openstack_api). +Lors de la modification d'un type de volume Block Storage en un volume « High speed gen2 », la politique de migration doit être modifiée de `Never` à `On Demand`. -Tout d'abord, listez les types de volumes disponibles dans votre région avec la commande suivante : +Par défaut, la politque de migration est définie sur `Never` car le volume reste sur le même cluster CEPH. Cependant, pour le « High speed gen2 », le volume devra être migré vers un nouveau cluster. -```bash -#~$ openstack image list -+--------------------------------------+-----------------------------------------------+----------+ -| ID | Name | Is Public | -+--------------------------------------+-----------------------------------------------+----------+ -| 27844ef7-1a9a-4944-be59-6e4eb19a71f6 | high-speed-gen2 | True | -| 23f75fef-d4f6-416a-a884-95aa3fd45695 | classic | True | -| 2f78e8af-93c9-4e5c-b177-83c4a7ec456a | high-speed | True | ----------------------------------------------------------------------------------------------------- -``` +Cette modification peut être réalisée via Horizon ou via l’interface de ligne de commande OpenStack. > [!warning] -> Veuillez noter que si le type de volume « high-speed-gen2 » n'apparaît pas dans la liste, cela signifie qu'il n'est pas disponible dans cette région. +> Si le volume est attaché à une Instance, vous devez d'abord le détacher avant de continuer. Pour plus d'informations, consultez [cette section](/pages/public_cloud/compute/create_and_configure_an_additional_disk_on_an_instance#detacher-un-volume) du guide correspondant. +> +> La conversion vers un volume `-luks` (chiffré) n’est disponible que via la CLI OpenStack pour le moment. Elle n’est pas encore accessible depuis l'interface Horizon. > -Modifiez ensuite le type de volume avec la commande suivante : - -```bash -$ openstack volume set --type high-speed-gen2 --retype-policy on-demand VOLUME_NAME_OR_ID -``` +> [!tabs] +> Via l'interface Horizon +>> Connectez-vous à l'[interface Horizon](https://horizon.cloud.ovh.net/auth/login/) et assurez-vous d'être dans la bonne région. Vous pouvez le vérifier en haut à gauche. +>> +>> ![Sélection de région](images/region2021.png){.thumbnail} +>> +>> Cliquez sur le menu `Volumes`{.action} à gauche puis sur `Volumes`{.action}. +>> +>> Cliquez sur la flèche déroulante à côté de `Edit Volume`{.action} et sélectionnez `Change Volume Type`{.action}. +>> +>> ![Choix de l'option](images/selectoption.png){.thumbnail} +>> +>> Dans la fenêtre qui s'affiche, cliquez sur le menu déroulant sous `Type` et sélectionnez `high-speed-gen-2`{.action}. Cliquez ensuite sur la flèche déroulante sous `Migration Policy` et sélectionnez `On Demand`{.action}. +>> +>> Une fois ces actions effectuées, cliquez sur `Change Volume Type`{.action} pour valider le changement. +>> +>> ![Choix de l'option](images/changevolume.png){.thumbnail} +>> +> Via la CLI Openstack +>> Avant de commencer, consultez le guide suivant : +>> +>> - [Préparer l’environnement pour utiliser l’API OpenStack](/pages/public_cloud/public_cloud_cross_functional/prepare_the_environment_for_using_the_openstack_api). +>> +>> Tout d'abord, listez les types de volumes disponibles dans votre région avec la commande suivante : +>> +>> ```bash +>> #~$ openstack volume type list +>> +--------------------------------------+-----------------------------------------------+----------+ +>> | ID | Name | Is Public | +>> +--------------------------------------+-----------------------------------------------+----------+ +>> | 27844ef7-1a9a-4944-be59-6e4eb19a71f6 | high-speed-gen2 | True | +>> | 23f75fef-d4f6-416a-a884-95aa3fd45695 | classic | True | +>> | 2f78e8af-93c9-4e5c-b177-83c4a7ec456a | high-speed | True | +>> | bee392e6-1a9a-4944-be59-e62559be582e | high-speed-gen2-luks | True | +>> | 4d1a6718-d4f6-416a-4591-5048fcba6024 | classic-luks | True | +>> | 9facd26c-4a42-4e5c-b177-562ed6bf0de6 | high-speed-luks | True | +>> ---------------------------------------------------------------------------------------------------- +>> ``` +>> +>> > [!warning] +>> > Veuillez noter que si le type de volume « high-speed-gen2 » n'apparaît pas dans la liste, cela signifie qu'il n'est pas disponible dans cette région. +>> > +>> +>> Modifiez ensuite le type de volume avec la commande suivante : +>> +>> ```bash +>> $ openstack volume set --type high-speed-gen2 --retype-policy on-demand VOLUME_NAME_OR_ID +>> ``` +>> ## Aller plus loin