Skip to content

Commit 96ce32d

Browse files
radhikagupta5vikasnav
authored andcommitted
VMSS Template for Linux extension and large scale. (#221)
* VMSS Template for Linux extension and large scale. * Resolving merge conflict.
1 parent 5bdc102 commit 96ce32d

File tree

20 files changed

+718
-20
lines changed

20 files changed

+718
-20
lines changed

101-vmss-linux-vm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ PARAMETER RESTRICTIONS
66
======================
77

88
vmssName must be 3-10 characters in length. It should also be globally unique across all of AzureStack. If it isn't globally unique, it is possible that this template will still deploy properly, but we don't recommend relying on this pseudo-probabilistic behavior.
9-
instanceCount must be 100 or less.
9+
instanceCount must be 20 or less. VM Scale Set supports upto 100 VMs and one should add more storage accounts to support this number.

101-vmss-linux-vm/azuredeploy.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
33
"contentVersion": "1.0.0.0",
44
"parameters": {
5-
"vmSize": {
5+
"vmSku": {
66
"defaultValue": "Standard_A1",
77
"type": "String",
88
"metadata": {
@@ -18,10 +18,10 @@
1818
},
1919
"instanceCount": {
2020
"defaultValue": 2,
21-
"maxValue": 100,
21+
"maxValue": 20,
2222
"type": "Int",
2323
"metadata": {
24-
"description": "Number of VM instances (100 or less)."
24+
"description": "Number of VM instances (20 or less)."
2525
}
2626
},
2727
"adminUsername": {
@@ -183,7 +183,7 @@
183183
},
184184
"protocol": "tcp",
185185
"frontendPortRangeStart": "50000",
186-
"frontendPortRangeEnd": "50099",
186+
"frontendPortRangeEnd": "50019",
187187
"backendPort": "3389"
188188
}
189189
}
@@ -196,7 +196,7 @@
196196
{
197197
"type": "Microsoft.Compute/virtualMachineScaleSets",
198198
"sku": {
199-
"name": "[parameters('vmSize')]",
199+
"name": "[parameters('vmSku')]",
200200
"tier": "Standard",
201201
"capacity": "[parameters('instanceCount')]"
202202
},

101-vmss-windows-vm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ PARAMETER RESTRICTIONS
66
======================
77

88
vmssName must be 3-10 characters in length. It should also be globally unique across all of AzureStack. If it isn't globally unique, it is possible that this template will still deploy properly, but we don't recommend relying on this pseudo-probabilistic behavior.
9-
instanceCount must be 100 or less.
9+
instanceCount must be 20 or less. VM Scale Set supports upto 100 VMs and one should add more storage accounts to support this number.

101-vmss-windows-vm/azuredeploy.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
33
"contentVersion": "1.0.0.0",
44
"parameters": {
5-
"vmSize": {
5+
"vmSku": {
66
"defaultValue": "Standard_A1",
77
"type": "String",
88
"metadata": {
@@ -18,10 +18,10 @@
1818
},
1919
"instanceCount": {
2020
"defaultValue": 2,
21-
"maxValue": 100,
21+
"maxValue": 20,
2222
"type": "Int",
2323
"metadata": {
24-
"description": "Number of VM instances (100 or less)."
24+
"description": "Number of VM instances (20 or less)."
2525
}
2626
},
2727
"adminUsername": {
@@ -188,7 +188,7 @@
188188
},
189189
"protocol": "tcp",
190190
"frontendPortRangeStart": "50000",
191-
"frontendPortRangeEnd": "50099",
191+
"frontendPortRangeEnd": "50019",
192192
"backendPort": "3389"
193193
}
194194
}
@@ -201,7 +201,7 @@
201201
{
202202
"type": "Microsoft.Compute/virtualMachineScaleSets",
203203
"sku": {
204-
"name": "[parameters('vmSize')]",
204+
"name": "[parameters('vmSku')]",
205205
"tier": "Standard",
206206
"capacity": "[parameters('instanceCount')]"
207207
},

201-vmss-custom-script-windows/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ PARAMETER RESTRICTIONS
66
======================
77

88
vmssName must be 3-10 characters in length. It should also be globally unique across all of AzureStack. If it isn't globally unique, it is possible that this template will still deploy properly, but we don't recommend relying on this pseudo-probabilistic behavior.
9-
instanceCount must be 100 or less.
9+
instanceCount must be 20 or less. VM Scale Set supports upto 100 VMs and one should add more storage accounts to support this number.

201-vmss-custom-script-windows/azuredeploy.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
},
4747
"instanceCount": {
4848
"defaultValue": 2,
49-
"maxValue": 100,
49+
"maxValue": 20,
5050
"type": "Int",
5151
"metadata": {
52-
"description": "Number of VM instances (100 or less)."
52+
"description": "Number of VM instances (20 or less)."
5353
}
5454
},
5555
"adminUsername": {
@@ -204,7 +204,7 @@
204204
},
205205
"protocol": "tcp",
206206
"frontendPortRangeStart": "50000",
207-
"frontendPortRangeEnd": "50099",
207+
"frontendPortRangeEnd": "50019",
208208
"backendPort": "3389"
209209
}
210210
}

201-vmss-linux-extention/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Deploy a VM Scale Set of Linux VMs with a custom script extension
2+
3+
This template allows you to deploy a VM Scale Set of Linux VMs with a custom script run on each VM. To connect from the load balancer to a VM in the scale set, you would go to the AzureStack Portal, find the load balancer of your scale set, examine the NAT rules, then connect using the NAT rule you want. For example, if there is a NAT rule on port 50000, you could RDP on port 50000 of the public IP to connect to that VM. Similarly if something is listening on port 80 we can connect to it using port 80.
4+
5+
PARAMETER RESTRICTIONS
6+
======================
7+
8+
vmssName must be 3-10 characters in length. It should also be globally unique across all of AzureStack. If it isn't globally unique, it is possible that this template will still deploy properly, but we don't recommend relying on this pseudo-probabilistic behavior.
9+
instanceCount must be 20 or less. VM Scale Set supports upto 100 VMs and one should add more storage accounts to support this number.

0 commit comments

Comments
 (0)