Skip to content

Commit 34da719

Browse files
authored
Merge pull request #176202 from ju-shim/flex-1018
Flex 1018
2 parents 3bd6d91 + e77dd09 commit 34da719

13 files changed

+47
-85
lines changed

articles/azure-monitor/vm/vminsights-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ VM insights monitors the performance and health of your virtual machines and vir
1515
VM insights supports Windows and Linux operating systems on the following machines:
1616

1717
- Azure virtual machines
18-
- Azure virtual machine scale sets in Uniform orchestration mode
18+
- Azure virtual machine scale sets
1919
- Hybrid virtual machines connected with Azure Arc
2020
- On-premises virtual machines
2121
- Virtual machines hosted in another cloud environment

articles/virtual-machine-scale-sets/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
- name: Endorsed Linux distros
191191
href: ../virtual-machines/linux/endorsed-distros.md
192192
maintainContext: true
193-
- name: Orchestration modes (preview)
193+
- name: Orchestration modes
194194
items:
195195
- name: Overview
196196
href: virtual-machine-scale-sets-orchestration-modes.md

articles/virtual-machine-scale-sets/orchestration-modes-api-comparison.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ Virtual machine scale sets Operations:
8585
### Flexible alternative
8686
Invoke operations on individual VMs.
8787

88+
Virtual machines Operations:
89+
- [Reimage](/rest/api/compute/virtual-machines/reimage): invoke single VM API - Reimage on Ephemeral OS VMs only
8890

8991
## VM extension
9092

articles/virtual-machine-scale-sets/overview.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ ms.reviewer: mimckitt
1212
---
1313
# What are virtual machine scale sets?
1414

15-
> [!IMPORTANT]
16-
> The following article is about virtual machine scale sets in Uniform orchestration mode. We recommend using using [Flexible orchestration mode](../virtual-machines/flexible-virtual-machine-scale-sets.md) for all new scale set deployments.
17-
18-
1915
Azure virtual machine scale sets let you create and manage a group of load balanced VMs. The number of VM instances can automatically increase or decrease in response to demand or a defined schedule. Scale sets provide high availability to your applications, and allow you to centrally manage, configure, and update a large number of VMs. With virtual machine scale sets, you can build large-scale services for areas such as compute, big data, and container workloads.
2016

17+
> [!IMPORTANT]
18+
> This article is about virtual machine scale sets in Uniform orchestration mode. To learn more about Flexible scale sets, go to [Flexible orchestration mode for virtual machine scale sets](../virtual-machines/flexible-virtual-machine-scale-sets.md).
2119
2220
## Why use virtual machine scale sets?
2321
To provide redundancy and improved performance, applications are typically distributed across multiple instances. Customers may access your application through a load balancer that distributes requests to one of the application instances. If you need to perform maintenance or update an application instance, your customers must be distributed to another available application instance. To keep up with extra customer demand, you may need to increase the number of application instances that run your application.

articles/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes.md

Lines changed: 10 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ With Flexible orchestration, Azure provides a unified experience across the Azur
4444
## What has changed with Flexible orchestration mode?
4545
One of the main advantages of Flexible orchestration is that it provides orchestration features over standard Azure IaaS VMs, instead of scale set child virtual machines. This means you can use all of the standard VM APIs when managing Flexible orchestration instances, instead of the virtual machine scale set VM APIs you use with Uniform orchestration. There are several differences between managing instances in Flexible orchestration versus Uniform orchestration. In general, we recommend that you use the standard Azure IaaS VM APIs when possible. In this section, we highlight examples of best practices for managing VM instances with Flexible orchestration.
4646

47+
### Scale out with standard Azure virtual machines
48+
Virtual machine scale sets in Flexible Orchestration mode manages standard Azure VMs. You have full control over the virtual machine lifecycle, as well as network interfaces and disks using the standard Azure APIs and commands. Virtual machines created with Uniform orchestration mode are exposed and managed via the virtual machine scale set VM API commands. Individual instances are not compatible with the standard Azure IaaS VM API commands, Azure management features such as Azure Resource Manager resource tagging RBAC permissions, Azure Backup, or Azure Site Recovery.
49+
4750
### Assign fault domain during VM creation
4851
You can choose the number of fault domains for the Flexible orchestration scale set. By default, when you add a VM to a Flexible scale set, Azure evenly spreads instances across fault domains. While it is recommended to let Azure assign the fault domain, for advanced or troubleshooting scenarios you can override this default behavior and specify the fault domain where the instance will land.
4952

