| title | Configure Zone Redundancy | |
|---|---|---|
| description | Configure zone redundancy for your Azure SQL Managed Instance by using the Azure portal, PowerShell, Azure CLI, and REST API. | |
| author | Stralle | |
| ms.author | strrodic | |
| ms.reviewer | urmilano, mathoma, randolphwest | |
| ms.date | 09/11/2025 | |
| ms.service | azure-sql-managed-instance | |
| ms.subservice | high-availability | |
| ms.topic | how-to | |
| ms.custom |
|
[!INCLUDE appliesto-sqlmi]
This article teaches you how to configure zone redundancy for Azure SQL Managed Instance by using the Azure portal, PowerShell, Azure CLI, and REST API.
By using a zone-redundant configuration, you can make your Business Critical or General Purpose instances highly available and resilient to a larger set of failures, including catastrophic datacenter outages, without any changes to the application logic. You can convert any existing Business Critical or General Purpose instances to the zone-redundant configuration.
Consider the following points when using zone redundancy for SQL Managed Instance:
- Zone redundancy is available in select regions.
- Zone redundancy isn't currently available for the Next-gen General Purpose service tier.
- Zone redundancy can be enabled, and disabled. The operation to enable or disable zone redundancy is a fully online scaling operation executed in the background.
- To enable zone redundancy, your SQL managed instance Backup storage redundancy must use Zone-redundant or Geo-zone-redundant storage.
You can create a new zone-redundant instance by using the Azure portal, PowerShell, Azure CLI, and REST API.
To configure a new zone-redundant SQL managed instance in the Azure portal, follow these steps:
-
In the pane for Azure SQL Managed Instance, select Show options.
-
In the Azure SQL Managed Instance options window, select Create Azure SQL Managed Instance.
:::image type="content" source="media/instance-zone-redundancy-configure/show-options-create-sql-managed-instance.png" alt-text="Screenshot from the Azure portal of the Azure SQL hub, showing the Show options button under Azure SQL Managed Instance and the Create Instance pool button." lightbox="media/instance-zone-redundancy-configure/show-options-create-sql-managed-instance.png":::
-
On the Basics tab of the Create Azure SQL Managed Instance page, select Configure Managed Instance under Compute + storage to open the Compute + storage page.
-
On the Compute + storage page:
- For Backup storage redundancy under Backup, choose
Zone-redundantorGeo-zone-redundantbackup storage. Backups have to be configured before you can enable zone redundancy. - For Zone redundancy under Compute Hardware, choose Enabled.
- Configure the remaining instance settings based on your business needs and then use Apply to save your configuration and go back to the Create Azure SQL Managed Instance page.
:::image type="content" source="media/instance-zone-redundancy-configure/instance-new-portal-compute-storage.png" alt-text="Screenshot of the backup and zone redundancy options selected on the compute + storage page of the Azure portal." lightbox="media/instance-zone-redundancy-configure/instance-new-portal-compute-storage.png":::
- For Backup storage redundancy under Backup, choose
-
On the Create Azure SQL Managed Instance page, configure the remaining instance settings based on your business needs, select Review + Create to review your settings, and then use Create to deploy your instance configured with zone redundancy. For more information about deploying a managed instance, review Quickstart: Create Azure SQL Managed Instance.
To create a new zone-redundant SQL managed instance by using PowerShell, use the -ZoneRedundant switch when using the New-AzSqlInstance command. For a full PowerShell sample, review Use PowerShell to create a managed instance.
Omit -ZoneRedundant if you don't want your new SQL managed instance to be zone redundant.
To create a new zone-redundant SQL managed instance by using the Azure CLI, set the --zone-redundant parameter to true when using the az sql mi create command. For a full Azure CLI sample, review Create an Azure SQL Managed Instance using the Azure CLI.
Set --zone-redundant to false if you don't want your new SQL managed instance to be zone redundant.
To create a new zone-redundant SQL managed instance by using the REST API, set the zoneRedundant parameter to true when using the Managed Instances - Create Or Update command.
Set zoneRedundant to false if you don't want your new SQL managed instance to be zone redundant.
You can enable or disable zone redundancy for an existing SQL managed instance by using the Azure portal, PowerShell, Azure CLI, and REST API.
To update your zone redundancy configuration for an existing SQL managed instance by using the Azure portal, follow these steps.
-
Go to your SQL managed instance resource in the Azure portal.
-
On the Compute + storage pane:
- To enable zone redundancy, first ensure the Backup storage redundancy under Backup is set to
Zone-redundantorGeo-zone-redundant. If it's not already, choose your new backup storage redundancy option and apply your settings. Wait for the operation to complete, and then refresh your page before enabling zone redundancy. - Under Compute Hardware, use the Zone redundancy toggle to either enable or disable zone redundancy.
:::image type="content" source="media/instance-zone-redundancy-configure/instance-existing-portal-compute-storage.png" alt-text="Screenshot of the compute + storage page for an existing instance in the Azure portal. Zone redundancy and backups are selected. " lightbox="media/instance-zone-redundancy-configure/instance-existing-portal-compute-storage.png":::
- To enable zone redundancy, first ensure the Backup storage redundancy under Backup is set to
To update an existing SQL managed instance to be zone-redundant by using PowerShell, use the -ZoneRedundant switch when using the Set-AzSqlInstance command. For a full PowerShell sample, review Use PowerShell to create a SQL managed instance.
Omit -ZoneRedundant if you want to disable zone redundancy for your existing SQL managed instance.
To update an existing SQL managed instance to be zone-redundant by using the Azure CLI, set the --zone-redundant parameter to true when using the az sql mi update command. For a full Azure CLI sample, review Create an Azure SQL Managed Instance using the Azure CLI.
Set --zone-redundant to false if you want to disable zone redundancy for your existing SQL managed instance.
To update an existing SQL managed instance to be zone-redundant by using the REST API, set the zoneRedundant parameter to true when using the Managed Instances - Update command.
Set zoneRedundant to false if you want to disable zone redundancy for your existing SQL managed instance.
You can check the current zone redundancy setting for your SQL managed instance by using the Azure portal, PowerShell, Azure CLI, and the REST API.
To check the zone redundancy configuration for an existing SQL managed instance by using the Azure portal, follow these steps.
- Go to your SQL managed instance resource in the Azure portal.
- On the Compute + storage page under settings, check the Zone redundancy toggle in the Compute Hardware section.
To check the zone redundancy configuration for an existing SQL managed instance, validate the existence, or absence, of the Zone-redundant switch when using the Get-AzSqlInstance PowerShell command.
If the Zone-redundant switch is visible, zone redundancy is enabled.
To check the zone redundancy configuration for an existing SQL managed instance, validate what the --zone-redundant parameter is set to when using the az sql mi show PowerShell command.
Zone redundancy is enabled if --zone-redundant is set to true.
To check the zone redundancy configuration for an existing SQL managed instance, validate what thezoneRedundant parameter is set to when using the Managed Instances - Get REST API command
Zone redundancy is enabled if zoneRedundant is set to true.
Review zone redundancy availability by region for Azure SQL Managed Instance.
- Availability through local and zone redundancy - Azure SQL Managed Instance
- Overview of business continuity with Azure SQL Managed Instance
- Automated backups in Azure SQL Managed Instance
- Restore a database from a backup in Azure SQL Managed Instance
- Failover groups overview & best practices - Azure SQL Managed Instance
- Geo-restore