|
1 | 1 | ---
|
2 |
| -title: Deploy Azure Firewall using a template |
3 |
| -description: Deploy Azure Firewall using a template. The created network has one VNet with three subnets. Two, two-core Windows Server virtual machines are deployed. |
| 2 | +title: 'Quickstart: Create an Azure Firewall with Availability Zones - Resource Manager template' |
| 3 | +description: Deploy Azure Firewall using a template. The virtual network has one VNet with three subnets. Two Windows Server virtual machines are deployed; a jump box and a server. |
4 | 4 | services: firewall
|
5 | 5 | author: vhorne
|
6 | 6 | ms.service: firewall
|
7 |
| -ms.topic: article |
8 |
| -ms.date: 11/19/2019 |
| 7 | +ms.topic: quickstart |
| 8 | +ms.date: 04/30/2020 |
9 | 9 | ms.author: victorh
|
10 | 10 | ---
|
11 | 11 |
|
12 |
| -# Deploy Azure Firewall using a template |
| 12 | +# Quickstart: Deploy Azure Firewall with Availability Zones - Resource Manager template |
13 | 13 |
|
14 |
| -The [Create AzureFirewall sandbox setup template](https://github.com/Azure/azure-quickstart-templates/tree/master/101-azurefirewall-with-zones-sandbox) creates a test network environment with a firewall. The network has one virtual network (VNet) with three subnets: *AzureFirewallSubnet*, *ServersSubnet*, and *JumpboxSubnet*. The *ServersSubnet* and *JumpboxSubnet* subnet each have a single, two-core Windows Server virtual machine. |
| 14 | +In this quickstart, you use a Resource Manager template to deploy an Azure Firewall in three Availability Zones. |
| 15 | + |
| 16 | +The template creates a test network environment with a firewall. The network has one virtual network (VNet) with three subnets: *AzureFirewallSubnet*, *ServersSubnet*, and *JumpboxSubnet*. The *ServersSubnet* and *JumpboxSubnet* subnet each have a single, two-core Windows Server virtual machine. |
15 | 17 |
|
16 | 18 | The firewall is in the *AzureFirewallSubnet* subnet, and has an application rule collection with a single rule that allows access to `www.microsoft.com`.
|
17 | 19 |
|
18 | 20 | A user-defined route points network traffic from the *ServersSubnet* subnet through the firewall, where the firewall rules are applied.
|
19 | 21 |
|
| 22 | +[!INCLUDE [About Azure Resource Manager](../../includes/resource-manager-quickstart-introduction.md)] |
| 23 | + |
20 | 24 | For more information about Azure Firewall, see [Deploy and configure Azure Firewall using the Azure portal](tutorial-firewall-deploy-portal.md).
|
21 | 25 |
|
| 26 | +## Prerequisites |
| 27 | + |
| 28 | +- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F). |
| 29 | + |
| 30 | +## Create an Azure Firewall with Availability Zones |
| 31 | + |
| 32 | +This template creates an Azure Firewall with Availability Zones, along with the necessary resources to support the Azure Firewall. |
| 33 | + |
| 34 | +### Review the template |
22 | 35 |
|
23 |
| -[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)] |
| 36 | +The template used in this quickstart is from [Azure Quickstart templates](https://github.com/Azure/azure-quickstart-templates/blob/master/101-azurefirewall-with-zones-sandbox/azuredeploy.json). |
24 | 37 |
|
25 |
| -## Use the template to deploy Azure Firewall |
| 38 | +:::code language="json" source="~/quickstart-templates/101-azurefirewall-with-zones-sandbox/azuredeploy.json" range="001-444" highlight="369-442"::: |
26 | 39 |
|
27 |
| -If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin. |
| 40 | +Multiple Azure resources are defined in the template: |
28 | 41 |
|
29 |
| -**To install and deploy Azure Firewall by using the template:** |
| 42 | +- [**Microsoft.Network/publicIPAddresses**](/azure/templates/microsoft.network/publicipaddresses) |
| 43 | +- [**Microsoft.Network/networkSecurityGroups**](/azure/templates/microsoft.network/networksecuritygroups) |
| 44 | +- [**Microsoft.Network/virtualNetworks**](/azure/templates/microsoft.network/virtualnetworks) |
| 45 | +- [**Microsoft.Compute/virtualMachines**](/azure/templates/microsoft.compute/virtualmachines) |
| 46 | +- [**Microsoft.Network/networkInterfaces**](/azure/templates/microsoft.network/networkinterfaces) |
| 47 | +- [**Microsoft.Storage/storageAccounts**](/azure/templates/microsoft.storage/storageAccounts) |
| 48 | +- [**Microsoft.Network/azureFirewalls**](/azure/templates/microsoft.network/azureFirewalls) |
| 49 | +- [**Microsoft.Network/routeTables**](/azure/templates/microsoft.network/routeTables) |
30 | 50 |
|
31 |
| -1. Access the template at [https://github.com/Azure/azure-quickstart-templates/tree/master/101-azurefirewall-with-zones-sandbox](https://github.com/Azure/azure-quickstart-templates/tree/master/101-azurefirewall-with-zones-sandbox). |
32 |
| - |
33 |
| -1. Read the introduction, and when ready to deploy, select **Deploy to Azure**. |
34 |
| - |
35 |
| -1. Sign in to the Azure portal if necessary. |
| 51 | +### Deploy the template |
36 | 52 |
|
37 |
| -1. In the portal, on the **Create a sandbox setup of AzureFirewall** page, type or select the following values: |
38 |
| - |
| 53 | +Deploy the Resource Manager template to Azure: |
| 54 | + |
| 55 | +1. Select **Deploy to Azure** to sign in to Azure and open the template. The template creates an Azure Firewall, the network infrastructure, and two virtual machines. |
| 56 | + |
| 57 | + [](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-azurefirewall-with-zones-sandbox%2Fazuredeploy.json) |
| 58 | + |
| 59 | +2. In the portal, on the **Create a sandbox setup of Azure Firewall with Zones** page, type or select the following values: |
39 | 60 | - **Resource group**: Select **Create new**, type a name for the resource group, and select **OK**.
|
40 | 61 | - **Virtual Network Name**: Type a name for the new VNet.
|
41 | 62 | - **Admin Username**: Type a username for the administrator user account.
|
42 | 63 | - **Admin Password**: Type an administrator password.
|
43 |
| - |
44 |
| -1. Read the terms and conditions, and then select **I agree to the terms and conditions stated above**. |
45 |
| - |
46 |
| -1. Select **Purchase**. |
47 |
| - |
48 |
| - It will take a few minutes to create the resources. |
49 |
| - |
50 |
| -1. Explore the resources that were created with the firewall. |
| 64 | + |
| 65 | +3. Read the terms and conditions, and then select **I agree to the terms and conditions stated above** and then select **Purchase**. The deployment can take 10 minutes or longer to complete. |
| 66 | + |
| 67 | +## Review deployed resources |
| 68 | + |
| 69 | +Explore the resources that were created with the firewall. |
51 | 70 |
|
52 | 71 | To learn about the JSON syntax and properties for a firewall in a template, see [Microsoft.Network/azureFirewalls](/azure/templates/microsoft.network/azurefirewalls).
|
53 | 72 |
|
54 | 73 | ## Clean up resources
|
55 | 74 |
|
56 |
| -When you no longer need them, you can remove the resource group, firewall, and all related resources by running the [Remove-AzResourceGroup](/powershell/module/az.resources/remove-azresourcegroup) PowerShell command. To remove a resource group named *MyResourceGroup*, run: |
| 75 | +When you no longer need them, you can remove the resource group, firewall, and all related resources by running the `Remove-AzResourceGroup` PowerShell command. To remove a resource group named *MyResourceGroup*, run: |
57 | 76 |
|
58 | 77 | ```azurepowershell-interactive
|
59 | 78 | Remove-AzResourceGroup -Name MyResourceGroup
|
60 | 79 | ```
|
61 |
| -Don't remove the resource group and firewall yet, if you plan to continue on to the firewall monitoring tutorial. |
| 80 | +Don't remove the resource group and firewall if you plan to continue on to the firewall monitoring tutorial. |
62 | 81 |
|
63 | 82 | ## Next steps
|
64 | 83 |
|
65 | 84 | Next, you can monitor the Azure Firewall logs:
|
66 | 85 |
|
67 |
| -> [!div class="nextstepaction"] |
68 |
| -> [Tutorial: Monitor Azure Firewall logs](./tutorial-diagnostics.md) |
| 86 | +[Tutorial: Monitor Azure Firewall logs](./tutorial-diagnostics.md) |
0 commit comments