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/virtual-machine-scale-sets/orchestration-modes-api-comparison.md
+43-17Lines changed: 43 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,6 @@ This article compares the API differences between Uniform and [Flexible orchestr
26
26
27
27
| Uniform API | Flexible alternative |
28
28
|-|-|
29
-
| Virtual machine scale sets VM Lifecycle Batch Operations: | Invoke Single VM API on specific instances: |
30
29
|[Deallocate](/rest/api/compute/virtualmachinescalesetvms/deallocate)|[Invoke Single VM API - Deallocate](/rest/api/compute/virtualmachines/deallocate)|
31
30
|[Delete](/rest/api/compute/virtualmachinescalesetvms/delete)|[Invoke Single VM API -Delete](/rest/api/compute/virtualmachines/delete)|
32
31
|[Get Instance View](/rest/api/compute/virtualmachinescalesetvms/getinstanceview)|[Invoke Single VM API - Instance View](/rest/api/compute/virtualmachines/instanceview)|
@@ -42,23 +41,42 @@ This article compares the API differences between Uniform and [Flexible orchestr
42
41
43
42
## Get or Update
44
43
45
-
### Uniform API
44
+
**Uniform API:**
45
+
46
46
Virtual machine scale sets VM Get or Update Instance:
-[ARM Lock Resource](../azure-resource-manager/management/lock-resources.md?tabs=json) for Instance Protection type behavior
54
+
55
+
56
+
## Get or Update scale set VM instances
57
+
58
+
| Uniform API | Flexible alternative |
59
+
|-|-|
60
+
|[Get scale set VM details](/rest/api/compute/virtualmachinescalesetvms/get)|[Get virtual machine](/rest/api/compute/virtualmachines/get)|
61
+
|[Update scale set VM instance](/rest/api/compute/virtualmachinescalesetvms/update)|[Update virtual machine](/rest/api/compute/virtualmachines/update)|
62
+
63
+
64
+
## Instance protection
65
+
66
+
| Uniform API | Flexible alternative |
67
+
|-|-|
68
+
|[Instance Protection](virtual-machine-scale-sets-instance-protection.md)|[ARM Lock Resource](../azure-resource-manager/management/lock-resources.md?tabs=json) for Instance Protection type behavior |
53
69
54
70
55
71
## List instances
56
72
57
-
### Uniform API
73
+
**Uniform API:**
74
+
58
75
`VMSS List Instances`:
59
76
- Returns the scale set ID associated with each instance
60
77
61
-
### Flexible alternative
78
+
**Flexible alternative:**
79
+
62
80
Azure Resource Graph:
63
81
64
82
```armasm
@@ -67,9 +85,10 @@ resources
67
85
| where properties.virtualMachineScaleSet.id contains "portalbb01"
| Load balancer NAT pool | Specify NAT rule to specific instances |
110
132
111
-
### Flexible alternative
112
-
- Set up individual NAT Rules on each VM
133
+
> [!IMPORTANT]
134
+
> Networking behavior will vary depending on how you choose to create virtual machines within your scale set. **Manually added VM instances** have default outbound connectivity access. **Implicitly created VM instances** do not have default access.
135
+
>
136
+
> For more information on networking for Flexible scale sets, see [scalable network connectivity](../virtual-machines/flexible-virtual-machine-scale-sets-migration-resources.md#create-scalable-network-connectivity).
113
137
114
138
115
139
## Scale set APIs
116
140
117
-
### Uniform API
141
+
**Uniform API:**
142
+
118
143
Uniform virtual machine scale sets APIs:
119
144
-[Convert To Single Placement Group](/rest/api/compute/virtual-machine-scale-sets/convert-to-single-placement-group)
120
145
-[Force Recovery Service Fabric Platform Update Domain Walk](/rest/api/compute/virtual-machine-scale-sets/force-recovery-service-fabric-platform-update-domain-walk)
121
146
122
-
### Flexible alternative
147
+
**Flexible alternative:**
148
+
123
149
Not supported on Flexible virtual machine scale sets.
Copy file name to clipboardExpand all lines: articles/virtual-machine-scale-sets/quick-create-portal.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,7 @@ You can deploy a scale set with a Windows Server image or Linux image such as RH
57
57
1. In the **Basics** tab, under **Project details**, make sure the correct subscription is selected and select *myVMSSResourceGroup* from resource group list.
58
58
1. Type *myScaleSet* as the name for your scale set.
59
59
1. In **Region**, select a region that is close to your area.
60
+
1. Under **Orchestration**, ensure the *Uniform* option is selected for **Orchestration mode**.
60
61
1. Select a marketplace image for **Image**. In this example, we have chosen *Ubuntu Server 18.04 LTS*.
61
62
1. Enter your desired username, and select which authentication type you prefer.
62
63
- A **Password** must be at least 12 characters long and meet three out of the four following complexity requirements: one lower case character, one upper case character, one number, and one special character. For more information, see [username and password requirements](../virtual-machines/windows/faq.yml#what-are-the-password-requirements-when-creating-a-vm-).
Copy file name to clipboardExpand all lines: articles/virtual-machines/flexible-virtual-machine-scale-sets-migration-resources.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,23 +81,31 @@ There is currently no automated tooling to directly move existing instances or u
81
81
82
82
Virtual machine scale sets with Flexible orchestration allows you to combine the scalability of [virtual machine scale sets in Uniform orchestration](../virtual-machine-scale-sets/overview.md) with the regional availability guarantees of availability sets. The following are key considerations when deciding to work with the Flexible orchestration mode.
In order to enhance default network security, Virtual machine scale sets with Flexible orchestration will require that instances created implicitly via the autoscaling profile have outbound connectivity defined explicitly through one of the following methods:
89
+
Networking outbound access behavior will vary depending on how you choose to create virtual machines within your scale set. **Manually added VM instances** have default outbound connectivity access. **Implicitly created VM instances** do not have default access.
90
+
91
+
In order to enhance default network security, **virtual machine instances created implicitly via the autoscaling profile do not have default outbound access**. In order to use virtual machine scale sets with implicitly created VM instances, outbound access must be explicitly defined through one of the following methods:
87
92
88
93
- For most scenarios, we recommend [NAT Gateway attached to the subnet](../virtual-network/nat-gateway/tutorial-create-nat-gateway-portal.md).
89
94
- For scenarios with high security requirements or when using Azure Firewall or Network Virtual Appliance (NVA), you can specify a custom User Defined Route as next hop through firewall.
90
95
- Instances are in the backend pool of a Standard SKU Azure Load Balancer.
91
96
- Attach a Public IP Address to the instance network interface.
92
97
93
-
With single instance VMs and Virtual machine scale sets with Uniform orchestration, outbound connectivity is provided automatically.
94
-
95
98
Common scenarios that will require explicit outbound connectivity include:
96
99
97
100
- Windows VM activation will require that you have defined outbound connectivity from the VM instance to the Windows Activation Key Management Service (KMS). See [Troubleshoot Windows VM activation problems](/troubleshoot/azure/virtual-machines/troubleshoot-activation-problems) for more information.
98
101
- Access to storage accounts or Key Vault. Connectivity to Azure services can also be established via [Private Link](../private-link/private-link-overview.md).
102
+
- Windows updates.
103
+
- Access to Linux package managers.
104
+
105
+
See [Default outbound access in Azure](../virtual-network/ip-services/default-outbound-access.md) for more details on defining outbound connectivity.
106
+
107
+
With single instance VMs where you explicitly create the NIC, default outbound access is provided. Virtual machine scale sets in Uniform Orchestration mode also has default outbound connectivity.
99
108
100
-
See [Default outbound access in Azure](../virtual-network/ip-services/default-outbound-access.md) for more details on defining secure outbound connections.
101
109
102
110
> [!IMPORTANT]
103
111
> Confirm that you have explicit outbound network connectivity. Learn more about this in [virtual networks and virtual machines in Azure](../virtual-network/network-overview.md) and make sure you are following Azure's networking [best practices](../virtual-network/concepts-and-best-practices.md).
@@ -150,17 +158,9 @@ Use the standard VM APIs and commands to retrieve instance Boot Diagnostics data
150
158
Use extensions targeted for standard virtual machines, instead of extensions targeted for Uniform orchestration mode instances.
151
159
152
160
161
+
### Protect instances from delete
153
162
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
-
163
+
Virtual machine scale sets in Flexible orchestration mode do not currently have instance protection options. If you have autoscale enabled on a virtual machine scale set, some VMs might be at risk of deletion during the scaling in process. If you want to protect certain VM instances from deletion, use [Azure Resource Manager lock](../azure-resource-manager/management/lock-resources.md).
@@ -22,31 +22,50 @@ This article steps through using Azure portal to create a virtual machine scale
22
22
> The orchestration mode is defined when you create the scale set and cannot be changed or updated later.
23
23
24
24
25
-
## Get started with Flexible orchestration mode
25
+
## Log in to Azure
26
+
Log in to the Azure portal at https://portal.azure.com.
26
27
27
-
### Create a virtual machine scale set in Flexible orchestration mode through the Azure portal.
28
28
29
-
1. Log into the Azure portal at https://portal.azure.com.
30
-
1. In the search bar, search for and select **Virtual machine scale sets**.
29
+
## Create a virtual machine scale set
30
+
31
+
You can deploy a scale set with a Windows Server image or Linux image such as RHEL, CentOS, Ubuntu, or SLES.
32
+
33
+
1. In the Azure portal search bar, search for and select **Virtual machine scale sets**.
31
34
1. Select **Create** on the **Virtual machine scale sets** page.
32
-
1. On the **Create a virtual machine scale set** page, view the **Orchestration** section.
33
-
1. For the **Orchestration mode**, select the **Flexible** option.
34
-
1. Set the **Fault domain count**.
35
-
1. Finish creating your scale set. See [create a scale set in the Azure portal](../virtual-machine-scale-sets/quick-create-portal.md#create-virtual-machine-scale-set) for more information on how to create a scale set.
36
35
36
+
1. In the **Basics** tab, under **Project details**, make sure the correct subscription is selected and select *myVMSSResourceGroup* from resource group list.
37
+
1. Under **Scale set details**, set *myScaleSet* for your scale set name and select a **Region** that is close to your area.
38
+
1. Under **Orchestration**, select the *Flexible* option for **Orchestration mode**.
39
+
1. Under **Instance details**, select a marketplace image for **Image**. In this example, we have chosen *Ubuntu Server 18.04 LTS*.
40
+
1. Enter your desired username, and select which authentication type you prefer.
41
+
- A **Password** must be at least 12 characters long and meet three out of the four following complexity requirements: one lower case character, one upper case character, one number, and one special character. For more information, see [username and password requirements](../virtual-machines/windows/faq.yml#what-are-the-password-requirements-when-creating-a-vm-).
42
+
- If you select a Linux OS disk image, you can instead choose **SSH public key**. Only provide your public key, such as *~/.ssh/id_rsa.pub*. You can use the Azure Cloud Shell from the portal to [create and use SSH keys](../virtual-machines/linux/mac-create-ssh-keys.md).
43
+
44
+
1. Select **Next** to move the the next page.
45
+
46
+
1. Leave the defaults for the **Disks** page.
47
+
48
+
1. Select **Next** to move the the next page.
49
+
50
+
1. On the **Networking** page, under **Load balancing**, select the **Use a load balancer** checkbox to put the scale set instances behind a load balancer.
51
+
1. In **Load balancing options**, select **Azure load balancer**.
52
+
1. In **Select a load balancer**, select a load balancer or create a new one.
53
+
1. For **Select a backend pool**, select **Create new**, type *myBackendPool*, then select **Create**.
54
+
55
+
> [!NOTE]
56
+
> For related information on networking for Flexible scale sets, see [scalable network connectivity for Flexible scale sets](../virtual-machines/flexible-virtual-machine-scale-sets-migration-resources.md#create-scalable-network-connectivity).
57
+
58
+
1. Select **Next** to move the the next page.
37
59
38
-
### (Optional) Add a virtual machine to the scale set in Flexible orchestration mode.
60
+
1. On the **Scaling** page, set the **initial instance count** field to *5*. You can set this number up to 1000.
61
+
1. For the **Scaling policy**, keep it *Manual*.
39
62
40
-
1. In the search bar, search for and select **Virtual machines**.
41
-
1. Select **Add** on the **Virtual machines** page.
42
-
1. In the **Basics** tab, view the **Instance details** section.
43
-
1. Add your VM to the scale set in Flexible orchestration mode by selecting the scale set in the **Availability options**. You can add the virtual machine to a scale set in the same region, zone, and resource group.
44
-
1. Go to the **Networking** tab and explicitly define your outbound connectivity.
63
+
1. When you are done, select **Review + create**.
64
+
1. After it passes validation, select **Create** to deploy the scale set.
45
65
46
-
> [!IMPORTANT]
47
-
> Explicitly defined outbound connectivity is required for virtual machine scale sets with flexible orchestration. Refer to [explicit outbound network connectivity](flexible-virtual-machine-scale-sets-migration-resources.md#explicit-network-outbound-connectivity-required) for more information.
48
66
49
-
1. Finish creating your virtual machine.
67
+
## Clean up resources
68
+
When no longer needed, delete the resource group, scale set, and all related resources. To do so, select the resource group for the scale set and then select **Delete**.
Copy file name to clipboardExpand all lines: articles/virtual-machines/flexible-virtual-machine-scale-sets.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,10 @@ Flexible orchestration mode can be used with VM SKUs that support [memory preser
93
93
az vm list-skus -l eastus --size standard_d2s_v3 --query "[].capabilities[].[name, value]" -o table
94
94
```
95
95
96
+
> [!IMPORTANT]
97
+
> Networking behavior will vary depending on how you choose to create virtual machines within your scale set. For more information, see [scalable network connectivity](../virtual-machines/flexible-virtual-machine-scale-sets-migration-resources.md#create-scalable-network-connectivity).
98
+
99
+
96
100
## Features
97
101
The following tables list the Flexible orchestration mode features and links to the appropriate documentation.
98
102
@@ -115,7 +119,7 @@ The following tables list the Flexible orchestration mode features and links to
115
119
| Managed Identity | User Assigned Identity Only |
116
120
| Add/remove existing VM to the group | No |
117
121
| Service Fabric | No |
118
-
| Azure Kubernetes Service (AKS) / AKE / k8s node pool | No |
122
+
| Azure Kubernetes Service (AKS) / AKE | No |
119
123
| UserData | Partial, UserData can be specified for individual VMs |
0 commit comments