Skip to content

Feat migration between region #8160

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

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@
+ [Resizing the file system in FreeBSD 12](public_cloud/compute/resize_freebsd_file_system_after_install)
+ [Forensics: How to deal with Public Cloud instances](public_cloud/compute/forensics)
+ [Local Zone VPN-as-a-Service (VPNaaS) with Tailscale Integration](public_cloud/compute/local-zones-vpn-tailscale-integration)
+ [Migration of instances between different regions](public_cloud/compute/migration_between_regions)
+ [Storage and Backup](products/public-cloud-storage)
+ [Object Storage](products/public-cloud-storage-object-storage)
+ [General information](public-cloud-storage-object-storage-general-information)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,73 @@ You can make use of these instance backups for two basic purposes:

### Creating an instance from a backup

Log in to the [OVHcloud Control Panel](/links/manager), go to the `Public Cloud`{.action} section and select the Public Cloud project concerned. Then click `Instance backup`{.action} under the **Compute** section.

![public-cloud-instance-backup](images/restorebackup01.png){.thumbnail}

Click on the `...`{.action} button in the row of the relevant backup, then select `Create an instance`{.action}.

You will see a shortened version of the instance creation page where you can decide on some options.

![public-cloud-instance-backup](images/restorebackup02.png){.thumbnail}

Some elements are pre-defined:

- **Region**: Your instance will be created in the same data centre as your backup.
- **Image**: The image will correspond to your backup.
- **Model**: Only the models that are compatible with your image are available, depending on your quota.

![public-cloud-instance-backup](images/restorebackup03.png){.thumbnail}

Choose the new instance's name, SSH key, vRack and billing period, then click on the `Create the instance`{.action} button.

For further information on creating an instance, please refer to [this guide](/pages/public_cloud/compute/public-cloud-first-steps).

> [!primary]
>
> In order to create the instance in a different data centre, you will first need to transfer the backup to the appropriate region. Please refer to our guide to [transferring an instance backup](/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another).
>
> [!tabs]
> Via the OVHcloud Control Panel
>> Log in to the [OVHcloud Control Panel](/links/manager), go to the `Public Cloud`{.action} section and select the Public Cloud project concerned. Then click `Instance backup`{.action} under the **Compute** section.
>>
>> ![public-cloud-instance-backup](images/restorebackup01.png){.thumbnail}
>>
>> Click on the `...`{.action} button in the row of the relevant backup, then select `Create an instance`{.action}.
>>
>> You will see a shortened version of the instance creation page where you can decide on some options.
>>
>> ![public-cloud-instance-backup](images/restorebackup02.png){.thumbnail}
>>
>> Some elements are pre-defined:
>>
>> - **Region**: Your instance will be created in the same data centre as your backup.
>> - **Image**: The image will correspond to your backup.
>> - **Model**: Only the models that are compatible with your image are available, depending on your quota.
>>
>> ![public-cloud-instance-backup](images/restorebackup03.png){.thumbnail}
>>
>> Choose the new instance's name, SSH key, vRack and billing period, then click on the `Create the instance`{.action} button.
>>
>> For further information on creating an instance, please refer to [this guide](/pages/public_cloud/compute/public-cloud-first-steps).
>>
>> > [!primary]
>> >
>> > In order to create the instance in a different data centre, you will first need to transfer the backup to the appropriate region. Please refer to our guide to [transferring an instance backup](/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another).
>> >
>>
> Via the Openstack CLI <a name="createinstanceviaopenstack"></a>
>> > [!warning]
>> >
>> > If your instance is a Windows server, you must select a flavor of type win-xx-xx (for example, win-b2-15) and have a public interface on the Ext-Net network. Without these conditions, authentication with the OVHcloud KMS will not be possible, and your server will remain with an [unactivated licence](/pages/public_cloud/compute/activate-windows-license-private-mode). This could lead to limitations, including the absence of updates. Please note that it is not possible to resize a Linux instance (such as b2-15) to a Windows instance (such as win-b2-15). To make this transition, you need to recreate a new instance.
>> >
>>
>> To create an instance from your backup, use the backup ID as the image with this command:
>>
>> ```bash
>> $ openstack server create --key-name SSHKEY --flavor 98c1e679-5f2c-4069-b4da-4a4f7179b758 --image 0a3f5901-2314-438a-a7af-ae984dcbce5c Server1_from_snap
>> ```
>>
> Via Horizon <a name="createinstanceviahorizon"></a>
>> In the Horizon interface, click on `Compute`{.action} in the left-hand menu, then on `Images`{.action}. Find the desired image and click on the `Launch`{.action} button to the right of your image line.
>>
>> ![public-cloud-instance-backup-horizon](images/restorebackuphorizon1.png){.thumbnail}
>>
>> Name your instance in the dedicated field and determine the number of instances to create. Then click on the `Flavor`{.action} tab.
>>
>> ![public-cloud-instance-backup-horizon-2](images/restorebackuphorizon2.png){.thumbnail}
>>
>> Choose the desired instance model, then click on the `Networks`{.action} tab.
>>
>> > [!warning]
>> >
>> > If your instance is a Windows server, you must select a flavor of type win-xx-xx (for example, win-b2-15) and have a public interface on the Ext-Net network. Without these conditions, authentication to the OVHcloud KMS will not be possible, and your server will remain with a [license not activated](/pages/public_cloud/compute/activate-windows-license-private-mode). This could lead to limitations, including the absence of updates. Please note that it is not possible to resize a Linux instance (e.g. b2-15) to a Windows instance (e.g. win-b2-15). To make this transition, you need to recreate a new instance.
>> >
>>
>> ![public-cloud-instance-backup-horizon-3](images/restorebackuphorizon3.png){.thumbnail}
>>
>> Choose the network you wish to assign to it, then click on the `Launch Instance`{.action} button.
>>
>> [public-cloud-instance-backup-horizon-4](images/restorebackuphorizon4.png){.thumbnail}
>>
>> You can find the status of your new instance in `Compute`{.action} in the left-hand menu, then on `Instances`{.action}.
>>
>> ![public-cloud-instance-backup-horizon-5](images/restorebackuphorizon5.png){.thumbnail}
>>

