|
| 1 | +--- |
| 2 | +title: Azure IoT Hub Device Provisioning Service high availability and disaster recovery | Microsoft Docs |
| 3 | +description: Describes the Azure and Device Provisioning Service features that help you to build highly available Azure IoT solutions with disaster recovery capabilities. |
| 4 | +author: JimacoMS4 |
| 5 | +ms.service: iot-dps |
| 6 | +services: iot-dps |
| 7 | +ms.topic: conceptual |
| 8 | +ms.date: 02/04/2022 |
| 9 | +ms.author: v-jbrannian |
| 10 | +ms.custom: references_regions |
| 11 | +--- |
| 12 | + |
| 13 | +# IoT Hub Device Provisioning Service high availability and disaster recovery |
| 14 | + |
| 15 | +Device Provisioning Service (DPS) is a helper service for IoT Hub that enables zero-touch device provisioning at-scale. DPS is an important part of your IoT solution. This article describes the High Availability (HA) and Disaster Recovery (DR) capabilities that DPS provides. To learn more about how to achieve HA-DR across your entire IoT solution, see [Disaster recovery and high availability for Azure applications](/azure/architecture/reliability/disaster-recovery). To learn about HA-DR in IoT Hub, see [IoT Hub high availability and disaster recovery](../iot-hub/iot-hub-ha-dr.md). |
| 16 | + |
| 17 | +## High availability |
| 18 | + |
| 19 | +DPS is a highly available service; for details, see the [SLA for Azure IoT Hub](https://azure.microsoft.com/support/legal/sla/iot-hub/). The full [Azure SLA](https://azure.microsoft.com/support/legal/sla/) explains the guaranteed availability of Azure as a whole. |
| 20 | + |
| 21 | +DPS also supports [Availability Zones](../availability-zones/az-overview.md). An Availability Zone is a high-availability offering that protects your applications and data from datacenter failures. A region with Availability Zone support is comprised of a minimum of three zones supporting that region. Each zone provides one or more datacenters, each in a unique physical location with independent power, cooling, and networking. This provides replication and redundancy within the region. Availability Zone support for DPS is enabled automatically for DPS resources in the following Azure regions: |
| 22 | + |
| 23 | +* Australia East |
| 24 | +* Brazil South |
| 25 | +* Canada Central |
| 26 | +* Central US |
| 27 | +* East US |
| 28 | +* East US 2 |
| 29 | +* Japan East |
| 30 | +* North Europe |
| 31 | +* UK South |
| 32 | +* West Europe |
| 33 | +* West US 2 |
| 34 | + |
| 35 | +You don't need to take any action to use availability zones in supported regions. Your DPS instances are AZ-enabled by default. It's recommended that you leverage Availability Zones by using regions where they are supported. |
| 36 | + |
| 37 | +## Disaster recovery and Microsoft-initiated failover |
| 38 | + |
| 39 | +DPS leverages [paired regions](/azure/availability-zones/cross-region-replication-azure) to enable automatic failover. Microsoft-initiated failover is exercised by Microsoft in rare situations when an entire region goes down to failover all the DPS instances from the affected region to its corresponding paired region. This process is a default option (there is no way for users to opt out) and requires no intervention from the user. Microsoft reserves the right to make a determination of when this option will be exercised. This mechanism doesn't involve user consent before the user's DPS instance is failed over. |
| 40 | + |
| 41 | +## Disable disaster recovery |
| 42 | + |
| 43 | +By default, DPS provides automatic failover by replicating data to the [paired region](/azure/availability-zones/cross-region-replication-azure) for a DPS instance. For some regions, you can avoid data replication outside of the region by disabling disaster recovery when creating a DPS instance. The following regions support this feature: |
| 44 | + |
| 45 | +* **Brazil South**; paired region, South Central US. |
| 46 | +* **Southeast Asia (Singapore)**; paired region, East Asia (Hong Kong). |
| 47 | + |
| 48 | +To disable disaster recovery in supported regions, make sure that **Disaster recovery enabled** is unselected when you create your DPS instance: |
| 49 | + |
| 50 | +:::image type="content" source="media/iot-dps-ha-dr/singapore.png" alt-text="Screenshot that shows disaster recovery option for an IoT hub in Singapore region."::: |
| 51 | + |
| 52 | +You can also disable disaster recovery when you create a DPS instance using an [ARM template](/azure/templates/microsoft.devices/provisioningservices?tabs=bicep). |
| 53 | + |
| 54 | +Failover capability will not be available if you disable disaster recovery for a DPS instance. |
| 55 | + |
| 56 | +You can check whether disaster recovery is disabled from the **Overview** page of your DPS instance in Azure portal: |
| 57 | + |
| 58 | +:::image type="content" source="media/iot-dps-ha-dr/disaster-recovery-disabled.png" alt-text="Screenshot that shows disaster recovery disabled for a DPS instance in Singapore region."::: |
0 commit comments