Skip to content

Commit 1a07eba

Browse files
authored
Merge pull request #203758 from duongau/patch-8
AFD ARM template - review of PM changes
2 parents 1cef703 + 34b59b5 commit 1a07eba

File tree

2 files changed

+29
-22
lines changed

2 files changed

+29
-22
lines changed

articles/frontdoor/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
href: create-front-door-powershell.md
3434
- name: Create a Front Door - CLI
3535
href: create-front-door-cli.md
36-
- name: Create a Front Door - ARM
36+
- name: Create a Front Door - ARM template
3737
href: create-front-door-template.md
3838
- name: Classic
3939
items:

articles/frontdoor/create-front-door-template.md

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.custom: devx-track-azurepowershell, subject-armqs, mode-arm
1717

1818
# Quickstart: Create a Front Door Standard/Premium using an ARM template
1919

20-
This quickstart describes how to use an Azure Resource Manager template (ARM Template) to create an Azure Front Door Standard/Premium with a Web App as origin
20+
This quickstart describes how to use an Azure Resource Manager template (ARM Template) to create an Azure Front Door Standard/Premium with a Web App as origin.
2121

2222
[!INCLUDE [About Azure Resource Manager](../../includes/resource-manager-quickstart-introduction.md)]
2323

@@ -38,38 +38,41 @@ In this quickstart, you'll create a Front Door Standard/Premium, an App Service,
3838

3939
:::code language="json" source="~/quickstart-templates/quickstarts/microsoft.cdn/front-door-standard-premium-app-service-public/azuredeploy.json":::
4040

41-
One Azure resource is defined in the template:
41+
Multiple Azure resources are defined in the template:
4242

4343
* [**Microsoft.Network/frontDoors**](/azure/templates/microsoft.network/frontDoors)
44+
* [**Microsoft.Web/serverfarms**](/azure/templates/microsoft.web/serverfarms) (App service plan to host web apps)
45+
* [**Microsoft.Web/sites**](/azure/templates/microsoft.web/sites) (Web app origin servicing request for Front Door)
46+
*
4447

4548
## Deploy the template
4649

4750
1. Select **Try it** from the following code block to open Azure Cloud Shell, and then follow the instructions to sign in to Azure.
4851

49-
> [!NOTE]
50-
> If you want to deploy Azure Front Door Premium instead of Standard substitute the value of the sku parameter with `Premium_AzureFrontDoor`. For detailed comparison, view [Azure Front Door tier comparison](standard-premium/tier-comparison.md).
52+
> [!NOTE]
53+
> If you want to deploy Azure Front Door Premium instead of Standard substitute the value of the sku parameter with `Premium_AzureFrontDoor`. For detailed comparison, view [Azure Front Door tier comparison](standard-premium/tier-comparison.md).
5154
5255

53-
```azurepowershell-interactive
54-
$projectName = Read-Host -Prompt "Enter a project name that is used for generating resource names"
55-
$location = Read-Host -Prompt "Enter the location (i.e. centralus)"
56-
$templateUri = "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.cdn/front-door-standard-premium-app-service-public/azuredeploy.json"
56+
```azurepowershell-interactive
57+
$projectName = Read-Host -Prompt "Enter a project name that is used for generating resource names"
58+
$location = Read-Host -Prompt "Enter the location (i.e. centralus)"
59+
$templateUri = "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.cdn/front-door-standard-premium-app-service-public/azuredeploy.json"
5760
58-
$resourceGroupName = "${projectName}rg"
61+
$resourceGroupName = "${projectName}rg"
5962
60-
New-AzResourceGroup -Name $resourceGroupName -Location "$location"
61-
New-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName -TemplateUri $templateUri -frontDoorSkuName Standard_AzureFrontDoor
63+
New-AzResourceGroup -Name $resourceGroupName -Location "$location"
64+
New-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName -TemplateUri $templateUri -frontDoorSkuName Standard_AzureFrontDoor
6265
63-
Read-Host -Prompt "Press [ENTER] to continue ..."
64-
```
66+
Read-Host -Prompt "Press [ENTER] to continue ..."
67+
```
6568
66-
Wait until you see the prompt from the console.
69+
Wait until you see the prompt from the console.
6770
68-
2. Select **Copy** from the previous code block to copy the PowerShell script.
71+
1. Select **Copy** from the previous code block to copy the PowerShell script.
6972
70-
3. Right-click the shell console pane and then select **Paste**.
73+
1. Right-click the shell console pane and then select **Paste**.
7174
72-
4. Enter the values.
75+
1. Enter the values.
7376
7477
The template deployment creates a Front Door with a web app as origin
7578
@@ -88,11 +91,11 @@ Azure PowerShell is used to deploy the template. In addition to Azure PowerShell
8891
8992
1. Sign in to the [Azure portal](https://portal.azure.com).
9093
91-
2. Select **Resource groups** from the left pane.
94+
1. Select **Resource groups** from the left pane.
9295
93-
3. Select the resource group that you created in the previous section. The default resource group name is the project name with **rg** appended.
96+
1. Select the resource group that you created in the previous section. The default resource group name is the project name with **rg** appended.
9497
95-
4. Select the Front Door you created previously and you'll be able to see the endpoint hostname. Copy the hostname and paste it on to the address bar of a browser. Press enter and your request will automatically get routed to the web app.
98+
1. Select the Front Door you created previously and you'll be able to see the endpoint hostname. Copy the hostname and paste it on to the address bar of a browser. Press enter and your request will automatically get routed to the web app.
9699
97100
:::image type="content" source="./media/create-front-door-portal/front-door-web-app-origin-success.png" alt-text="Screenshot of the message: Your web app is running and waiting for your content.":::
98101
@@ -110,7 +113,11 @@ Remove-AzResourceGroup -Name <your resource group name>
110113

111114
## Next steps
112115

113-
In this quickstart, you created a Front Door.
116+
In this quickstart, you created a:
117+
118+
* Front Door
119+
* App Service plan
120+
* Web App
114121

115122
To learn how to add a custom domain to your Front Door, continue to the Front Door tutorials.
116123

0 commit comments

Comments
 (0)