### Restoring an instance from a backup

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,73 @@ Vous pouvez être amenés à vouloir restaurer votre instance grâce à une sauv

### Créer une instance a partir d'une sauvegarde

Connectez-vous à votre [espace client OVHcloud](/links/manager) et sélectionnez `Public Cloud`{.action}. Sélectionnez le projet Public Cloud concerné puis cliquez sur `Instance backup`{.action} sous la section **Compute**.

![public-cloud-instance-backup](images/restorebackup01.png){.thumbnail}

Cliquez alors sur les `...`{.action} à droite de la sauvegarde choisie et enfin sur `Créer une instance`{.action}.

Une version abrégée de la page de création de l'instance s'affiche, dans laquelle vous pouvez modifier certaines options.

![public-cloud-instance-backup](images/restorebackup02.png){.thumbnail}

Certains éléments sont prédéfinis :

- **Localisation** : votre instance sera créée dans le même datacentre que votre sauvegarde.
- **Image** : elle correspondra à votre sauvegarde.
- **Modèle** : seuls ceux pouvant accueillir votre image seront disponibles, en fonction de votre quota.

![public-cloud-instance-backup](images/restorebackup03.png){.thumbnail}

Définissez le nom de la nouvelle instance, la clé SSH, le vRack et la période de facturation, puis cliquez sur le bouton `Créer l'instance`{.action}.

Pour plus d'informations sur la création d'une instance, consultez [ce guide](/pages/public_cloud/compute/public-cloud-first-steps).

