Skip to content

Commit 3717cbd

Browse files
authored
Merge pull request #276203 from ShawnJackson/migrate-api-mgt
[AQ] edit pass: migrate-api-mgt
2 parents 07428c9 + 13381c1 commit 3717cbd

File tree

1 file changed

+61
-62
lines changed

1 file changed

+61
-62
lines changed
Lines changed: 61 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Migrate Azure API Management to availability zone support
3-
description: Learn how to migrate your Azure API Management instances to availability zone support.
2+
title: Migrate Azure API Management to availability zones
3+
description: Learn how to migrate your Azure API Management instances to availability zones for zone redundancy.
44
author: shaunjacob
55
ms.service: api-management
66
ms.topic: how-to
@@ -10,127 +10,126 @@ ms.custom: references_regions, subject-reliability
1010

1111
---
1212

13-
# Migrate Azure API Management to availability zone support
13+
# Migrate Azure API Management to availability zones
1414

15-
This guide describes how to enable availability zone support for your API Management instance. The API Management service supports [Zone redundancy](../reliability/availability-zones-overview.md), which provides resiliency and high availability to a service instance in a specific Azure region. With zone redundancy, the gateway and the control plane of your API Management instance (Management API, developer portal, Git configuration) are replicated across datacenters in physically separated zones, making it resilient to a zone failure.
15+
The Azure API Management service supports [zone redundancy](../reliability/availability-zones-overview.md), which provides resiliency and high availability to a service instance in a specific Azure region. With zone redundancy, the gateway and the control plane of your API Management instance (management API, developer portal, Git configuration) are replicated across datacenters in physically separated zones, so they're resilient to a zone failure.
1616

17-
In this article, we'll take you through the different options for availability zone migration. For background about configuring API Management for high availability, see [Ensure API Management availability and reliability](../api-management/high-availability.md).
17+
This article describes four options for migrating an API Management instance to availability zones. For background about configuring API Management for high availability, see [Ensure API Management availability and reliability](../api-management/high-availability.md).
1818

1919
## Prerequisites
2020

