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/bastion/upgrade-sku.md
+21-7Lines changed: 21 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ To compare SKU features and determine which tier is right for you, see [Choose t
26
26
27
27
Before upgrading your Azure Bastion SKU, verify the following requirements:
28
28
29
+
-**Azure CLI**: If using Azure CLI, install the [bastion extension](/cli/azure/network/bastion). The extension installs automatically the first time you run an `az network bastion` command. Requires Azure CLI version 2.62.0 or higher.
29
30
-**Permissions**: You need Contributor or Owner role on the resource group containing your Bastion host.
30
31
-**Subnet requirements** (Developer SKU upgrade only): A subnet named **AzureBastionSubnet** with a prefix of /26 or larger (/25, /24, etc.) must exist in your virtual network or be created before upgrading.
31
32
-**Public IP** (Developer SKU upgrade only): A Standard SKU public IP address with static allocation is required unless you're deploying Premium SKU with private-only configuration.
@@ -57,6 +58,9 @@ Run the following command to view your current Bastion SKU:
57
58
az network bastion show --name <bastion-name> --resource-group <resource-group-name> --query sku.name --output tsv
58
59
```
59
60
61
+
> [!IMPORTANT]
62
+
> When using `az network bastion update`, you must include the `--location` parameter matching the region of your existing Bastion host. If omitted, the CLI may default to a different region, resulting in an `InvalidResourceLocation` error.
63
+
60
64
---
61
65
62
66
## Upgrade from Developer SKU
@@ -107,15 +111,23 @@ The upgrade takes approximately 10 minutes to complete.
107
111
108
112
1.**Upgrade the Bastion host**:
109
113
114
+
The `az network bastion update` command can't add the IP configuration required for dedicated infrastructure. Delete the Developer SKU Bastion host and create a new one with the target SKU:
115
+
110
116
```azurecli
111
-
az network bastion update \
117
+
az network bastion delete \
112
118
--name <bastion-name> \
113
-
--resource-group <resource-group-name> \
114
-
--sku <Standard|Premium>
119
+
--resource-group <resource-group-name>
115
120
```
116
121
117
-
> [!NOTE]
118
-
> If the update command fails when upgrading from Developer SKU, delete and recreate the Bastion host with the new SKU. The Developer to dedicated infrastructure transition isn't always supported via CLI update.
122
+
```azurecli
123
+
az network bastion create \
124
+
--name <bastion-name> \
125
+
--resource-group <resource-group-name> \
126
+
--vnet-name <vnet-name> \
127
+
--public-ip-address <public-ip-name> \
128
+
--sku <Basic|Standard|Premium> \
129
+
--location <location>
130
+
```
119
131
120
132
---
121
133
@@ -141,7 +153,8 @@ Run the following command to upgrade your Bastion SKU:
141
153
az network bastion update \
142
154
--name <bastion-name> \
143
155
--resource-group <resource-group-name> \
144
-
--sku <Standard|Premium>
156
+
--location <location> \
157
+
--sku name=<Standard|Premium>
145
158
```
146
159
147
160
To enable features during the upgrade, add the appropriate parameters. For example, to enable native client support and IP-based connection:
@@ -150,7 +163,8 @@ To enable features during the upgrade, add the appropriate parameters. For examp
0 commit comments