> [!primary]
>
> Pour créer une instance dans un autre datacentre que celui de la sauvegarde, il faudra transférer celle-ci vers la zone correspondante. Référez-vous alors au [guide sur la sauvegarde d'une instance d'un datacentre à l'autre](/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another).
>
> [!tabs]
> Via l'espace client OVHcloud <a name="createinstanceviamanager"></a>
>> Connectez-vous à votre [espace client OVHcloud](/links/manager) et sélectionnez `Public Cloud`{.action}. Sélectionnez le projet Public Cloud concerné puis cliquez sur `Instance backup`{.action} sous la section **Compute**.
>>
>> ![public-cloud-instance-backup](images/restorebackup01.png){.thumbnail}
>>
>> Cliquez alors sur les `...`{.action} à droite de la sauvegarde choisie et enfin sur `Créer une instance`{.action}.
>>
>> Une version abrégée de la page de création de l'instance s'affiche, dans laquelle vous pouvez modifier certaines options.
>>
>> ![public-cloud-instance-backup](images/restorebackup02.png){.thumbnail}
>>
>> Certains éléments sont prédéfinis :
>>
>> - **Localisation** : votre instance sera créée dans le même datacentre que votre sauvegarde.
>> - **Image** : elle correspondra à votre sauvegarde.
>> - **Modèle** : seuls ceux pouvant accueillir votre image seront disponibles, en fonction de votre quota.
>>
>> ![public-cloud-instance-backup](images/restorebackup03.png){.thumbnail}
>>
>> Définissez le nom de la nouvelle instance, la clé SSH, le vRack et la période de facturation, puis cliquez sur le bouton `Créer l'instance`{.action}.
>>
>> Pour plus d'informations sur la création d'une instance, consultez [ce guide](/pages/public_cloud/compute/public-cloud-first-steps).
>>
>> > [!primary]
>> >
>> > Pour créer une instance dans un autre datacentre que celui de la sauvegarde, il faudra transférer celle-ci vers la zone correspondante. Référez-vous alors au [guide sur la sauvegarde d'une instance d'un datacentre à l'autre](/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another).
>> >
>>
> Via la CLI Openstack <a name="createinstanceviaopenstack"></a>
>> > [!warning]
>> >
>> > Si votre instance est un serveur Windows, vous devez sélectionner une flavor de type win-xx-xx (par exemple, win-b2-15) et disposer d’une interface publique sur le réseau Ext-Net. Sans ces conditions, l’authentification auprès du KMS OVHcloud ne sera pas possible, et votre serveur restera avec une [licence non activée](/pages/public_cloud/compute/activate-windows-license-private-mode). Cela pourrait entraîner des limitations, notamment l’absence de mises à jour. À noter qu’il est impossible de redimensionner une instance Linux (par exemple b2-15) en une instance Windows (comme win-b2-15). Pour effectuer cette transition, il est nécessaire de recréer une nouvelle instance.
>> >
>>
>> Pour créer une instance à partir de votre sauvegarde, utilisez l'ID de sauvegarde comme image avec cette commande :
>>
>> ```bash
>> $ openstack server create --key-name SSHKEY --flavor 98c1e679-5f2c-4069-b4da-4a4f7179b758 --image 0a3f5901-2314-438a-a7af-ae984dcbce5c Server1_from_snap
>> ```
>>
> Via Horizon <a name="createinstanceviahorizon"></a>
>> Dans l'interface Horizon, cliquez sur `Compute`{.action} dans le menu de gauche, puis sur `Images`{.action}. Cherchez l'image désirée et Cliquez sur le bouton `Launch`{.action} se trouvant sur la droite de la ligne de votre image.
>>
>> ![public-cloud-instance-backup-horizon](images/restorebackuphorizon1.png){.thumbnail}
>>
>> Nommez votre instance dans le champs dédié et determinez le nombre d'instance à créer. Puis cliquez sur l'onglet `Flavor`{.action}.
>>
>> ![public-cloud-instance-backup-horizon-2](images/restorebackuphorizon2.png){.thumbnail}
>>
>> Choisissez le modèle d'instance désiré, puis cliquez sur l'onglet `Networks`{.action}.
>>
>> > [!warning]
>> >
>> > Si votre instance est un serveur Windows, vous devez sélectionner une flavor de type win-xx-xx (par exemple, win-b2-15) et disposer d’une interface publique sur le réseau Ext-Net. Sans ces conditions, l’authentification auprès du KMS OVHcloud ne sera pas possible, et votre serveur restera avec une [licence non activée](/pages/public_cloud/compute/activate-windows-license-private-mode). Cela pourrait entraîner des limitations, notamment l’absence de mises à jour. À noter qu’il est impossible de redimensionner une instance Linux (par exemple b2-15) en une instance Windows (comme win-b2-15). Pour effectuer cette transition, il est nécessaire de recréer une nouvelle instance.
>> >
>>
>> ![public-cloud-instance-backup-horizon-3](images/restorebackuphorizon3.png){.thumbnail}
>>
>> Choisissez le network que vous souhaitez lui assigner, puis cliquez sur le bouton `Launch Instance`{.action}.
>>
>> ![public-cloud-instance-backup-horizon-4](images/restorebackuphorizon4.png){.thumbnail}
>>
>> Vous pouvez retrouver le status de votre nouvelle instance dans `Compute`{.action} dans le menu de gauche, puis sur `Instances`{.action}.
>>
>> ![public-cloud-instance-backup-horizon-5](images/restorebackuphorizon5.png){.thumbnail}
>>

### Restaurer une instance à partir d’une sauvegarde

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
title: 'Migration of instances between different regions'
excerpt: 'This guide describes how to migrate an OVHcloud Public Cloud instance between two regions, in 1AZ or 3AZ. It covers the backup, transfer and recreation steps, with instructions via the Manager, Horizon or the OpenStack CLI.'
updated: 2025-07-20
---

## Objectives

This guide explains how to migrate a Public Cloud instance from one region to another, from 1AZ to 3AZ or vice versa. It centralizes the key steps - backup, transfer and recreation - and redirects to the detailed guides for each element.

## Requirements

- An [OVHcloud Public Cloud instance](/pages/public_cloud/compute/public-cloud-first-steps)
- Access to the [OVHcloud Control Panel](/links/manager)

## Instructions

> [!primary]
>
> Before migrating an instance, it's important to understand the differences between the deployment types offered in the OVHcloud Public Cloud. Each mode - 1AZ, 3AZ or Local Zones - has a direct impact on the resilience, availability and design of your infrastructure.
>
> To find out more, consult the documentation: [Comparison and resilience of Deployment Modes - Understanding 3-AZ / 1-AZ / Local Zones](/pages/public_cloud/public_cloud_cross_functional/deployment_modes_comparison_resilience_details)
>

### Étape 1. Backup your instance

Start by creating a backup of your instance to be migrated, or use an existing one if it's still valid.

OVHcloud offers two types of backup, with different behaviors depending on the type of migration desired:

- Local backup: requires manual transfer if you're migrating to another region or AZ.
- Remote backup - recommended: automatically managed by OVHcloud, the local backup is replicated in the selected region. No manual transfer required.

> [!primary]
>
> If your local backup was performed in a 3AZ region and you wish to recreate the instance in another AZ in the same region, no transfer is required.
>
> Local backups are accessible from all availability zones within a 3AZ region. You can proceed directly to the instance recreation stage.
>

> [!tabs]
> Via the OVHcloud Control Panel
>> To create an instance backup from the OVHcloud client space, follow [this section](/pages/public_cloud/compute/save_an_instance#createinstanceviamanager) of our guide to creating an instance backup.
>>
> Via the Openstack CLI
<!-- >> Pour créer une sauvegarde d’une instance depuis la CLI OpenStack, suivez [cette section](/pages/public_cloud/compute/save_an_instance#createinstanceviaopenstack) de notre guide sur la création de la sauvegarde d'une instance. -->
<!-- need PR sur le backup distant -->
>>
> via Horizon
<!-- >> Pour créer une sauvegarde d’une instance depuis Horizon, suivez [cette section](/pages/public_cloud/compute/save_an_instance#createinstanceviahorizon) de notre guide sur la création de la sauvegarde d'une instance. -->
<!-- >> a faire dans la pr sur le backup distant -->

### Étape 2. Migrating your backup to another region

> [!primary]
>
> If you used a remote backup, you can go straight to [step 3. restore instance in new region](#step3recreateinstance).
>

> [!tabs]
> Via the Openstack CLI
>> To transfer your backup from one AZ to another via the Openstack CLI, please follow our guide: [Downloading and transferring an instance backup from one OpenStack region to another](/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another)
>>

### Étape 3. restore instance in new region <a name="step3recreateinstance"></a>

> [!tabs]
> Via the OVHcloud Control Panel
>> To create an instance from an existing backup, please follow [this section](/pages/public_cloud/compute/create_restore_a_virtual_server_with_a_backup#createinstanceviamanager) from our guide : Using instance backups to create or restore an instance.
>>
> Via the Openstack CLI
>> To create an instance from an existing backup via the Openstack CLI, follow [this section](/pages/public_cloud/compute/create_restore_a_virtual_server_with_a_backup/#createinstanceviaopenstack) from our guide: Using instance backups to create or restore an instance.
>>
> Via Horizon
>> To create an instance from an existing backup via Horizon, follow [this section](/pages/public_cloud/compute/create_restore_a_virtual_server_with_a_backup/#createinstanceviahorizon) from our guide : Using instance backups to create or restore an instance.
>>

## Go further

Join our [community of users](/links/community).
Loading