Skip to content

Commit b9c9a79

Browse files
authored
Merge pull request #176848 from vhorne/fw-migrate
create migrate stop/start
2 parents 5b13093 + 240413d commit b9c9a79

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: Migrate to Azure Firewall Premium using Stop/Start
3+
description: Learn how to migrate from Azure Firewall Standard to Azure Firewall Premium using the Stop/Start method.
4+
author: vhorne
5+
ms.service: firewall
6+
services: firewall
7+
ms.topic: how-to
8+
ms.date: 10/21/2021
9+
ms.author: victorh
10+
ms.custom: devx-track-azurepowershell
11+
---
12+
13+
# Migrate to Azure Firewall Premium using Stop/Start
14+
15+
If you use Azure Firewall Standard SKU with Firewall Policy, you can use the Allocate/Deallocate method to migrate your Firewall SKU to Premium. This migration approach is supported on both VNet Hub and Secure Hub Firewalls. When you migrate a Secure Hub deployment, it will preserve the firewall public IP address.
16+
17+
## Migrate a VNET Hub Firewall
18+
19+
- Deallocate the Standard Firewall
20+
21+
```azurepowershell
22+
$azfw = Get-AzFirewall -Name "<firewall-name>" -ResourceGroupName "<resource-group-name>"
23+
$azfw.Deallocate()
24+
Set-AzFirewall -AzureFirewall $azfw
25+
```
26+
27+
28+
- Allocate Firewall Premium
29+
30+
```azurepowershell
31+
$azfw = Get-AzFirewall -Name "<firewall-name>" -ResourceGroupName "<resource-group-name>"
32+
$azfw.Sku.Tier="Premium"
33+
$azfw.Allocate($vnet,$pip, $mgmtpip)
34+
Set-AzFirewall -AzureFirewall $azfw
35+
```
36+
37+
## Migrate a Secure Hub Firewall
38+
39+
The minimum Azure PowerShell version requirement is 6.5.0. For more information, see [Az 6.5.0](https://www.powershellgallery.com/packages/Az/6.5.0).
40+
41+
- Deallocate the Standard Firewall
42+
43+
```azurepowershell
44+
$azfw = Get-AzFirewall -Name "<firewall-name>" -ResourceGroupName "<resource-group-name>"
45+
$azfw.Deallocate()
46+
Set-AzFirewall -AzureFirewall $azfw
47+
```
48+
49+
- Allocate Firewall Premium
50+
51+
```azurepowershell
52+
$azfw = Get-AzFirewall -Name -Name "<firewall-name>" -ResourceGroupName "<resource-group-name>"
53+
$azfw.Sku.Tier="Premium"
54+
$azfw.Allocate($hub.id)
55+
Set-AzFirewall -AzureFirewall $azfw
56+
```
57+
58+
## Next steps
59+
60+
- [Learn more about Azure Firewall Premium features](premium-features.md)

articles/firewall/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@
116116
href: premium-deploy-certificates-enterprise-ca.md
117117
- name: Migrate to Azure Firewall Premium
118118
href: premium-migrate.md
119+
- name: Migrate to Premium using Stop/Start
120+
href: premium-migrate-stop-start.md
119121
- name: Migrate to Premium using Terraform
120122
href: /azure/developer/terraform/firewall-upgrade-premium?toc=/azure/firewall/toc.json&bc=/azure/firewall/breadcrumb/toc.json
121123
- name: Scale Outbound SNAT Ports

0 commit comments

Comments
 (0)