Skip to content

Commit 259cd9e

Browse files
committed
update and relocate article
1 parent 11f5b34 commit 259cd9e

File tree

4 files changed

+48
-33
lines changed

4 files changed

+48
-33
lines changed
48.4 KB
Loading
35.1 KB
Loading
30.1 KB
Loading

articles/cdn/migrate-edgio-to-front-door.md renamed to articles/frontdoor/migrate-cdn-to-front-door.md

Lines changed: 48 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,67 @@
22
title: Migrate Azure CDN from Edgio to Azure Front Door
33
titleSuffix: Azure Content Delivery Network
44
description: Learn how to migrate your workloads from Azure CDN from Edgio to Azure Front Door using Azure Traffic Manager.
5-
services: cdn
5+
services: frontdoor
66
author: duongau
7-
ms.service: azure-cdn
7+
ms.service: azure-frontdoor
88
ms.topic: how-to
99
ms.date: 10/28/2024
1010
ms.author: duau
1111
---
1212

1313
# Migrate Azure CDN from Edgio to Azure Front Door
1414

15-
Azure CDN from Edgio will be retired on November 4, 2025. You must migrate your workload to Azure Front Door before this date to avoid service disruption. This article provides guidance on how to migrate your workloads from Azure CDN from Edgio to Azure Front Door using Azure Traffic Manager.
15+
Azure CDN from Edgio will be retired on November 4, 2025. You must migrate your workload to Azure Front Door before this date to avoid service disruption. This article provides guidance on how to migrate your workloads from Azure CDN from Edgio to Azure Front Door using Azure Traffic Manager. The migration process in this article can also be used to migrate workloads from a legacy CDN to Azure Front Door.
1616

17-
Azure Traffic Manager initially routes all traffic to Azure CDN from Edgio. After you set up Azure Front Door, you can update the Traffic Manager profile to incrementally route traffic to Azure Front Door. This approach allows you to validate that Azure Front Door is compatible with your workloads before fully migrating.
17+
Azure Traffic Manager initially routes all traffic to the Azure CDN from Edgio. After you set up Azure Front Door, you can update the Traffic Manager profile to incrementally route traffic to the Azure Front Door. This approach allows you to validate if Azure Front Door is compatible with your workloads before fully migrating.
18+
19+
We recommend that your plan this migration well in advance and test the functionality over the course of a few days to ensure a smooth transition.
1820

1921
## Prerequisites
2022

21-
- Create an inventory of your current endpoints, origin configurations, custom domains, caching rules, compression settings, and any custom rules set up in Azure CDN from Edgio.
22-
- Set up a test environment on the existing CDN profile to test and validate the compatibility of Azure Front Door with your workloads.
23-
- Utilize a system connected to the internet that can run Wget on Linux or Invoke-WebRequest on Windows using PowerShell.
24-
- Access to a tool such as CatchPoint or ThousandEyes to monitor the availability of your URLs before and after the migration. These tools are the most ideal because they can monitor the availability of your URLs from different locations around the world. Webpagetest.org is another option, but it only provides a limited view of your URLs from a few locations.
23+
- Review the [feature differences](front-door-cdn-comparison.md) between Azure CDN and Azure Front Door to determine if there are any compability gaps.
24+
- You need access to a VM connected to the internet that can run Wget on Linux or Invoke-WebRequest on Windows using PowerShell.
25+
- You need access to a monitoring tool such as CatchPoint or ThousandEyes to verify the availability of your URLs before and after the migration. These tools are the most ideal because they can monitor the availability of your URLs from different locations around the world. `webpagetest.org` is another option, but it only provides a limited view of your URLs from a few locations.
2526

2627
## Migrate your workloads
2728

2829
The followings steps assume you're using an Azure Blob Storage account as your origin. If you're using a different origin, adjust the steps accordingly.
2930