@@ -93,7 +96,7 @@ The following table compares the Flexible orchestration mode, Uniform orchestrat
9396
| Feature | Supported by Flexible orchestration for scale sets | Supported by Uniform orchestration for scale sets | Supported by Availability Sets |
9497
|---|---|---|---|
9598
| Virtual machine type | Standard Azure IaaS VM (Microsoft.compute/virtualmachines) | Scale Set specific VMs (Microsoft.compute/virtualmachinescalesets/virtualmachines) | Standard Azure IaaS VM (Microsoft.compute/virtualmachines) |
96-
| Maximum Instance Count | 1000 | 3000 (1000 per Availability Zone) | 200 |
99+
| Maximum Instance Count (with FD guarantees) | 1000 | 100 | 200 |
97100
| SKUs supported | D series, E series, F series, A series, B series, Intel, AMD; Specialty SKUs (G, H, L, M, N) are not supported | All SKUs | All SKUs |
98101
| Full control over VM, NICs, Disks | Yes | Limited control with virtual machine scale sets VM API | Yes |
99102
| RBAC Permissions Required | Compute VMSS Write, Compute VM Write, Network | Compute VMSS Write | N/A |
@@ -123,7 +126,7 @@ The following table compares the Flexible orchestration mode, Uniform orchestrat
123126
| Terminate Notifications (VM scale sets) | Yes, read [Terminate Notifications documentation](../virtual-machine-scale-sets/virtual-machine-scale-sets-terminate-notification.md) | Yes, read [Terminate Notifications documentation](../virtual-machine-scale-sets/virtual-machine-scale-sets-terminate-notification.md) | N/A |
124127
| Monitor Application Health | Application health extension | Application health extension or Azure load balancer probe | Application health extension |
125128
| Instance Repair (VM scale sets) | Yes, read [Instance Repair documentation](../virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-instance-repairs.md) | Yes, read [Instance Repair documentation](../virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-instance-repairs.md) | N/A |
126-
| Instance Protection | No | Yes | No |
129+
| Instance Protection | No, use [Azure resource lock](../azure-resource-manager/management/lock-resources.md) | Yes | No |
127130
| Scale In Policy | No | Yes | No |
128131
| VMSS Get Instance View | No | Yes | N/A |
129132
| Perform Maintenance | No (can trigger maintenance on each instance using VM API) | Yes | N/A |
@@ -133,20 +136,20 @@ The following table compares the Flexible orchestration mode, Uniform orchestrat
133136

134137
| Feature | Supported by Flexible orchestration for scale sets | Supported by Uniform orchestration for scale sets | Supported by Availability Sets |
135138
|---|---|---|---|
136-
| Availability SLA | 99.95% | 99.95 for FD>1 in Single Placement Group; 99.99% for instances spread across multiple zones | 99.95% |
139+
| Availability SLA | 99.95% for instances spread across fault domains; 99.99% for instances spread across multiple zones | 99.95% for FD>1 in Single Placement Group; 99.99% for instances spread across multiple zones | 99.95% |
137140
| Availability Zones | Specify instances land across 1, 2 or 3 availability zones | Specify instances land across 1, 2 or 3 availability zones | Not supported |
138141
| Assign VM to a Specific Availability Zone | Yes | No | No |
139142
| Fault Domain – Max Spreading (Azure will maximally spread instances) | Yes | Yes | No |
140143
| Fault Domain – Fixed Spreading | 2-3 FDs (depending on regional maximum FD Count); 1 for zonal deployments | 2, 3, 5 FDs; 1, 5 for zonal deployments | 2-3 FDs (depending on regional maximum FD Count) |
141144
| Assign VM to a Specific Fault Domain | Yes | No | No |
142-
| Update Domains | None (platform maintenance performed FD by FD) | 5 update domains | Up to 20 update domains |
145+
| Update Domains | Depreciated (platform maintenance performed FD by FD) | 5 update domains | Up to 20 update domains |
143146
| Maintenance Control | No | Yes | Yes |
144147

145148
### Networking 
146149

