Skip to content

Commit e6232ec

Browse files
Apply suggestions from code review
Co-authored-by: Julia Shimanskiy <[email protected]>
1 parent 193469d commit e6232ec

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

articles/virtual-machine-scale-sets/virtual-machine-scale-sets-use-availability-zones.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ This feature can be used with API version 2023-03-01 or greater.
176176

177177
You must register for four feature flags on your subscription:
178178

179-
### [Azure CLI](#tab/cli)
179+
### [Azure CLI](#tab/cli-1)
180180

181181
```azurecli
182182
az feature register --namespace Microsoft.Compute --name VmssAllowRegionalToZonalMigration
@@ -191,7 +191,7 @@ You can check the registration status of each feature by using:
191191
az feature show --namespace Microsoft.Compute --name \<feature-name\>
192192
```
193193

194-
### [Azure PowerShell](#tab/powershell)
194+
### [Azure PowerShell](#tab/powershell-1)
195195

196196
```powershell
197197
Register-AzProviderPreviewFeature -Name VmssAllowRegionalToZonalMigration -ProviderNamespace Microsoft.Compute
@@ -208,7 +208,7 @@ Get-AzProviderPreviewFeature -Name <feature-name> -ProviderNamespace Microsoft.C
208208
---
209209

210210
### Expand scale set to use availability zones
211-
You can update the scale set to scale out instances to one or more additional availability zones, up to the number of availablity zones supported by the region (for regions that support zones, the minimum number of zones is 3).
211+
You can update the scale set to scale out instances to one or more additional availability zones, up to the number of availability zones supported by the region. For regions that support zones, the minimum number of zones is 3.
212212

213213
> [!IMPORTANT]
214214
> When you expand the scale set to additional zones, the original instances are not migrated or changed. When you scale out, new instances will be created and spread evenly across the selected availability zones. When you scale in the scale set, any regional instances will be priorized for removal first. After that, instances will be removed based on the [scale in policy](virtual-machine-scale-sets-scale-in-policy.md).
@@ -226,30 +226,30 @@ In order to prepare for zonal expansion:
226226
* Check that you have enough quota for the VM size in the selected region to handle additional instances. Learn more about [checking and requesting additional quota if needed](../virtual-machines/quotas.md)
227227
* Check that the VM size and disk types you are using are available in all the desired zones. You can use the [Compute Resources SKUs API](/rest/api/compute/resource-skus/list?tabs=HTTP) to determine which sizes are available in which zones
228228
* Validate that the scale set configuration is valid for zonal scale sets:
229-
* platformFaultDomainCount must be set to 1 or 5 (fixed spreading with 2 or 3 fault domains is not supported for zonal deployments)
230-
* Capacity reservations are not supported during zone expansion. Once the scale set is fully zonal (no more regional instances), you can add a capacity reservation group to the scale set
231-
* Azure Dedicated Host deployments are not supported
229+
* `platformFaultDomainCount` must be set to 1 or 5. Fixed spreading with 2 or 3 fault domains is not supported for zonal deployments.
230+
* Capacity reservations are not supported during zone expansion. Once the scale set is fully zonal (no more regional instances), you can add a capacity reservation group to the scale set.
231+
* Azure Dedicated Host deployments are not supported.
232232

233233
#### Update the zones parameter on the scale set
234234

235235
Update the scale set to change the zones parameter.
236236

237-
### [Azure Portal](#tab/portal2)
237+
### [Azure Portal](#tab/portal-2)
238238

239239
1. Navigate to the scale set you want to update
240-
1. On the Properties tab of the scale set landing page, find the Availability zone property and press **Edit**
241-
1. On the Edit Location dialog box which appears, select the desired zone(s)
242-
1. Select **Apply**.
240+
1. On the Properties tab of the scale set landing page, find the **Availability zone** property and press **Edit**
241+
1. On the **Edit Location** dialog box which appears, select the desired zone(s)
242+
1. Select **Apply**
243243

244-
### [Azure CLI](#tab/cli2)
244+
### [Azure CLI](#tab/cli-2)
245245

246246

247247

248248
```azurecli
249249
az vmss update --set zones=["1","2","3"] -n < myScaleSet > -g < myResourceGroup >
250250
```
251251

252-
### [Azure PowerShell](#tab/powershell2)
252+
### [Azure PowerShell](#tab/powershell-2)
253253

254254

255255

@@ -259,7 +259,7 @@ az vmss update --set zones=["1","2","3"] -n < myScaleSet > -g < myResourceGroup
259259

260260

261261
```azurepowershell
262-
# Get the VMSS object
262+
# Get the Virtual Machine Scale Set object
263263
$vmss = Get-AzVmss -ResourceGroupName < resource-group-name > -VMScaleSetName < vmss-name >
264264
265265
# Update the zones parameter
@@ -269,8 +269,9 @@ $vmss.Zones = [Collections.Generic.List[string]]('1','2','3')
269269
Update-AzVmss -ResourceGroupName < resource-group-name > -VMScaleSetName < vmss-name > -VirtualMachineScaleSet $vmss
270270
```
271271

272-
### [REST API](#tab/template2)
272+
### [REST API](#tab/template-2)
273273

274+
```json
274275
PATCH /subscriptions/subscriptionid/resourceGroups/resourcegroupo/providers/Microsoft.Compute/virtualMachineScaleSets/myscaleset?api-version=2023-03-01
275276

