You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/frontdoor/post-migration-dev-ops-experience.md
+18-20Lines changed: 18 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,9 @@ title: Post migration Dev-Ops experience
3
3
description: Guidance to update Terraform, ARM templates, Bicep, PowerShell, and Azure CLI pipelines after migrating from Azure Front Door (Classic) or CDN Classic to Azure Front Door Standard/Premium.
4
4
author: jainsabal
5
5
ms.author: jainsabal
6
-
ms.service: azure-front-door
6
+
ms.service: azure-frontdoor
7
7
ms.topic: overview
8
-
ms.date: 2025-08-06
9
-
10
-
#CustomerIntent: As a <type of user>, I want <what?> so that <why?>.
8
+
ms.date: 08/06/2025
11
9
---
12
10
# Post Migration Dev-Ops experience
13
11
@@ -18,13 +16,13 @@ After migrating from Azure Front Door (Classic) or CDN Classic to Azure Front Do
18
16
### Prerequisites
19
17
20
18
- Ensure the Terraform CLI is installed. See [Install Terraform](https://developer.hashicorp.com/terraform/tutorials/azure-get-started/install-cli).
21
-
- Install the Azure Resource Manager Export extension for Terraform to export existing Azure resources to Terraform templates. See [Overview of Azure Export for Terraform](https://learn.microsoft.com/en-us/azure/developer/terraform/azure-export-for-terraform/export-terraform-overview).
19
+
- Install the Azure Resource Manager Export extension for Terraform to export existing Azure resources to Terraform templates. See [Overview of Azure Export for Terraform](https://learn.microsoft.com/azure/developer/terraform/azure-export-for-terraform/export-terraform-overview).
22
20
23
21
### Steps
24
22
25
23
After migration, all classic AFD resources are migrated to AFD Standard and Premium. Then:
26
24
27
-
-**Export the new AFD Standard/Premium configuration**: Use Azure’s export tool to generate Terraform configurations for your new Front Door Standard/Premium resources. Follow [Quickstart: Export your first resources using Azure Export for Terraform](https://learn.microsoft.com/en-us/azure/developer/terraform/azure-export-for-terraform/export-first-resources?tabs=azure-cli) to export the Front Door Standard/Premium resources into Terraform files.
25
+
-**Export the new AFD Standard/Premium configuration**: Use Azure’s export tool to generate Terraform configurations for your new Front Door Standard/Premium resources. Follow [Quickstart: Export your first resources using Azure Export for Terraform](https://learn.microsoft.com/azure/developer/terraform/azure-export-for-terraform/export-first-resources?tabs=azure-cli) to export the Front Door Standard/Premium resources into Terraform files.
28
26
-**Update Terraform templates in your pipeline**: Replace references to Front Door Classic resources with the exported Standard/Premium configuration.
29
27
- For AFD Classic, the Terraform resource is [`azurerm_frontdoor`](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/frontdoor).
30
28
- For CDN Classic, use the [`azurerm_cdn_*`](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/cdn_endpoint) resources.
@@ -38,40 +36,40 @@ After migration, all classic AFD resources are migrated to AFD Standard and Prem
38
36
After migration, all classic AFD resources are migrated to AFD Standard and Premium.
39
37
40
38
-**Export ARM templates for Front Door Standard/Premium** using any of the following:
41
-
-**Azure portal**: [Export template in Azure portal](https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-portal).
42
-
-**Azure CLI**: [Export template in Azure CLI](https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-cli).
43
-
-**Azure PowerShell**: [Export template in Azure PowerShell](https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-powershell).
39
+
-**Azure portal**: [Export template in Azure portal](https://learn.microsoft.com/azure/azure-resource-manager/templates/export-template-portal).
40
+
-**Azure CLI**: [Export template in Azure CLI](https://learn.microsoft.com/azure/azure-resource-manager/templates/export-template-cli).
41
+
-**Azure PowerShell**: [Export template in Azure PowerShell](https://learn.microsoft.com/azure/azure-resource-manager/templates/export-template-powershell).
44
42
-**Update ARM templates in your pipeline** to use the new Front Door Standard/Premium template instead of the Front Door (Classic) template. In Azure DevOps or GitHub Actions, update the template path and parameters in your deployment step, then deploy the new template.
45
43
-**Validate**: Remove or archive references to the classic Front Door template to avoid confusion.
46
44
47
45
## Bicep
48
46
49
47
### Prerequisites
50
48
51
-
- Install the Bicep CLI and tools. See [Set up Bicep development and deployment environments](https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/install).
49
+
- Install the Bicep CLI and tools. See [Set up Bicep development and deployment environments](https://learn.microsoft.com/azure/azure-resource-manager/bicep/install).
52
50
53
51
### Steps
54
52
55
53
After migration, all classic AFD resources are migrated to AFD Standard and Premium.
56
54
57
-
-**Generate a Bicep template for Front Door Standard/Premium** by decompiling an exported ARM template. See [Decompile ARM template JSON to Bicep](https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/decompile?tabs=azure-cli).
58
-
-**Update Bicep files in your pipeline**: Replace Front Door Classic definitions with Standard/Premium. This may include updating resource types such as [`Microsoft.Cdn/profiles`](https://learn.microsoft.com/en-us/azure/templates/microsoft.cdn/profiles?pivots=deployment-language-bicep) and child resources (endpoints, routes, etc.).
55
+
-**Generate a Bicep template for Front Door Standard/Premium** by decompiling an exported ARM template. See [Decompile ARM template JSON to Bicep](https://learn.microsoft.com/azure/azure-resource-manager/bicep/decompile?tabs=azure-cli).
56
+
-**Update Bicep files in your pipeline**: Replace Front Door Classic definitions with Standard/Premium. This may include updating resource types such as [`Microsoft.Cdn/profiles`](https://learn.microsoft.com/azure/templates/microsoft.cdn/profiles?pivots=deployment-language-bicep) and child resources (endpoints, routes, etc.).
59
57
-**Test** a deployment (for example, `az deployment group create`) to verify provisioning of AFD Standard/Premium.
60
58
61
59
## PowerShell
62
60
63
61
### Prerequisites
64
62
65
-
Make sure you have the latest Azure PowerShell Az modules installed (Az.Cdn module version that supports AFD Standard/Premium). See [Install Azure PowerShell](https://learn.microsoft.com/en-us/powershell/azure/install-azps-windows?view=azps-14.2.0&tabs=powershell&pivots=windows-psgallery).
63
+
Make sure you have the latest Azure PowerShell Az modules installed (Az.Cdn module version that supports AFD Standard/Premium). See [Install Azure PowerShell](https://learn.microsoft.com/powershell/azure/install-azps-windows?view=azps-14.2.0&tabs=powershell&pivots=windows-psgallery).
66
64
67
65
### Steps
68
66
69
-
-**Update PowerShell deployment scripts**: Replace any Front Door (Classic) cmdlets with AFD Standard/Premium cmdlets. For examples, see the [Azure Front Door PowerShell quickstart](https://learn.microsoft.com/azure/frontdoor/create-front-door-powershell).
67
+
-**Update PowerShell deployment scripts**: Replace any Front Door (Classic) cmdlets with AFD Standard/Premium cmdlets. For examples, see the [Azure Front Door PowerShell quickstart](create-front-door-powershell.md).
70
68
-**Incorporate new configuration and remove old references**: Ensure scripts configure required components (origins, origin groups, routes, rules, etc.). Remove or comment commands that manage Classic Front Door.
71
69
- Command group mapping:
72
-
- AzFrontDoorCdn commands under the [Az.Cdn module](https://learn.microsoft.com/en-us/powershell/module/az.cdn/?view=azps-14.2.0) are for AFD Standard/Premium.
73
-
- AzCdn commands under the [Az.Cdn module](https://learn.microsoft.com/en-us/powershell/module/az.cdn/?view=azps-14.2.0) are for CDN Classic.
74
-
- The [Az.FrontDoor module](https://learn.microsoft.com/en-us/powershell/module/az.frontdoor/?view=azps-14.2.0) is for AFD Classic.
70
+
- AzFrontDoorCdn commands under the [Az.Cdn module](https://learn.microsoft.com/powershell/module/az.cdn/?view=azps-14.2.0) are for AFD Standard/Premium.
71
+
- AzCdn commands under the [Az.Cdn module](https://learn.microsoft.com/powershell/module/az.cdn/?view=azps-14.2.0) are for CDN Classic.
72
+
- The [Az.FrontDoor module](https://learn.microsoft.com/powershell/module/az.frontdoor/?view=azps-14.2.0) is for AFD Classic.
75
73
-**Test** your script (locally or in a test pipeline) to verify creation or updates to AFD Standard/Premium, then commit changes to your pipeline.
76
74
77
75
## CLI
@@ -83,10 +81,10 @@ Make sure you have the latest Azure PowerShell Az modules installed (Az.Cdn modu
83
81
84
82
### Steps
85
83
86
-
-**Update CLI commands in scripts**: Use the Azure Front Door Standard/Premium command group: [`az afd`](https://learn.microsoft.com/en-us/cli/azure/afd?view=azure-cli-latest).
84
+
-**Update CLI commands in scripts**: Use the Azure Front Door Standard/Premium command group: [`az afd`](https://learn.microsoft.com/cli/azure/afd?view=azure-cli-latest).
87
85
-**Replace or remove Front Door Classic CLI usage**:
0 commit comments