Skip to content

Commit 0eac288

Browse files
Merge pull request #308725 from brianlehr/main
fixing problems with recent v2 changes, also clarifying zones
2 parents 1b24bf9 + f0c2cc9 commit 0eac288

5 files changed

Lines changed: 38 additions & 21 deletions

File tree

articles/virtual-network/ip-services/create-public-ip-cli.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,32 @@ To create an IPv6 address, modify the `--version` parameter to **IPv6**.
6565
> For versions of the API older than 2020-08-01, execute the command without specifying a `--zone` parameter to create a zone-redundant IP address.
6666
>
6767
68-
# [**Zonal**](#tab/create-public-ip-zonal)
68+
# [**Standardv2 SKU**](#tab/create-public-ip-standardv2)
69+
70+
### Create a standard v2 zone-redundant IP address
71+
72+
>[!NOTE]
73+
>Standard v2 SKU public IP is required for use of the Standard v2 NAT Gateway with zone-redundancy. For more information about SKUs, see **[Public IP addresses](public-ip-addresses.md)**.
74+
>
75+
>The following command works for API version **2020-08-01** or **later**. For more information about the API version currently being used, see [Resource Providers and Types](../../azure-resource-manager/management/resource-providers-and-types.md).
76+
77+
Use [az network public-ip create](/cli/azure/network/public-ip#az-network-public-ip-create) to create a standard v2 zone-redundant public IPv4 address named **myStandardPublicIP** in **QuickStartCreateIP-rg**.
78+
79+
To create an IPv6 address, modify the `--version` parameter to **IPv6**.
80+
81+
```azurecli-interactive
82+
az network public-ip create \
83+
--resource-group QuickStartCreateIP-rg \
84+
--name myStandardPublicIP \
85+
--version IPv4 \
86+
--sku Standardv2 \
87+
--zone 1 2 3
88+
```
89+
> [!IMPORTANT]
90+
> For versions of the API older than 2020-08-01, execute the command without specifying a `--zone` parameter to create a zone-redundant IP address.
91+
>
92+
93+
# [**Zonal Standard SKU **](#tab/create-public-ip-zonal)
6994

7095
### Create a zonal IP address
7196

articles/virtual-network/ip-services/create-public-ip-prefix-cli.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,11 @@ To create a IPv4 public IP prefix, enter **IPv4** in the `--version` parameter.
112112
--name myPublicIpPrefix-nozone \
113113
--resource-group QuickStartCreateIPPrefix-rg \
114114
--sku standard \
115-
--location westus2 \
115+
--location westus \
116116
--version IPv4
117117
```
118118

119-
The removal of the `--zone` parameter in the command is valid in all regions.
120-
121-
The removal of the `--zone` parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
119+
The removal of the `--zone` parameter in the command is valid in all regions, but will lead to the creation of a zone-redundant IP prefix in regions with availabily zones. The removal of the `--zone` parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
122120

123121
---
124122

@@ -198,13 +196,11 @@ To create a IPv6 public IP prefix, enter **IPv6** in the `--version` parameter.
198196
--name myPublicIpPrefix-nozone \
199197
--resource-group QuickStartCreateIPPrefix-rg \
200198
--sku standard \
201-
--location westus2 \
199+
--location westus \
202200
--version IPv6
203201
```
204202

205-
The removal of the `--zone` parameter in the command is valid in all regions.
206-
207-
The removal of the `--zone` parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
203+
The removal of the `--zone` parameter in the command is valid in all regions, but will lead to the creation of a zone-redundant IP prefix in regions with availabily zones. The removal of the `--zone` parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
208204

209205
---
210206

articles/virtual-network/ip-services/create-public-ip-prefix-powershell.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,14 @@ $ipv4 =@{
119119
Name = 'myPublicIpPrefix-nozone'
120120
ResourceGroupName = 'QuickStartCreateIPPrefix-rg'
121121
Sku - 'standard'
122-
Location = 'westus2'
122+
Location = 'westus'
123123
PrefixLength '28'
124124
IpAddressVersion = 'IPv4'
125125
}
126126
New-AzPublicIpPrefix @ipv4
127127
```
128128

129-
The removal of the `-Zone` parameter in the command is valid in all regions.
130-
131-
The removal of the `-Zone` parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
129+
The removal of the `-Zone` parameter in the command is valid in all regions, but will lead to the creation of a zone-redundant IP prefix in regions with availabily zones. The removal of the `-Zone` parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
132130

133131
# [**Routing Preference Internet Standard IPv4 prefix**](#tab/ipv4-routing-pref)
134132

@@ -217,16 +215,14 @@ $ipv6 =@{
217215
Name = 'myPublicIpPrefix-nozone'
218216
ResourceGroupName = 'QuickStartCreateIPPrefix-rg'
219217
Sku - 'standard'
220-
Location = 'westus2'
218+
Location = 'westus'
221219
PrefixLength = '124'
222220
IpAddressVersion = 'IPv6'
223221
}
224222
New-AzPublicIpPrefix @ipv6
225223
```
226224

227-
The removal of the `-Zone` parameter in the command is valid in all regions.
228-
229-
The removal of the `-Zone` parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
225+
The removal of the `-Zone` parameter in the command is valid in all regions, but will lead to the creation of a zone-redundant IP prefix in regions with availabily zones. The removal of the `-Zone` parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
230226

231227
---
232228

articles/virtual-network/ip-services/public-ip-addresses.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Full details are listed in the table below:
6868
| Allocation method| Static | For IPv4: Dynamic or Static; For IPv6: Dynamic.|
6969
| Idle Timeout | Have an adjustable inbound originated flow idle timeout of 4-30 minutes, with a default of 4 minutes, and fixed outbound originated flow idle timeout of 4 minutes.|Have an adjustable inbound originated flow idle timeout of 4-30 minutes, with a default of 4 minutes, and fixed outbound originated flow idle timeout of 4 minutes.|
7070
| Security | Secure by default model and be closed to inbound traffic when used as a frontend. Allow traffic with [network security group (NSG)](../../virtual-network/network-security-groups-overview.md#network-security-groups) is required (for example, on the NIC of a virtual machine with a Standard SKU Public IP attached).| Open by default. Network security groups are recommended but optional for restricting inbound or outbound traffic.|
71-
| [Availability zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json) | Supported. Standard IPs can be nonzonal, zonal, or zone-redundant. Standard v2 IPs can be zone-redundant. **Zone redundant IPs can only be created in [regions where 3 availability zones](../../reliability/availability-zones-region-support.md) are live.** | Not supported. |
71+
| [Availability zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json) | Supported. Standard IPs can be non-zonal, zonal, or zone-redundant. Standard v2 IPs can be zone-redundant. **Zone redundant IPs can only be created in [regions where 3 availability zones](../../reliability/availability-zones-region-support.md) are live.** | Not supported. |
7272
| [Routing preference Internet](routing-preference-overview.md)| Standard: Supported for use with [specific resource types](routing-preference-overview.md#supported-services) for more granular control on how traffic is routed between Azure and the Internet.<br>Standardv2: Not supported| Not supported.|
7373
| Global tier | Standard: Supported for use with [cross-region load balancers](../../load-balancer/cross-region-overview.md).<br>Standardv2: Not yet supported| Not supported. |
7474

@@ -105,11 +105,11 @@ Static public IP addresses are commonly used in the following scenarios:
105105
106106
Standard SKU Public IPs can be created as zonal or zone-redundant in [regions that support availability zones](../../reliability/availability-zones-region-support.md). Basic SKU Public IPs don't have any zones and are created as non-zonal. Once created, a public IP address can't change its availability zone.
107107

108-
In regions without availability zones, all public IP addresses are created as nonzonal. Public IP addresses created in a region that is later upgraded to have availability zones will be made zone-redundant once the region is in general availability status with multiple availability zones.
108+
In regions without availability zones, all public IP addresses are created as non-zonal. Public IP addresses created in a region that is later upgraded to have availability zones will be made zone-redundant once the region is in general availability status with multiple availability zones.
109109

110110
| Value | Behavior |
111111
| --- | --- |
112-
| Zone-redundant | A zone-redundant IP is created in all zones for a region and can survive any single zone failure. |
112+
| Zone-redundant | A zone-redundant IP is created in multiple zones for a given region and can survive any single zone failure. |
113113
| Zonal | A zonal IP is tied to a specific availability zone, and shares fate with the health of the zone. |
114114
| Non-zonal | Only valid in regions that do not support availability zones. |
115115

articles/virtual-network/ip-services/public-ip-basic-upgrade-guidance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ This section lists out some key differences between these two SKUs.
6262
|---------|---------|---------|
6363
| **Allocation method** | Static. | For IPv4: Dynamic or Static; For IPv6: Dynamic. |
6464
| **Security** | Uses *Secure by default* model closed to inbound traffic when used as a frontend. To allow traffic, a [network security group](../network-security-groups-overview.md#network-security-groups) is required (for example, on the NIC of a virtual machine with a Standard SKU public IP attached). | Open by default. Network security groups are recommended but optional for restricting inbound or outbound traffic. |
65-
| **[Availability zones](../../reliability/availability-zones-overview.md)** | Supported. Standard IPs can be nonzonal, zonal, or zone-redundant. Zone redundant IPs can only be created in [regions where three availability zones](../../reliability/availability-zones-region-support.md) are live. IPs created before availability zones aren't zone redundant. | Not supported. |
65+
| **[Availability zones](../../reliability/availability-zones-overview.md)** | Supported. Standard IPs can be non-zonal, zonal, or zone-redundant. Zone redundant IPs can only be created in [regions where availability zones](../../reliability/availability-zones-region-support.md) are live. IPs created before availability zones aren't zone redundant. | Not supported. |
6666
| **[Routing preference](routing-preference-overview.md)** | Supported to enable more granular control of how traffic is routed between Azure and the Internet. | Not supported. |
6767
| **Global tier** | Supported via [cross-region load balancers](../../load-balancer/cross-region-overview.md).| Not supported. |
6868
| **[Standard Load Balancer Support](../../load-balancer/skus.md)** | Both IPv4 and IPv6 are supported. | Not supported. |

0 commit comments

Comments
 (0)