31+
:::image type="content" source="./media/migrate-cdn-to-front-door/cdn-traffic-manager.png" alt-text="Diagram of Azure Traffic Manager distributing traffic between Azure Front Door and Azure CDN from Edgio.":::
32+
3033
### Gather information
3134

3235
1. Collect the following information from your Azure CDN from Edgio profile:
36+
37+
- Endpoints
38+
- Origin configurations
39+
- Custom domains
3340
- Caching settings
41+
- Compression settings
3442
- Web application firewall (WAF) settings
3543
- Custom rules settings
3644

37-
1. Determine which version of Azure Front Door is suitable for your workloads. For more information, see [Azure Front Door comparison](../frontdoor/front-door-cdn-comparison.md).
45+
1. Determine which tier of Azure Front Door is suitable for your workloads. For more information, see [Azure Front Door comparison](../frontdoor/front-door-cdn-comparison.md).
3846

3947
1. Review the origin settings in your Azure CDN from Edgio profile.
4048

41-
1. Determine a test URL with your Azure CDN from Edgio profile and perform a wget or Invoke-WebRequest to get the HTTP header information. Enter this URL into the monitoring tool to understand the geographic availability of your URL.
49+
1. Determine a test URL with your Azure CDN from Edgio profile and perform a `wget` or `Invoke-WebRequest` to obtain the HTTP header information.
50+
51+
1. Enter the URL into the monitoring tool to understand the geographic availability of your URL.
4252

4353
### Set up Azure Front Door
4454

4555
1. From the Azure portal, select **+ Create a resource**, then search for **Front Door**.
4656

47-
1. Select **Create**.
57+
1. Select **Front Door and CDN profiles** and then select **Create**.
4858

49-
1. Select **Azure Front Door** and then select **Custom create**.
59+
1. On the *Compare offerings* pages, select **Azure Front Door** and then select **Custom create**.
60+
61+
1. Select **Continue to create a Front Door**.
5062

5163
1. Select the subscription and resource group. Enter a name for the Azure Front Door profile. Then select the tier that best suits your workloads and select the **Endpoint** tab.
5264

53-
1. Select **Add an endpoint**. Enter a name for the endpoint, then select **Add**.
65+
1. Select **Add an endpoint**. Enter a name for the endpoint, then select **Add**. The endpoint name will look like `<endpointname>-<hash>.xxx.azurefd.net`.
5466

5567
1. Select **+ Add a route**. Enter a name for the route and note the **Domain** selected. Leave the **Patterns to match** and **Accepted protocols** as the default settings.
5668

@@ -59,55 +71,51 @@ The followings steps assume you're using an Azure Blob Storage account as your o
5971
6072
1. Select **Add a new origin group**. Enter a name for the origin group and select the **+ Add an origin** button. Enter the origin name and select the origin type. This example uses Azure Blob Storage, so select **Storage** as the origin type. Select the hostname of the Azure Blob Storage account and leave the rest of the settings as default. Select **Add**.
6173

74+
:::image type="content" source="./media/migrate-cdn-to-front-door/add-origin.png" alt-text="Screenshot of adding an Azure Blob Storage as an origin to Azure Front Door.":::
75+
6276
1. Leave the rest of the settings as default and select **Add**.
6377

6478
1. If caching was enabled in your Azure CDN from Edgio profile, select **Enable caching** and set the caching rules.
6579

6680
> [!NOTE]
6781
> Azure CDN from Edgio *Standard-cache* is equivalent to Azure Front Door *Ignore query string* caching.
6882
69-
1. Select **Enable compression** if you have compression enabled in your Azure CDN from Edgio profile.
70-
71-
> [!NOTE]
72-
> Ensure the origin path matches the path in your Azure CDN from Edgio profile. If this isn't set correctly, the origin won't be able to serve the content and will return a 4xx error.
83+
1. Select **Enable compression** if you have compression enabled in your Azure CDN from Edgio profile. Ensure the origin path matches the path in your Azure CDN from Edgio profile. If this isn't set correctly, the origin won't be able to serve the content and will return a 4xx error.
7384

