title | description | services | author | ms.service | ms.topic | ms.custom | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|
Quickstart: Create an Azure Firewall with multiple public IP addresses - Resource Manager template |
In this quickstart, you learn how to use a Azure Resource Manager template (ARM template) to create an Azure Firewall with multiple public IP addresses. |
firewall |
vhorne |
firewall |
quickstart |
subject-armqs |
08/28/2020 |
victorh |
In this quickstart, you use an Azure Resource Manager template (ARM template) to deploy an Azure Firewall with multiple public IP addresses from a public IP address prefix. The deployed firewall has NAT rule collection rules that allow RDP connections to two Windows Server 2019 virtual machines.
[!INCLUDE About Azure Resource Manager]
For more information about Azure Firewall with multiple public IP addresses, see Deploy an Azure Firewall with multiple public IP addresses using Azure PowerShell.
If your environment meets the prerequisites and you're familiar with using ARM templates, select the Deploy to Azure button. The template will open in the Azure portal.
- An Azure account with an active subscription. Create an account for free.
This template creates an Azure Firewall with two public IP addresses, along with the necessary resources to support the Azure Firewall.
The template used in this quickstart is from Azure Quickstart Templates.
:::code language="json" source="~/quickstart-templates/fw-docs-qs/azuredeploy.json":::
Multiple Azure resources are defined in the template:
- Microsoft.Network/networkSecurityGroups
- Microsoft.Network/publicIPPrefix
- Microsoft.Network/publicIPAddresses
- Microsoft.Network/virtualNetworks
- Microsoft.Compute/virtualMachines
- Microsoft.Storage/storageAccounts
- Microsoft.Network/networkInterfaces
- Microsoft.Network/azureFirewalls
- Microsoft.Network/routeTables
Deploy the ARM template to Azure:
-
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.
-
In the portal, on the Create an Azure Firewall with multiple IP public addresses page, type or select the following values:
- Subscription: Select from existing subscriptions
- Resource group: Select from existing resource groups or select Create new, and select OK.
- Location: Select a location
- Admin Username: Type username for the administrator user account
- Admin Password: Type an administrator password or key
-
Select I agree to the terms and conditions stated above and then select Purchase. The deployment can take 10 minutes or longer to complete.
In the Azure portal, review the deployed resources. Note the firewall public IP addresses.
Use Remote Desktop Connection to connect to the firewall public IP addresses. Successful connections demonstrates firewall NAT rules that allow the connection to the backend servers.
When you no longer need the resources that you created with the firewall, delete the resource group. This removes the firewall and all the related resources.
To delete the resource group, call the Remove-AzResourceGroup
cmdlet:
Remove-AzResourceGroup -Name "<your resource group name>"
[!div class="nextstepaction"] Tutorial: Deploy and configure Azure Firewall in a hybrid network using the Azure portal