Skip to content

Commit

Permalink
VMSS Template for Linux extension and large scale. (#221)
Browse files Browse the repository at this point in the history
* VMSS Template for Linux extension and large scale.

* Resolving merge conflict.
  • Loading branch information
radhikagupta5 authored and vikasnav committed Mar 29, 2017
1 parent 5bdc102 commit 96ce32d
Show file tree
Hide file tree
Showing 20 changed files with 718 additions and 20 deletions.
2 changes: 1 addition & 1 deletion 101-vmss-linux-vm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ PARAMETER RESTRICTIONS
======================

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.
instanceCount must be 100 or less.
instanceCount must be 20 or less. VM Scale Set supports upto 100 VMs and one should add more storage accounts to support this number.
10 changes: 5 additions & 5 deletions 101-vmss-linux-vm/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"vmSize": {
"vmSku": {
"defaultValue": "Standard_A1",
"type": "String",
"metadata": {
Expand All @@ -18,10 +18,10 @@
},
"instanceCount": {
"defaultValue": 2,
"maxValue": 100,
"maxValue": 20,
"type": "Int",
"metadata": {
"description": "Number of VM instances (100 or less)."
"description": "Number of VM instances (20 or less)."
}
},
"adminUsername": {
Expand Down Expand Up @@ -183,7 +183,7 @@
},
"protocol": "tcp",
"frontendPortRangeStart": "50000",
"frontendPortRangeEnd": "50099",
"frontendPortRangeEnd": "50019",
"backendPort": "3389"
}
}
Expand All @@ -196,7 +196,7 @@
{
"type": "Microsoft.Compute/virtualMachineScaleSets",
"sku": {
"name": "[parameters('vmSize')]",
"name": "[parameters('vmSku')]",
"tier": "Standard",
"capacity": "[parameters('instanceCount')]"
},
Expand Down
2 changes: 1 addition & 1 deletion 101-vmss-windows-vm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ PARAMETER RESTRICTIONS
======================

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.
instanceCount must be 100 or less.
instanceCount must be 20 or less. VM Scale Set supports upto 100 VMs and one should add more storage accounts to support this number.
10 changes: 5 additions & 5 deletions 101-vmss-windows-vm/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"vmSize": {
"vmSku": {
"defaultValue": "Standard_A1",
"type": "String",
"metadata": {
Expand All @@ -18,10 +18,10 @@
},
"instanceCount": {
"defaultValue": 2,
"maxValue": 100,
"maxValue": 20,
"type": "Int",
"metadata": {
"description": "Number of VM instances (100 or less)."
"description": "Number of VM instances (20 or less)."
}
},
"adminUsername": {
Expand Down Expand Up @@ -188,7 +188,7 @@
},
"protocol": "tcp",
"frontendPortRangeStart": "50000",
"frontendPortRangeEnd": "50099",
"frontendPortRangeEnd": "50019",
"backendPort": "3389"
}
}
Expand All @@ -201,7 +201,7 @@
{
"type": "Microsoft.Compute/virtualMachineScaleSets",
"sku": {
"name": "[parameters('vmSize')]",
"name": "[parameters('vmSku')]",
"tier": "Standard",
"capacity": "[parameters('instanceCount')]"
},
Expand Down
2 changes: 1 addition & 1 deletion 201-vmss-custom-script-windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ PARAMETER RESTRICTIONS
======================

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.
instanceCount must be 100 or less.
instanceCount must be 20 or less. VM Scale Set supports upto 100 VMs and one should add more storage accounts to support this number.
6 changes: 3 additions & 3 deletions 201-vmss-custom-script-windows/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
},
"instanceCount": {
"defaultValue": 2,
"maxValue": 100,
"maxValue": 20,
"type": "Int",
"metadata": {
"description": "Number of VM instances (100 or less)."
"description": "Number of VM instances (20 or less)."
}
},
"adminUsername": {
Expand Down Expand Up @@ -204,7 +204,7 @@
},
"protocol": "tcp",
"frontendPortRangeStart": "50000",
"frontendPortRangeEnd": "50099",
"frontendPortRangeEnd": "50019",
"backendPort": "3389"
}
}
Expand Down
9 changes: 9 additions & 0 deletions 201-vmss-linux-extention/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Deploy a VM Scale Set of Linux VMs with a custom script extension

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.

PARAMETER RESTRICTIONS
======================

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.
instanceCount must be 20 or less. VM Scale Set supports upto 100 VMs and one should add more storage accounts to support this number.
Loading

0 comments on commit 96ce32d

Please sign in to comment.