Skip to content

Commit 1cce3aa

Browse files
committed
incorporate Julia's feedback
1 parent 0389aae commit 1cce3aa

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

articles/virtual-machine-scale-sets/quick-create-template-linux.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tags: azure-resource-manager
66
ms.service: virtual-machine-scale-sets
77
ms.topic: quickstart
88
ms.custom: mvc,subject-armqs
9-
ms.date: 03/26/2020
9+
ms.date: 03/27/2020
1010
ms.author: cynthn
1111

1212
---
@@ -41,6 +41,8 @@ These resources are defined in the template:
4141
- [**Microsoft.Compute/virtualMachineScaleSets**](/azure/templates/microsoft.compute/virtualmachinescalesets)
4242
- [**Microsoft.Insights/autoscaleSettings**](/azure/templates/microsoft.insights/autoscalesettings)
4343

44+
#### Define a scale set
45+
4446
The highlighted portion is the scale set resource definition. To create a scale with a template, you define the appropriate resources. The core parts of the virtual machine scale set resource type are:
4547

4648
| Property | Description of property | Example template value |
@@ -56,7 +58,9 @@ The highlighted portion is the scale set resource definition. To create a scale
5658
| osProfile.adminUsername | The username for each VM instance | azureuser |
5759
| osProfile.adminPassword | The password for each VM instance | P@ssw0rd! |
5860

59-
To customize a scale set template, you can change the VM size or initial capacity, or use a different platform or a custom image.
61+
To customize a scale set template, you can change the VM size or initial capacity. Another option is to use a different platform or a custom image.
62+
63+
#### Add a sample application
6064

6165
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:
6266

@@ -90,8 +94,7 @@ az group deployment create \
9094

9195
Answer the prompts to provide a scale set name, instance count, and admin credentials for the VM instances. It takes a few minutes for the scale set and supporting resources to be created.
9296

93-
94-
## Validate the deployment
97+
## Test the deployment
9598

9699
To see your scale set in action, access the sample web application in a web browser. Obtain the public IP address of the load balancer with [az network public-ip list](/cli/azure/network/public-ip) as follows:
97100

@@ -105,16 +108,16 @@ Enter the public IP address of the load balancer in to a web browser in the form
105108

106109
![Default web page in NGINX](media/virtual-machine-scale-sets-create-template/running-python-app.png)
107110

108-
109111
## Clean up resources
112+
110113
When no longer needed, you can use [az group delete](/cli/azure/group) to remove the resource group, scale set, and all related resources as follows. The `--no-wait` parameter returns control to the prompt without waiting for the operation to complete. The `--yes` parameter confirms that you wish to delete the resources without an additional prompt to do so.
111114

112115
```azurecli-interactive
113116
az group delete --name myResourceGroup --yes --no-wait
114117
```
115118

116-
117119
## Next steps
120+
118121
In this quickstart, you created a Linux scale set with an Azure template and used the Custom Script Extension to install a basic Python web server on the VM instances. To learn more, continue to the tutorial for how to create and manage Azure virtual machine scale sets.
119122

120123
> [!div class="nextstepaction"]

0 commit comments

Comments
 (0)