276277
```javascript
@@ -288,7 +289,7 @@ PATCH /subscriptions/subscriptionid/resourceGroups/resourcegroupo/providers/Micr
288289

289290
##### Manually scale out and in
290291

291-
[Update the capacity](virtual-machine-scale-sets-autoscale-overview.md) of the scale set to add additional instances. The new capacity should be set to the original capacity plus the number of new instances. For example, if your scale set had 5 regional instances, and you would like to scale out so that you have 3 instances in each of 3 zones, you should set the capacity to 14.
292+
[Update the capacity](virtual-machine-scale-sets-autoscale-overview.md) of the scale set to add additional instances. The new capacity should be set to the original capacity plus the number of new instances. For example, if your scale set had 5 regional instances and you would like to scale out so that you have 3 instances in each of 3 zones, you should set the capacity to 14.
292293

293294
You can update the zones parameter and the scale set capacity in the same ARM template or REST API call.
294295

@@ -300,19 +301,19 @@ With [Rolling upgrades + MaxSurge](virtual-machine-scale-sets-upgrade-policy.md)
300301

301302
> [!IMPORTANT]
302303
> Rolling upgrades with MaxSurge is currently under Public Preview. It is only available for VMSS Uniform Orchestration Mode.
303-
#### Preview Known Issues / Limitations
304+
#### Preview known issues and limitations
304305

305-
* The preview is targeted to stateless workloads on virtual machine scale sets.
306+
* The preview is targeted to stateless workloads on Virtual Machine Scale Sets.
306307

307-
* Scale sets running Service Fabric or Azure Kubernetes Service are not supported
308+
* Scale sets running Service Fabric or Azure Kubernetes Service are not supported.
308309

309310
* You cannot remove or replace zones, only add zones
310311

311312
* You cannot update from a zone spanning or zonal scale set to a regional scaleset.
312313

313-
* platformFaultDomainCount must be set to 1 or 5 (fixed spreading with 2 or 3 fault domains is not supported for zonal deployments)
314+
* `platformFaultDomainCount` must be set to 1 or 5. Fixed spreading with 2 or 3 fault domains is not supported for zonal deployments.
314315

315-
* Capacity reservations are not supported during zone expansion. Once the scale set is fully zonal (no more regional instances), you can add a capacity reservation group to the scale set
316+
* Capacity reservations are not supported during zone expansion. Once the scale set is fully zonal (no more regional instances), you can add a capacity reservation group to the scale set.
316317

317318
* Azure Dedicated Host deployments are not supported
318319

0 commit comments

Comments
 (0)