|
| 1 | +--- |
| 2 | +title: Migrating to Front Door while retaining *.azureedge.net domain |
| 3 | +titleSuffix: Azure Content Delivery Network |
| 4 | +description: Learn how to migrate your workloads from Azure CDN from Edgio to Azure Front Door while retaining *.azureedge.net domain. |
| 5 | +services: frontdoor |
| 6 | +author: duongau |
| 7 | +ms.service: azure-frontdoor |
| 8 | +ms.topic: how-to |
| 9 | +ms.date: 12/20/2024 |
| 10 | +ms.author: duau |
| 11 | +--- |
| 12 | + |
| 13 | +# Migrating to Azure Front Door while retaining *.azureedge.net domain |
| 14 | + |
| 15 | +> [!IMPORTANT] |
| 16 | +> This is a temporary measure due to the sudden and imminent retirement of Azure CDN from Edgio. Relying on domains like `*.azureedge.net` and `*.azurefd.net` isn'tt recommended as it poses availability risks. To ensure greater flexibility and avoid a single point of failure, adopt a custom domain as soon as possible. |
| 17 | +
|
| 18 | +This article provides you with instructions for migrating to Azure Front Door from Azure CDN from Edgio while retaining the `*.azureedge.net` domain. |
| 19 | + |
| 20 | +## Prerequisites |
| 21 | + |
| 22 | +- Review the [feature differences](../frontdoor/front-door-cdn-comparison.md) between Azure CDN and Azure Front Door to identify any compatibility gaps. |
| 23 | +- Ensure you have access to a VM connected to the internet that can run Wget on Linux or `Invoke-WebRequest` on Windows using PowerShell. |
| 24 | +- Use a monitoring tool such as CatchPoint or ThousandEyes to verify the availability of your URLs before and after the migration. These tools are ideal because they can monitor the availability of your URLs from different global locations. Alternatively, you can use webpagetest.org, but it provides a limited view from a few locations. |
| 25 | +- Migration is supported only to Azure Front Door Standard and Premium SKUs. |
| 26 | +- Bring Your Own Certificate (BYOC) isn't supported for these domains. |
| 27 | +- Only the `.azureedge.net` domain is supported. |
| 28 | +- The `*.vo.msecnd.net` domain isn't supported. |
| 29 | + |
| 30 | + > [!NOTE] |
| 31 | + > - The following steps assume you're using an Azure Blob Storage account as your origin. If you're using a different origin, adjust the steps accordingly. |
| 32 | + > - If you are already using custom domains on Edgio, follow the steps in [Migrate Azure CDN from Edgio to Azure Front Door](../frontdoor/migrate-cdn-to-front-door.md). |
| 33 | +
|
| 34 | + > [!IMPORTANT] |
| 35 | +> If you plan to migrate to Azure Front Door, set the Feature Flag **DoNotForceMigrateEdgioCDNProfiles** before January 7, 2025 using [Set up preview feature](../azure-resource-manager/management/preview-features.md). This will prevent Microsoft from auto-migrating your profiles to Azure Front Door. Auto-migration is on a *best effort* basis and may cause issues with billing, features, availability, and performance. Complete your migration to another CDN by January 14, 2025, as we can't guarantee service availability on the Edgio platform after this date. |
| 36 | +
|
| 37 | +## Gather information |
| 38 | + |
| 39 | +1. Collect the following information from your Azure CDN from Edgio profile: |
| 40 | + - Endpoints |
| 41 | + - Origin configurations |
| 42 | + - Custom domains |
| 43 | + - Caching settings |
| 44 | + - Compression settings |
| 45 | + - Web application firewall (WAF) settings |
| 46 | + - Custom rules settings |
| 47 | + |
| 48 | +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). |
| 49 | + |
| 50 | +1. Review the origin settings in your Azure CDN from Edgio profile. |
| 51 | + |
| 52 | +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. |
| 53 | + |
| 54 | +1. Enter the URL into the monitoring tool to understand the geographic availability of your URL. |
| 55 | + |
| 56 | +## Set up Azure Front Door |
| 57 | + |
| 58 | +1. Go to Front Door and CDN profiles, then select **Create**. |
| 59 | + |
| 60 | +1. On the Compare offerings page, select **Azure Front Door** and then **Custom create**. |
| 61 | + |
| 62 | +1. Select **Continue** to create an Azure Front Door. |
| 63 | + |
| 64 | +1. Choose the subscription and resource group. Enter a name for the Azure Front Door profile. Select the tier that best suits your workloads and select the **Endpoint** tab. |
| 65 | + |
| 66 | +1. Select **Add an endpoint**. Enter a name for the endpoint, then select **Add**. Note down the endpoint hostname, which looks like `<endpointname>-<hash>.xxx.azurefd.net`. |
| 67 | + |
| 68 | +1. Select **+ Add a route**. Enter a name for the route. |
| 69 | + |
| 70 | +1. Select **Add a new domain**. Use the following settings and select **Add**: |
| 71 | + |
| 72 | + | Field | Value | |
| 73 | + |---------------------|--------------------------------| |
| 74 | + | Domain type | Non-Azure validated domain | |
| 75 | + | DNS management | All other DNS services | |
| 76 | + | Custom domain | `<existing_endpoint_name>.azureedge.net` | |
| 77 | + | Certificate type | AFD managed | |
| 78 | + | Minimum TLS version | TLS 1.2 | |
| 79 | + |
| 80 | +1. In the Add a route setting, leave the Patterns to match and Accepted protocols as default. |
| 81 | + |
| 82 | + > [!NOTE] |
| 83 | + > A CDN profile can have multiple endpoints, so you may need to create multiple routes. |
| 84 | + |
| 85 | +1. Select **Add a new origin group**. Enter a name for the origin group and select **+ Add an origin**. Enter the origin name and select the origin type. For Azure Blob Storage, select **Storage** as the origin type. Choose the hostname of the Azure Blob Storage account and leave the rest of the settings as default. Select **Add**. |
| 86 | + |
| 87 | +1. Leave the rest of the settings as default and select **Add**. |
| 88 | + |
| 89 | +1. If caching was enabled in your Azure CDN from Edgio profile, select **Enable caching** and set the caching rules. |
| 90 | + |
| 91 | + > [!NOTE] |
| 92 | + > Azure CDN from Edgio Standard-cache is equivalent to Azure Front Door Ignore query string caching. |
| 93 | +
|
| 94 | +1. Select **Enable compression** if it was enabled in your Azure CDN from Edgio profile. Ensure the origin path matches the path in your Azure CDN from Edgio profile to avoid 4xx errors. |
| 95 | + |
| 96 | +1. Select **Add** to create the route. |
| 97 | + |
| 98 | +1. Select **+ Add a policy** to set up web application firewall (WAF) settings and custom rules as determined in the previous steps. |
| 99 | + |
| 100 | +1. Select **Review + create** and then **Create**. |
| 101 | + |
| 102 | + > [!NOTE] |
| 103 | + > - 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. |
| 104 | + > - Domain validation isn't required for `*.azureedge.net` domains as long as it is a valid Edgio endpoint owned by the same customer in the same Entra ID Tenant. |
| 105 | +
|
| 106 | +1. After creating the profile, thoroughly test it by directing traffic to the endpoint hostname. Verify that the endpoint is functioning correctly and serving content as expected. |
| 107 | + |
| 108 | +## DNS changes |
| 109 | + |
| 110 | +1. Create a support request with the following details. If you have already created a support case for the Edgio retirement, there's no need to create a new one. |
| 111 | + |
| 112 | + - **Issue type**: Technical |
| 113 | + - **Subscription**: Your subscription |
| 114 | + - **Service**: My services, then select Azure CDN |
| 115 | + - **Summary**: "DNS flip of `<existing_endpoint_name>.azureedge.net` to `<new_endpoint_name>.azurefd.net`" |
| 116 | + - **Problem type**: Migrating Microsoft CDN to Front Door Standard or Premium |
| 117 | + |
| 118 | +1. Skip the *Recommended solutions* section. |
| 119 | + |
| 120 | +1. Under **Additional details**, provide the following information: |
| 121 | + |
| 122 | + - AFD profile name |
| 123 | + - Resource group of AFD profile |
| 124 | + - Subscription ID of AFD profile |
| 125 | + - AFD endpoint hostname (for example, `contoso.azurefd.net`) |
| 126 | + - Azure CDN from Edgio endpoint hostname (for example, `contoso.azureedge.net`) |
| 127 | + |
| 128 | +1. The Azure support team makes the necessary DNS changes. Traffic will now start being served by the Azure Front Door service. |
| 129 | + |
| 130 | +## Next steps |
| 131 | + |
| 132 | +Learn about [best practices](../frontdoor/best-practices.md) for Azure Front Door. |
0 commit comments