Disable disaster recovery in IoT Hub

IoT Hub provides Azure-initiated failover and manual failover by replicating data to the paired region 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.

Prerequisites

To disable disaster recovery in IoT Hub, you need the following:

  • An Azure subscription. If you don't have an Azure subscription, create a Trial.

Create an IoT hub without disaster recovery

To disable disaster recovery in the Azure portal, follow these steps:

  1. Sign in to the Azure portal.

  2. In the Azure portal, create your IoT hub in one of the supported regions. Make sure that Disaster recovery enabled is unselected:

    Screenshot that shows disaster recovery option for an IoT hub in Singapore region.

  3. Note that failover capability won't be available if you disable disaster recovery for an IoT hub.

    Screenshot that shows disaster recovery disabled for an IoT hub in Singapore region.

You can also disable disaster recovery when you create an IoT hub using an ARM template.

Disable disaster recovery for an existing IoT hub

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.

  1. Create a new IoT hub with disaster recovery disabled.
  2. Follow How to migrate an IoT hub to manually migrate your existing IoT hub.