7485
1. Select **Add** to create the route.
7586

7687
1. Select **+ Add a policy** to set up web application firewall (WAF) settings and set up custom rules you determined in the previous steps.
7788

7889
1. Select **Review + create** and then select **Create**.
7990

80-
1. Set up the custom domain for the Azure Front Door profile. For more information, see [Custom domains](../frontdoor/how-to-add-custom-domain.md).
81-
82-
> [!NOTE]
83-
> You may have multiple custom domains in your Azure CDN from Edgio profile. Ensure you add all custom domains to the Azure Front Door profile and associate them with the correct routes.
91+
1. Set up the custom domain for the Azure Front Door profile. For more information, see [Custom domains](../frontdoor/how-to-add-custom-domain.md). You may have multiple custom domains in your Azure CDN from Edgio profile. Ensure you add all custom domains to the Azure Front Door profile and associate them with the correct routes.
8492

8593
### Set up Traffic Manager
8694

87-
The steps in this section need to be repeated for each endpoint in your Azure CDN from Edgio profile.
95+
The steps in this section need to be repeated for each endpoint in your Azure CDN from Edgio profile. It is critical that the health check is set up correctly to ensure that the Traffic Manager profile routes traffic to the Azure CDN or Azure Front Door.
8896

8997
1. From the Azure portal, select **+ Create a resource**, then search for **Traffic Manager profile**.
9098

9199
1. Enter a name for the Traffic Manager profile.
92100

93101
1. Select the routing method **Weighted**.
94102

95-
1. Select the same subscription and resource group as the Azure Front Door profile.
96-
97-
1. Select **Create**.
103+
1. Select the same subscription and resource group as the Azure Front Door profile then select **Create**.
98104

99105
1. Select **Endpoints** from the left-hand menu, and then select **+ Add**.
100106

101107
1. For the **Type**, select **External endpoint**.
102108

103109
1. Enter a name for the endpoint and leave the **Enable Endpoint** checked.
104110

105-
1. Enter the **Fully-qualified domain name (FQDN)** of the Azure CDN from Edgio profile. For example, `your-domain.azureedge.net`.
111+
1. Enter the **Fully-qualified domain name (FQDN)** of the Azure CDN from Edgio profile. For example, `yourdomain.azureedge.net`.
106112

107113
1. Set the **Weight** to 100.
108114

109115
1. For *Health check*, select **Always serve traffic**. This setting disables the health check and always routes traffic to the endpoint.
110116

117+
:::image type="content" source="./media/migrate-cdn-to-front-door/cdn-endpoint.png" alt-text="Screenshot of adding the Azure CDN from Edgio as an endpoint in Azure Traffic Manager.":::
118+
111119
1. Add another endpoint for the Azure Front Door profile and select **External endpoint**.
112120

113121
1. Enter a name for the endpoint and uncheck the **Enable Endpoint** setting.
@@ -118,15 +126,15 @@ The steps in this section need to be repeated for each endpoint in your Azure CD
118126

119127
1. Since the endpoint is disabled, the **Health check** setting isn't relevant.
120128

121-
### Internal testing of Traffic Manager
129+
### Internal testing of Traffic Manager profile
122130

123-
1. Perform a DNS dig to test the Traffic Manager profile: `dig your-traffic-manager-name.trafficmanager.net`. The dig command should return the CNAME of the Azure CDN from Edgio profile: `your-old-CNAME.azureedge.net`.
131+
1. Perform a DNS dig to test the Traffic Manager profile: `dig your-profile.trafficmanager.net`. The dig command should always return the CNAME of the Azure CDN from Edgio profile: `yourdomain.azureedge.net`.
124132

125133
1. Test the Azure Front Door profile by manually adding a DNS entry in your local hosts file pointing to the Azure Front Door profile:
126134

127135
1. Get the IP address of the Azure Front Door profile by performing a DNS dig.
128136

