Created
October 1, 2015 01:17
-
-
Save carmstrong/44b8a3416623cca12b36 to your computer and use it in GitHub Desktop.
azure diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- azuredeploy-sgoings.json 2015-09-30 18:15:49.000000000 -0700 | |
+++ azuredeploy.json 2015-09-30 18:16:06.000000000 -0700 | |
@@ -14,9 +14,15 @@ | |
"description": "Domain name associated with the load balancer public IP" | |
} | |
}, | |
+ "dnsPrefixNameForPublicIP": { | |
+ "type": "string", | |
+ "metadata": { | |
+ "description": "Unique DNS Name for the Public IP used to access the Virtual Machine." | |
+ } | |
+ }, | |
"vmSize": { | |
"type": "string", | |
- "defaultValue": "Standard_A3", | |
+ "defaultValue": "Standard_A1", | |
"allowedValues": [ | |
"Standard_A0", | |
"Standard_A1", | |
@@ -48,8 +54,7 @@ | |
"type": "string", | |
"metadata": { | |
"description": "Username to login to the VMs" | |
- }, | |
- "defaultValue": "core" | |
+ } | |
}, | |
"sshKeyData": { | |
"type": "string", | |
@@ -76,12 +81,6 @@ | |
"description": "Size in GB of the Docker volume." | |
}, | |
"defaultValue": "100" | |
- }, | |
- "coreOSVersion": { | |
- "type": "string", | |
- "metadata": { | |
- "description": "Version of CoreOS to use" | |
- } | |
} | |
}, | |
"variables": { | |
@@ -145,6 +144,25 @@ | |
} | |
}, | |
{ | |
+ "apiVersion": "2015-05-01-preview", | |
+ "type": "Microsoft.Network/publicIPAddresses", | |
+ "name": "[concat(parameters('dnsPrefixNameForPublicIP'),copyIndex())]", | |
+ "location": "[resourceGroup().location]", | |
+ "tags": { | |
+ "displayName": "PublicIPAddress" | |
+ }, | |
+ "properties": { | |
+ "publicIPAllocationMethod": "Dynamic", | |
+ "dnsSettings": { | |
+ "domainNameLabel": "[concat(parameters('dnsPrefixNameForPublicIP'),copyIndex())]" | |
+ } | |
+ }, | |
+ "copy": { | |
+ "name": "publicIpCopy", | |
+ "count": "[parameters('numberOfNodes')]" | |
+ } | |
+ }, | |
+ { | |
"apiVersion": "2015-05-01-preview", | |
"type": "Microsoft.Network/loadBalancers", | |
"name": "[variables('loadBalancerName')]", | |
@@ -221,44 +239,6 @@ | |
} | |
} | |
], | |
- "inboundNatRules": [ | |
- { | |
- "name": "SSH-VM0", | |
- "properties": { | |
- "frontendIPConfiguration": { | |
- "id": "[variables('lbIPConfig')]" | |
- }, | |
- "protocol": "tcp", | |
- "frontendPort": 2223, | |
- "backendPort": 22, | |
- "enableFloatingIP": false | |
- } | |
- }, | |
- { | |
- "name": "SSH-VM1", | |
- "properties": { | |
- "frontendIPConfiguration": { | |
- "id": "[variables('lbIPConfig')]" | |
- }, | |
- "protocol": "tcp", | |
- "frontendPort": 2224, | |
- "backendPort": 22, | |
- "enableFloatingIP": false | |
- } | |
- }, | |
- { | |
- "name": "SSH-VM2", | |
- "properties": { | |
- "frontendIPConfiguration": { | |
- "id": "[variables('lbIPConfig')]" | |
- }, | |
- "protocol": "tcp", | |
- "frontendPort": 2225, | |
- "backendPort": 22, | |
- "enableFloatingIP": false | |
- } | |
- } | |
- ], | |
"probes": [ | |
{ | |
"name": "[variables('apiProbeName')]", | |
@@ -303,6 +283,7 @@ | |
}, | |
"location": "[resourceGroup().location]", | |
"dependsOn": [ | |
+ "[concat('Microsoft.Network/publicIPAddresses/', concat(parameters('dnsPrefixNameForPublicIP'),copyIndex()))]", | |
"[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]", | |
"[variables('lbID')]" | |
], | |
@@ -313,6 +294,9 @@ | |
"name": "ipconfig1", | |
"properties": { | |
"privateIPAllocationMethod": "Dynamic", | |
+ "publicIPAddress": { | |
+ "id": "[resourceId('Microsoft.Network/publicIPAddresses',concat(parameters('dnsPrefixNameForPublicIP'),copyIndex()))]" | |
+ }, | |
"subnet": { | |
"id": "[variables('subnet1Ref')]" | |
}, | |
@@ -320,11 +304,6 @@ | |
{ | |
"id": "[variables('lbPoolID')]" | |
} | |
- ], | |
- "loadBalancerInboundNatRules": [ | |
- { | |
- "id": "[concat(variables('lbID'),'/inboundNatRules/SSH-VM', copyindex())]" | |
- } | |
] | |
} | |
} | |
@@ -373,7 +352,7 @@ | |
"publisher": "[variables('imagePublisher')]", | |
"offer": "[variables('imageOffer')]", | |
"sku": "[variables('imageSKU')]", | |
- "version": "[parameters('coreOSVersion')]" | |
+ "version": "766.3.0" | |
}, | |
"dataDisks": [ | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment