Skip to content

Commit 2ee659d

Browse files
committed
updates
1 parent c9d0cb6 commit 2ee659d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

articles/virtual-machine-scale-sets/tutorial-install-apps-powershell.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ The Custom Script extension integrates with Azure Resource Manager templates. It
3131
To see the Custom Script Extension in action, create a scale set that installs the IIS web server and outputs the hostname of the scale set VM instance. The Custom Script Extension definition downloads a sample script from GitHub, installs the required packages, then writes the VM instance hostname to a basic HTML page.
3232

3333
## Create a scale set
34+
35+
Create a resource group with [New-AzResourceGroup](/powershell/module/az.compute/new-azresourcegroup). The following example creates a resource group named *myResourceGroup* in the *East US* location:
36+
37+
```azurecli-interactive
38+
New-AzResourceGroup -Name myResourceGroup -Location "East US"
39+
```
40+
3441
Now create a Virtual Machine Scale Set with [New-AzVmss](/powershell/module/az.compute/new-azvmss). To distribute traffic to the individual VM instances, a load balancer is also created. The load balancer includes rules to distribute traffic on TCP port 80. It also allows remote desktop traffic on TCP port 3389 and PowerShell remoting on TCP port 5985. When prompted, you can set your own administrative credentials for the VM instances in the scale set:
3542

3643
```azurepowershell-interactive

0 commit comments

Comments
 (0)