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
**Applies to:**:heavy_check_mark: Windows VMs :heavy_check_mark: Uniform scale sets
16
16
17
-
A virtual machine scale set allows you to deploy and manage a set of auto-scaling virtual machines. You can scale the number of VMs in the scale set manually, or define rules to autoscale based on resource usage like CPU, memory demand, or network traffic. An Azure load balancer then distributes traffic to the VM instances in the scale set. In this quickstart, you create a virtual machine scale set and deploy a sample application with Bicep.
17
+
A virtual machine scale set allows you to deploy and manage a set of auto-scaling virtual machines. You can scale the number of VMs in the virtual machine scale set manually, or define rules to autoscale based on resource usage like CPU, memory demand, or network traffic. An Azure load balancer then distributes traffic to the VM instances in the virtual machine scale set. In this quickstart, you create a virtual machine scale set and deploy a sample application with Bicep.
@@ -38,7 +38,7 @@ The following resources are defined in the Bicep file:
38
38
39
39
### Define a scale set
40
40
41
-
To create a scale set with a Bicep file, you define the appropriate resources. The core parts of the virtual machine scale set resource type are:
41
+
To create a virtual machine scale set with a Bicep file, you define the appropriate resources. The core parts of the virtual machine scale set resource type are:
42
42
43
43
| Property | Description of property | Example template value |
@@ -53,11 +53,11 @@ To create a scale set with a Bicep file, you define the appropriate resources. T
53
53
| osProfile.adminUsername | The username for each VM instance | azureuser |
54
54
| osProfile.adminPassword | The password for each VM instance | P@ssw0rd! |
55
55
56
-
To customize a scale set Bicep file, you can change the VM size or initial capacity. Another option is to use a different platform or a custom image.
56
+
To customize a virtual machine scale set Bicep file, you can change the VM size or initial capacity. Another option is to use a different platform or a custom image.
57
57
58
58
### Add a sample application
59
59
60
-
To test your scale set, install a basic web application. When you deploy a scale set, VM extensions can provide post-deployment configuration and automation tasks, such as installing an app. Scripts can be downloaded from Azure storage or GitHub, or provided to the Azure portal at extension run-time. To apply an extension to your scale set, you add the *extensionProfile* section to the preceding resource example. The extension profile typically defines the following properties:
60
+
To test your virtual machine scale set, install a basic web application. When you deploy a virtual machine scale set, VM extensions can provide post-deployment configuration and automation tasks, such as installing an app. Scripts can be downloaded from [GitHub](https://azure.microsoft.com/resources/templates/vmss-windows-webapp-dsc-autoscale/) or provided to the Azure portal at extension run-time. To apply an extension to your virtual machine scale set, add the `extensionProfile` section to the resource example above. The extension profile typically defines the following properties:
61
61
62
62
- Extension type
63
63
- Extension publisher
@@ -67,7 +67,7 @@ To test your scale set, install a basic web application. When you deploy a scale
67
67
68
68
The Bicep file uses the PowerShell DSC extension to install an ASP.NET MVC app that runs in IIS.
69
69
70
-
An install script is downloaded from GitHub, as defined in *url*. The extension then runs *InstallIIS* from the *IISInstall.ps1* script, as defined in *function* and *Script*. The ASP.NET app itself is provided as a Web Deploy package, which is also downloaded from GitHub, as defined in *WebDeployPackagePath*:
70
+
An install script is downloaded from GitHub, as defined in `url`. The extension then runs `InstallIIS` from the `IISInstall.ps1` script, as defined in `function` and `Script`. The ASP.NET app itself is provided as a Web Deploy package, which is also downloaded from GitHub, as defined in `WebDeployPackagePath`:
71
71
72
72
## Deploy the Bicep file
73
73
@@ -90,14 +90,14 @@ An install script is downloaded from GitHub, as defined in *url*. The extension
90
90
91
91
---
92
92
93
-
Replace **\<vmss-name\>** with the name of the scale set. It must be 3-61 characters in length and globally unique across Azure. You'll be prompted to enter **adminPassword**.
93
+
Replace *\<vmss-name\>* with the name of the virtual machine scale set. It must be 3-61 characters in length and globally unique across Azure. You'll be prompted to enter `adminPassword`.
94
94
95
95
> [!NOTE]
96
-
> When the deployment finishes, you should see a message indicating the deployment succeeded. It can take 10-15 minutes for the scale set to be created and apply the extension to configure the app.
96
+
> When the deployment finishes, you should see a message indicating the deployment succeeded. It can take 10-15 minutes for the virtual machine scale set to be created and apply the extension to configure the app.
97
97
98
98
## Validate the deployment
99
99
100
-
To see your scale set in action, access the sample web application in a web browser. Obtain the public IP address of your load balancer using Azure CLI or Azure PowerShell.
100
+
To see your virtual machine scale set in action, access the sample web application in a web browser. Obtain the public IP address of your load balancer using Azure CLI or Azure PowerShell.
In this quickstart, you created a Windows scale set with a Bicep file and used the PowerShell DSC extension to install a basic ASP.NET app on the VM instances. To learn more, continue to the tutorial for how to create and manage Azure virtual machine scale sets.
140
+
In this quickstart, you created a Windows virtual machine scale set with a Bicep file and used the PowerShell DSC extension to install a basic ASP.NET app on the VM instances. To learn more, continue to the tutorial for how to create and manage Azure virtual machine scale sets.
141
141
142
142
> [!div class="nextstepaction"]
143
143
> [Create and manage Azure virtual machine scale sets](tutorial-create-and-manage-powershell.md)
0 commit comments