21-
* To configure API Management for zone redundancy, your instance must be in one of the Azure regions with [availability zone support](availability-zones-service-support.md#azure-regions-with-availability-zone-support).
21+
* To configure API Management for zone redundancy, your instance must be in one of the [Azure regions that support availability zones](availability-zones-service-support.md#azure-regions-with-availability-zone-support).
2222

23-
* If you haven't yet created an API Management service instance, see [Create an API Management service instance](../api-management/get-started-create-service-instance.md). Select the Premium service tier.
23+
* If you don't have an API Management instance, create one by following the [Create a new Azure API Management instance by using the Azure portal](../api-management/get-started-create-service-instance.md) quickstart. Select the Premium service tier.
2424

25-
* API Management service must be in the Premium tier. If it isn't, you can [upgrade](../api-management/upgrade-and-scale.md#change-your-api-management-service-tier) to the Premium tier.
25+
* If you have an existing API Management instance, make sure that it's in the Premium tier. If it isn't, [upgrade to the Premium tier](../api-management/upgrade-and-scale.md#change-your-api-management-service-tier).
2626

27-
* If your API Management instance is deployed (injected) in a [Azure virtual network (VNet)](../api-management/api-management-using-with-vnet.md), check the version of the [compute platform](../api-management/compute-infrastructure.md) (stv1 or stv2) that hosts the service.
27+
* If your API Management instance is deployed (injected) in an [Azure virtual network](../api-management/api-management-using-with-vnet.md), check the version of the [compute platform](../api-management/compute-infrastructure.md) (`stv1` or `stv2`) that hosts the service.
2828

2929
## Downtime requirements
3030

3131
There are no downtime requirements for any of the migration options.
3232

3333
## Considerations
3434

35-
* Changes can take from 15 to 45 minutes to apply. The API Management gateway can continue to handle API requests during this time.
35+
* Changes can take 15 to 45 minutes to apply. The API Management gateway can continue to handle API requests during this time.
3636

37-
* When migrating an API Management deployed in an external or internal virtual network to availability zones, a new public IP address resource must be specified. In an internal VNet, the public IP address is used only for management operations, not for API requests. Learn more about [IP addresses of API Management](../api-management/api-management-howto-ip-addresses.md).
37+
* When you're migrating an API Management instance that's deployed in an external or internal virtual network to availability zones, you must specify a new public IP address resource. In an internal virtual network, the public IP address is used only for management operations, not for API requests. [Learn more about IP addresses of API Management](../api-management/api-management-howto-ip-addresses.md).
3838

39-
* Migrating to availability zones or changing the availability zone configuration will trigger a public [IP address change](../api-management/api-management-howto-ip-addresses.md#changes-to-the-ip-addresses).
39+
* Migrating to availability zones or changing the configuration of availability zones triggers a public [IP address change](../api-management/api-management-howto-ip-addresses.md#changes-to-the-ip-addresses).
4040

41-
* When enabling availability zones in a region, you configure a number of API Management scale [units](../api-management/upgrade-and-scale.md) that can be distributed evenly across the zones. For example, if you configure 2 zones, you could configure 2 units, 4 units, or another multiple of 2 units. Adding units incurs additional costs. For details, see [API Management pricing](https://azure.microsoft.com/pricing/details/api-management/).
41+
* When you're enabling availability zones in a region, you configure API Management scale [units](../api-management/upgrade-and-scale.md) that you can distribute evenly across the zones. For example, if you configure two zones, you can configure two units, four units, or another multiple of two units.
4242

43-
* If you've configured autoscaling for your API Management instance in the primary location, you might need to adjust your autoscale settings after enabling zone redundancy. The number of API Management units in autoscale rules and limits must be a multiple of the number of zones.
43+
Adding units incurs additional costs. For details, see [API Management pricing](https://azure.microsoft.com/pricing/details/api-management/).
4444

45-
## Option 1: Migrate existing location of API Management instance, not injected in VNet
45+
* If you configured autoscaling for your API Management instance in the primary location, you might need to adjust your autoscale settings after enabling zone redundancy. The number of API Management units in autoscale rules and limits must be a multiple of the number of zones.
4646

47-
Use this option to migrate an existing location of your API Management instance to availability zones when it’s not injected (deployed) in a virtual network.
47+
## Existing gateway location not injected in a virtual network
4848

49-
1. In the Azure portal, navigate to your API Management service.
49+
To migrate an existing location of your API Management instance to availability zones when the instance is not injected in a virtual network:
5050

51-
1. Select **Locations** in the menu, and then select the location to be migrated. The location must [support availability zones](#prerequisites).
51+
1. In the Azure portal, go to your API Management instance.
5252

53-
1. Select the number of scale [Units](../api-management/upgrade-and-scale.md) desired in the location.
53+
1. On the **Deployment + infrastructure** menu, select **Locations**.
5454

55-
1. In **Availability zones**, select one or more zones. The number of units selected must be distributed evenly across the availability zones. For example, if you selected 3 units, select 3 zones so that each zone hosts one unit.
55+
1. In the **Location** box, select the location to be migrated. The location must support availability zones, as mentioned earlier in the [prerequisites](#prerequisites).
5656

57-
1. Select **Apply**, and then select **Save**.
57+
1. In the **Units** box, select the number of scale [units](../api-management/upgrade-and-scale.md) that you want in the location.
5858

59-
:::image type="content" alt-text="Screenshot of how to migrate existing location of API Management instance not injected in VNet." source ="media/migrate-api-mgt/option-one-not-injected-in-vnet.png":::
60-
59+
1. In the **Availability zones** box, select one or more zones. The number of units that you selected must be distributed evenly across the availability zones. For example, if you selected three units, select three zones so that each zone hosts one unit.
6160

61+
1. Select **Apply**, and then select **Save**.
6262

63-
## Option 2: Migrate existing location of API Management instance (stv1 platform), injected in VNet
63+
:::image type="content" alt-text="Screenshot that shows selections for migrating an existing location of API Management instance that's not injected in a virtual network." source ="media/migrate-api-mgt/option-one-not-injected-in-vnet.png":::
6464

65-
Use this option to migrate an existing location of your API Management instance to availability zones when it is currently injected (deployed) in a virtual network. The following steps are needed when the API Management instance is currently hosted on the stv1 platform. Migrating to availability zones will also migrate the instance to the stv2 platform.
65+
## Existing gateway location (stv1 platform) injected in a virtual network
6666

67-
1. Create a new subnet and public IP address in location to migrate to availability zones. Detailed requirements are in [virtual networking guidance](../api-management/api-management-using-with-vnet.md?tabs=stv2#prerequisites).
67+
To migrate an existing location of your API Management instance to availability zones when the instance is currently injected in a virtual network and is currently hosted on the `stv1` platform, use the following steps. Migrating to availability zones also migrates the instance to the `stv2` platform.
6868

69-
1. In the Azure portal, navigate to your API Management service.
69+
1. Create a new subnet and public IP address in the location to migrate to availability zones. Detailed requirements are in the [virtual networking guidance](../api-management/api-management-using-with-vnet.md?tabs=stv2#prerequisites).
7070

71-
1. Select **Locations** in the menu, and then select the location to be migrated. The location must [support availability zones](#prerequisites).
71+
1. In the Azure portal, go to your API Management instance.
7272

73-
1. Select the number of scale [Units](../api-management/upgrade-and-scale.md) desired in the location.
73+
1. On the **Deployment + infrastructure** menu, select **Locations**.
7474

75-
1. In **Availability zones**, select one or more zones. The number of units selected must be distributed evenly across the availability zones. For example, if you selected 3 units, select 3 zones so that each zone hosts one unit.
75+
1. In the **Location** box, select the location to be migrated. The location must support availability zones, as mentioned earlier in the [prerequisites](#prerequisites).
7676

77-
1. Select the new subnet and new public IP address in the location.
77+
1. In the **Units** box, select the number of scale [units](../api-management/upgrade-and-scale.md) that you want in the location.
7878

79-
1. Select **Apply**, and then select **Save**.
79+
1. In the **Availability zones** box, select one or more zones. The number of units that you selected must be distributed evenly across the availability zones. For example, if you selected three units, select three zones so that each zone hosts one unit.
8080

81+
1. In the respective boxes under **Network**, select the new subnet and new public IP address in the location.
8182

82-
:::image type="content" alt-text="Screenshot of how to migrate existing location of API Management instance injected in VNet." source ="media/migrate-api-mgt/option-two-injected-in-vnet.png":::
83+
1. Select **Apply**, and then select **Save**.
8384

84-
## Option 3: Migrate existing location of API Management instance (stv2 platform), injected in VNet
85+
:::image type="content" alt-text="Screenshot that shows selections for migrating an existing location of an API Management instance that's injected in a virtual network." source ="media/migrate-api-mgt/option-two-injected-in-vnet.png":::
8586

86-
Use this option to migrate an existing location of your API Management instance to availability zones when it is currently injected (deployed) in a virtual network. The following steps are used when the API Management instance is already hosted on the stv2 platform.
87+
## Existing gateway location (stv2 platform) injected in a virtual network
8788

88-
1. Create a new subnet and public IP address in location to migrate to availability zones. Detailed requirements are in [virtual networking guidance](../api-management/api-management-using-with-vnet.md?tabs=stv2#prerequisites).
89+
To migrate an existing location of your API Management instance to availability zones when the instance is currently injected in a virtual network and is already hosted on the `stv2` platform:
8990

90-
1. In the Azure portal, navigate to your API Management service.
91+
1. Create a new subnet and public IP address in the location to migrate to availability zones. Detailed requirements are in the [virtual networking guidance](../api-management/api-management-using-with-vnet.md?tabs=stv2#prerequisites).
9192

92-
1. Select **Locations** in the menu, and then select the location to be migrated. The location must [support availability zones](#prerequisites).
93+
1. In the Azure portal, go to your API Management instance.
9394

94-
1. Select the number of scale [Units](../api-management/upgrade-and-scale.md) desired in the location.
95+
1. On the **Deployment + infrastructure** menu, select **Locations**.
9596

96-
1. In **Availability zones**, select one or more zones. The number of units selected must be distributed evenly across the availability zones. For example, if you selected 3 units, select 3 zones so that each zone hosts one unit.
97+
1. In the **Location** box, select the location to be migrated. The location must support availability zones, as mentioned earlier in the [prerequisites](#prerequisites).
9798

98-
1. Select the new public IP address in the location.
99+
1. In the **Units** box, select the number of scale [units](../api-management/upgrade-and-scale.md) that you want in the location.
99100

100-
1. Select **Apply**, and then select **Save**.
101+
1. In the **Availability zones** box, select one or more zones. The number of units that you selected must be distributed evenly across the availability zones. For example, if you selected three units, select three zones so that each zone hosts one unit.
101102

102-
:::image type="content" alt-text="Screenshot of how to migrate existing location of API Management instance (stv2 platform) injected in VNet." source ="media/migrate-api-mgt/option-three-stv2-injected-in-vnet.png":::
103+
1. In the **Public IP Address** box, select the new public IP address in the location.
103104

104-
## Option 4. Add new location for API Management instance (with or without VNet) with availability zones
105+
1. Select **Apply**, and then select **Save**.
105106

106-
Use this option to add a new location to your API Management instance and enable availability zones in that location.
107+
:::image type="content" alt-text="Screenshot that shows selections for migrating an existing location of an API Management instance (stv2 platform) that's injected in a virtual network." source ="media/migrate-api-mgt/option-three-stv2-injected-in-vnet.png":::
107108

108-
If your API Management instance is deployed in a virtual network in the primary location, ensure that you set up a [virtual network](../api-management/api-management-using-with-vnet.md?tabs=stv2), subnet, and public IP address in any new location where you plan to enable zone redundancy.
109+
## New gateway location
109110

110-
1. In the Azure portal, navigate to your API Management service.
111+
To add a new location to your API Management instance and enable availability zones in that location:
111112

112-
1. Select **+ Add** in the top bar to add a new location. The location must [support availability zones](#prerequisites).
113+
1. If your API Management instance is deployed in a virtual network in the primary location, set up a [virtual network](../api-management/api-management-using-with-vnet.md?tabs=stv2), subnet, and public IP address in any new location where you plan to enable zone redundancy.
113114

114-
1. Select the number of scale [Units](../api-management/upgrade-and-scale.md) desired in the location.
115+
1. In the Azure portal, go to your API Management instance.
115116

116-
1. In **Availability zones**, select one or more zones. The number of units selected must be distributed evenly across the availability zones. For example, if you selected 3 units, select 3 zones so that each zone hosts one unit.
117+
1. On the **Deployment + infrastructure** menu, select **Locations**.
117118

118-
1. If your API Management instance is deployed in a [virtual network](../api-management/api-management-using-with-vnet.md?tabs=stv2), select the virtual network, subnet, and public IP address that are available in the location.
119+
1. Select **+ Add** to add a new location. The location must support availability zones, as mentioned earlier in the [prerequisites](#prerequisites).
119120

120-
1. Select **Add**, and then select **Save**.
121-
122-
:::image type="content" alt-text="Screenshot of how to add new location for API Management instance with or without VNet." source ="media/migrate-api-mgt/option-four-add-new-location.png":::
121+
1. In the **Units** box, select the number of scale [units](../api-management/upgrade-and-scale.md) that you want in the location.
123122

124-
## Next steps
123+
1. In the **Availability zones** box, select one or more zones. The number of units that you selected must be distributed evenly across the availability zones. For example, if you selected three units, select three zones so that each zone hosts one unit.
125124

126-
Learn more about:
125+
1. If your API Management instance is deployed in a virtual network, use the boxes under **Network** to select the virtual network, subnet, and public IP address that are available in the location.
127126

128-
> [!div class="nextstepaction"]
129-
> [Deploying an Azure API Management service instance to multiple Azure regions](../api-management/api-management-howto-deploy-multi-region.md).
127+
1. Select **Add**, and then select **Save**.
130128

131-
> [!div class="nextstepaction"]
132-
> [Building for reliability](/azure/architecture/framework/resiliency/app-design) in Azure.
129+
:::image type="content" alt-text="Screenshot that shows selections for adding a new location for an API Management instance with or without a virtual network." source ="media/migrate-api-mgt/option-four-add-new-location.png":::
133130

134-
> [!div class="nextstepaction"]
135-
> [Azure services and regions that support availability zones](availability-zones-service-support.md)
131+
## Related content
136132

133+
* [Deploy an Azure API Management instance to multiple Azure regions](../api-management/api-management-howto-deploy-multi-region.md)
134+
* [Design review checklist for reliability](/azure/architecture/framework/resiliency/app-design)
135+
* [Azure services and regions that support availability zones](availability-zones-service-support.md)

0 commit comments

Comments
 (0)