|
| 1 | +--- |
| 2 | +title: Disable disaster recovery in IoT Hub |
| 3 | +titleSuffix: Azure IoT Hub |
| 4 | +description: How to turn off disaster recovery failover for Azure IoT Hub in select regions using the Azure portal. |
| 5 | +author: kgremban |
| 6 | +ms.author: kgremban |
| 7 | +ms.service: azure-iot-hub |
| 8 | +ms.topic: how-to |
| 9 | +ms.date: 05/02/2025 |
| 10 | + |
| 11 | +#Customer intent: As an engineer responsible for business continuity, I want to learn how to disable disaster recovery in IoT Hub so that I can avoid data replication outside of the region. |
| 12 | +--- |
| 13 | + |
| 14 | +# Disable disaster recovery in IoT Hub |
| 15 | + |
| 16 | +IoT Hub provides Microsoft-initiated failover and manual failover by replicating data to the [paired region](../reliability//regions-paired.md) for each IoT hub. For some regions, you can avoid data replication outside of the region by disabling disaster recovery when creating an IoT hub. |
| 17 | + |
| 18 | +## Prerequisites |
| 19 | + |
| 20 | +To disable disaster recovery in IoT Hub, you need the following: |
| 21 | + |
| 22 | +* An Azure subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/). |
| 23 | +* The following regions support disabling disaster recovery: |
| 24 | + * **Brazil South**; paired region, South Central US. |
| 25 | + * **Southeast Asia (Singapore)**; paired region, East Asia (Hong Kong SAR). |
| 26 | + |
| 27 | +## Create an IoT hub without disaster recovery |
| 28 | + |
| 29 | +To disable disaster recovery in the Azure portal, follow these steps: |
| 30 | + |
| 31 | +1. Sign in to the [Azure portal](https://portal.azure.com/). |
| 32 | + |
| 33 | +1. In the Azure portal, [create your IoT hub](/azure/iot-hub/create-hub?tabs=portal) in one of the [supported regions](#prerequisites). Make sure that **Disaster recovery enabled** is unselected: |
| 34 | + |
| 35 | + :::image type="content" source="media/iot-hub-ha-dr/singapore.png" alt-text="Screenshot that shows disaster recovery option for an IoT hub in Singapore region."::: |
| 36 | + |
| 37 | +1. Note that failover capability won't be available if you disable disaster recovery for an IoT hub. |
| 38 | + |
| 39 | + :::image type="content" source="media/iot-hub-ha-dr/disaster-recovery-disabled.png" alt-text="Screenshot that shows disaster recovery disabled for an IoT hub in Singapore region."::: |
| 40 | + |
| 41 | +You can also disable disaster recovery when you create an IoT hub using an [ARM template](/azure/templates/microsoft.devices/iothubs?tabs=bicep#iothubproperties). |
| 42 | + |
| 43 | +## Disable disaster recovery for an existing IoT hub |
| 44 | + |
| 45 | +You can only disable disaster recovery to avoid data replication when you create an IoT hub. If you want to configure an existing IoT hub to disable disaster recovery, create a new IoT hub with disaster recovery disabled and then manually migrate your existing IoT hub. |
| 46 | + |
| 47 | +1. [Create a new IoT hub with disaster recovery disabled](#create-an-iot-hub-without-disaster-recovery). |
| 48 | +1. Follow [How to migrate an IoT hub](migrate-hub-state-cli.md) to manually migrate your existing IoT hub. |
| 49 | + |
| 50 | +## Related content |
| 51 | + |
| 52 | +- [Reliability in IoT Hub](../reliability/reliability-iot-hub.md) |
0 commit comments