129-
1. Add a new line to your hosts file with the IP address followed by `get.helm.sh`
137+
1. Add a new line to your hosts file with the IP address followed by a space and then `your-new-endpoint-name.azurefd.net`. For example, `203.0.113.254 your-new-endpoint-name.azurefd.net`.
130138

131139
1. For Windows, the hosts file is located at `C:\Windows\System32\drivers\etc\hosts`.
132140

@@ -138,9 +146,11 @@ The steps in this section need to be repeated for each endpoint in your Azure CD
138146

139147
### Configure Traffic Manager with CNAME
140148

149+
We only recommend this step after you have fully tested the Azure Front Door profile and are confident that it is working as expected.
150+
141151
1. Sign into your DNS provider and locate the CNAME record for the Azure CDN from Edgio profile.
142152

143-
1. Locate the custom domain you want to migrate to Azure Front Door. and set the time-to-live (TTL) to 600 secs (10 minutes).
153+
1. Locate the custom domain you want to migrate to Azure Front Door and set the time-to-live (TTL) to 600 secs (10 minutes).
144154

145155
1. Update the CNAME record to point to the Traffic Manager profile: `your-profile.trafficmanager.net`.
146156

@@ -158,24 +168,29 @@ The initial traffic distribution starts by routing a small percentage of traffic
158168

159169
1. Start by routing 10% of the traffic to the Azure Front Door profile and the rest to the Azure CDN from Edgio profile.
160170

161-
1. Monitor the performance of the Azure Front Door profile and the Azure CDN from Edgio profile using the monitoring tool. Perform testing with Catchpoint and look for error rates and cache hit ratios in the logs.
171+
1. Monitor the performance of the Azure Front Door profile and the Azure CDN from Edgio profile using the monitoring tool you set up earlier. Review your internal applications and systems logs to ensure that the Azure Front Door profile is working as expected. Look at metrics and logs to observe for 4xx/5xx errors, cache/byte hit ratios, and origin health.
162172

163173
> [!NOTE]
164174
> If you don't have access to a third-party tool, you can use [Webpagetest](https://webpagetest.org) to verify the availability of your endpoint from a remote location. However, this tool only provides a limited view of your URLs from a few locations around the world, so you may not see any changes until you have fully shifted traffic to the Azure Front Door profile.
165175
166176
1. Gradually increase the traffic percentage to the Azure Front Door profile by 10% increments until all traffic is routed to the Azure Front Door profile. Ensure that you're testing and monitoring the performance of the Azure Front Door profile at each increment.
167177

168178
1. Once you're confident that the Azure Front Door profile is working as expected, update the Traffic Manager profile to route all traffic to the Azure Front Door profile.
169-
1. Ensure the Azure Front Door endpoint is enabled, Weight is set to 100, and the health check is set to **Always serve traffic**.
179+
180+
1. Ensure the Azure Front Door endpoint is enabled, Weight is set to 100, and the health check is set to **Always serve traffic**.
181+
170182
1. Ensure the Azure CDN from Edgio endpoint is disabled.
171183

172184
### Remove Azure Traffic Manager
173185

174-
1. Sign in to your DNS provider. Change the CNAME record from the Traffic Manager profile to the Azure Front Door profile: `<endpoingname>-<hash>.xxx.azurefd.net`.
186+
1. Sign in to your DNS provider. Change the CNAME record from the Traffic Manager profile to the Azure Front Door profile: `<endpointname>-<hash>.xxx.azurefd.net`.
175187

176188
1. Over the next few hours, begin testing using dig, and monitor using the monitoring tool to ensure the DNS is fully propagated correctly around the world.
177189

178190
1. Set the DNS TTL back to the original value (60 minutes).
179191

192+
At this stage you have fully migrated all traffic from Azure CDN from Edgio to Azure Front Door.
193+
180194
## Next steps
181195

196+
Learn about [best practices](best-practices.md) for Azure Front Door.

0 commit comments

Comments
 (0)