147150
| Feature | Supported by Flexible orchestration for scale sets | Supported by Uniform orchestration for scale sets | Supported by Availability Sets |
148151
|---|---|---|---|
149-
| Default outbound connectivity | No, must have explicit outbound connectivity | Yes | Yes |
152+
| Default outbound connectivity | No, must have [explicit outbound connectivity](../virtual-network/ip-services/default-outbound-access.md) | Yes | Yes |
150153
| Azure Load Balancer Standard SKU | Yes | Yes | Yes |
151154
| Application Gateway | Yes | Yes | Yes |
152155
| Infiniband Networking | No | Yes, single placement group only | Yes |
@@ -160,7 +163,7 @@ The following table compares the Flexible orchestration mode, Uniform orchestrat
160163
| Azure Backup | Yes | No | Yes |
161164
| Azure Site Recovery | Yes (via PowerShell) | No | Yes |
162165
| Azure Alerts | Yes | Yes | Yes |
163-
| VM Insights | No | Yes | Yes |
166+
| VM Insights | Can be installed into individual VMs | Yes | Yes |
164167

165168

166169
## Get started with Flexible orchestration mode
@@ -178,7 +181,7 @@ Register and get started with [Flexible orchestration mode](..\virtual-machines\
178181

179182
| Availability attribute | Flexible orchestration | Uniform orchestration | Availability Sets |
180183
|-|-|-|-|
181-
| Deploy across availability zones | No | Yes | No |
184+
| Deploy across availability zones | Yes | Yes | No |
182185
| Fault domain availability guarantees within a region | Yes, up to 1000 instances can be spread across up to 3 fault domains in the region. Maximum fault domain count varies by region | Yes, up to 100 instances | Yes, up to 200 instances |
183186
| Placement groups | Flexible mode always uses multiple placement groups (singlePlacementGroup = false) | You can choose Single Placement Group or Multiple Placement Groups | N/A |
184187
| Update domains | None, maintenance or host updates are done fault domain by fault domain | Up to 5 update domains | Up to 20 update domains |
@@ -189,33 +192,6 @@ Register and get started with [Flexible orchestration mode](..\virtual-machines\
189192
|-|-|-|-|
190193
| Maximum Instance Count (with FD availability guarantee) | 1000 | 3000 | 200 |
191194

192-
## Troubleshoot scale sets with Flexible orchestration
193-
Find the right solution to your troubleshooting scenario.
194-
195-
196-
```
197-
InvalidParameter. The specified fault domain count 2 must fall in the range 1 to 1.
198-
```
199-
200-
**Cause:** The `platformFaultDomainCount` parameter is invalid for the region or zone selected.
201-
202-
**Solution:** You must select a valid `platformFaultDomainCount` value. For zonal deployments, the maximum `platformFaultDomainCount` value is 1. For regional deployments where no zone is specified, the maximum `platformFaultDomainCount` varies depending on the region. See [Manage the availability of VMs for scripts](../virtual-machines/availability.md) to determine the maximum fault domain count per region.
203-
204-
```
205-
OperationNotAllowed. Deletion of Virtual Machine Scale Set is not allowed as it contains one or more VMs. Please delete or detach the VM(s) before deleting the Virtual Machine Scale Set.
206-
```
207-
208-
**Cause:** Trying to delete a scale set in Flexible orchestration mode that is associated with one or more virtual machines.
209-
210-
**Solution:** Delete all of the virtual machines associated with the scale set in Flexible orchestration mode, then you can delete the scale set.
211-
212-
```
213-
InvalidParameter. The value 'True' of parameter 'singlePlacementGroup' is not allowed. Allowed values are: False.
214-
```
215-
**Cause:** The `singlePlacementGroup` parameter is set to *True*.
216-
217-
**Solution:** The `singlePlacementGroup` must be set to *False*.
218-
219195

220196
## Next steps
221197
> [!div class="nextstepaction"]

articles/virtual-machines/availability.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,22 @@ ms.reviewer: cynthn
1515

1616
This article provides an overview of the availability options for Azure virtual machines (VMs).
1717

18-
## Availability zones
1918

19+
## Availability zones
2020
[Availability zones](../availability-zones/az-overview.md?context=/azure/virtual-machines/context/context) expands the level of control you have to maintain the availability of the applications and data on your VMs. An Availability Zone is a physically separate zone, within an Azure region. There are three Availability Zones per supported Azure region.
2121

2222
Each Availability Zone has a distinct power source, network, and cooling. By designing your solutions to use replicated VMs in zones, you can protect your apps and data from the loss of a data center. If one zone is compromised, then replicated apps and data are instantly available in another zone.
2323

24+
2425
## Virtual Machines Scale Sets
26+
[Azure virtual machine scale sets](flexible-virtual-machine-scale-sets.md) let you create and manage a group of load balanced VMs. The number of VM instances can automatically increase or decrease in response to demand or a defined schedule. Scale sets provide high availability to your applications, and allow you to centrally manage, configure, and update many VMs. There is no cost for the scale set itself, you only pay for each VM instance that you create.
2527

26-
[Azure virtual machine scale sets](flexible-virtual-machine-scale-sets.md) let you create and manage a group of load balanced VMs. The number of VM instances can automatically increase or decrease in response to demand or a defined schedule. Scale sets provide high availability to your applications, and allow you to centrally manage, configure, and update many VMs. We recommended that two or more VMs are created within a scale set to provide for a highly available application and to meet the [99.95% Azure SLA](https://azure.microsoft.com/support/legal/sla/virtual-machines/). There is no cost for the scale set itself, you only pay for each VM instance that you create.
28+
Virtual machines in a scale set can also be deployed into multiple availability zones, a single availability zone, or regionally. Availability zone deployment options may differ based on the [orchestration mode](../virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes.md?context=/azure/virtual-machines/context/context).
29+
30+
31+
## Availability sets
32+
An [availability set](availability-set-overview.md) is a logical grouping of VMs that allows Azure to understand how your application is built to provide for redundancy and availability. We recommended that two or more VMs are created within an availability set to provide for a highly available application and to meet the [99.95% Azure SLA](https://azure.microsoft.com/support/legal/sla/virtual-machines/). There is no cost for the Availability Set itself, you only pay for each VM instance that you create.
2733

28-
Virtual machines in a scale set can also be deployed into a single Availability zone, or regionally. Availability zone deployment options may differ based on the [orchestration mode](../virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes.md?context=/azure/virtual-machines/context/context).
2934

3035
## Load balancer
3136
Combine the [Azure Load Balancer](../load-balancer/load-balancer-overview.md) with an availability zone or availability set to get the most application resiliency. The Azure Load Balancer distributes traffic between multiple virtual machines. For our Standard tier virtual machines, the Azure Load Balancer is included. Not all virtual machine tiers include the Azure Load Balancer. For more information about load balancing your virtual machines, see **Load Balancing virtual machines** for [Linux](linux/tutorial-load-balancer.md) or [Windows](windows/tutorial-load-balancer.md).
@@ -41,6 +46,7 @@ When deciding which redundancy option is best for your scenario, consider the tr
4146

4247
For more information, see [Azure Storage redundancy](../storage/common/storage-redundancy.md)
4348

49+
4450
## Azure Site Recovery
4551
As an organization you need to adopt a business continuity and disaster recovery (BCDR) strategy that keeps your data safe, and your apps and workloads online, when planned and unplanned outages occur.
4652

@@ -50,9 +56,6 @@ Site Recovery can manage replication for:
5056
- Azure VMs replicating between Azure regions.
5157
- On-premises VMs, Azure Stack VMs, and physical servers.
5258

53-
## Availability sets
54-
An [availability set](availability-set-overview.md) is a logical grouping of VMs that allows Azure to understand how your application is built to provide for redundancy and availability. We recommended that two or more VMs are created within an availability set to provide for a highly available application and to meet the [99.95% Azure SLA](https://azure.microsoft.com/support/legal/sla/virtual-machines/). There is no cost for the Availability Set itself, you only pay for each VM instance that you create.
55-
5659
## Next steps
5760
- [Create a virtual machine in an availability zone](./linux/create-cli-availability-zone.md)
5861
- [Create a virtual machine in an availability set](./linux/tutorial-availability-sets.md)

articles/virtual-machines/flexible-virtual-machine-scale-sets-cli.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,11 @@ In the following example, we specify a virtual machine profile (VM type, network
3535

3636
```azurecli-interactive
3737
az vmss create
38-
--resource-group $rg
3938
--name $vmssName
40-
--single-placement-group false
41-
--orchestration-mode flexible
42-
--platform-fault-domain-count 1
39+
--resource-group $rg
4340
--image UbuntuLTS
44-
--admin-username azureuser
4541
--instance-count 2
46-
--vm-sku 'Standard_D2s_v3'
47-
--network-api-version '2020-11-01'
48-
--computer-name-prefix $computerNamePrefix
49-
--vnet-name $vnetName
50-
--subnet $subnetName
51-
--public-ip-per-vm
42+
--orchestration-mode flexible
5243
```
5344

5445
### Add a single VM to a scale set

0 commit comments

Comments
 (0)