зеркало из
1
0
Форкнуть 0

Merge branch 'master' into andrew/ext-settings

This commit is contained in:
Andrew Oakley 2016-08-30 12:37:17 -07:00
Родитель e1ca9eb820 004446388b
Коммит f251453a43
14 изменённых файлов: 640 добавлений и 203 удалений

Просмотреть файл

@ -42,10 +42,15 @@
<None Include="scripts\nva.sh" />
<None Include="templates\buildingBlocks\loadBalancer-backend-n-vm\azuredeploy.json" />
<None Include="templates\buildingBlocks\loadBalancer-backend-n-vm\scenarios\internal-loadBalancer.parameters.json" />
<None Include="templates\buildingBlocks\loadBalancer-backend-n-vm\scenarios\internal-loadBalancer-multi-backends.parameters.json" />
<None Include="templates\buildingBlocks\loadBalancer-backend-n-vm\scenarios\public-loadBalancer.parameters.json" />
<None Include="templates\buildingBlocks\multi-vm-n-nic-m-storage\azuredeploy.json" />
<None Include="templates\buildingBlocks\multi-vm-n-nic-m-storage\scenarios\vm-multiple-nics-dataDisks-extensions.parameters.json" />
<None Include="templates\buildingBlocks\multi-vm-n-nic-m-storage\scenarios\single-vm.parameters.json" />
<None Include="templates\buildingBlocks\multi-vm-n-nic-m-storage\scenarios\vms-single-nic.parameters.json" />
<None Include="templates\buildingBlocks\multi-vm-n-nic-m-storage\scenarios\vms-single-nic-extensions.parameters.json" />
<None Include="templates\buildingBlocks\multi-vm-n-nic-m-storage\scenarios\vms-multiple-nics-dataDisks-extensions.parameters.json" />
<None Include="templates\buildingBlocks\networkSecurityGroups\azuredeploy.json" />
<None Include="templates\buildingBlocks\networkSecurityGroups\scenarios\3-nsgs-on-3-subnets.parameters.json" />
<None Include="templates\buildingBlocks\networkSecurityGroups\scenarios\multiple-nsgs-on-subnets-nics.parameters.json" />
<None Include="templates\buildingBlocks\nvas-ntier-network\azuredeploy.json" />
<None Include="templates\buildingBlocks\nvas-ntier-network\azuredeploy.parameters.json" />
@ -56,6 +61,7 @@
<None Include="templates\buildingBlocks\userDefinedRoutes\scenarios\multiple-routes-on-subnets.parameters.json" />
<None Include="templates\buildingBlocks\virtualMachine-extensions\azuredeploy.json" />
<None Include="templates\buildingBlocks\virtualMachine-extensions\scenarios\multiple-extensions-on-vms.parameters.json" />
<None Include="templates\buildingBlocks\vnet-n-subnet\scenarios\vnet-3-tier-mgmt-gw.parameters.json" />
<None Include="templates\buildingBlocks\vnet-n-subnet\scenarios\vnet-multiple-subnet.parameters.json" />
<None Include="templates\buildingBlocks\vnet-n-subnet\scenarios\vnet-multiple-subnet-dns.parameters.json" />
<None Include="templates\buildingBlocks\vnet-n-subnet\azuredeploy.json" />

Просмотреть файл

@ -0,0 +1,176 @@
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"loadBalancerSettings": {
"value": {
"name": "bb-dev-web-lb",
"frontendIPConfigurations": [
{
"name": "lbfe1",
"loadBalancerType": "internal",
"internalLoadBalancerSettings": {
"privateIPAddress": "10.0.0.254",
"subnetName": "web"
}
}
],
"loadBalancingRules": [
{
"name": "lbr1",
"frontendPort": 80,
"backendPort": 80,
"protocol": "Tcp",
"backendPoolName": "lb-bep1",
"frontendIPConfigurationName": "lbfe1",
"probeName": "lbp1"
},
{
"name": "lbr2",
"frontendPort": 443,
"backendPort": 443,
"protocol": "Tcp",
"backendPoolName": "lb-bep2",
"frontendIPConfigurationName": "lbfe1",
"probeName": "lbp2"
}
],
"probes": [
{
"name": "lbp1",
"port": 80,
"protocol": "Http",
"requestPath": "/"
},
{
"name": "lbp2",
"port": 443,
"protocol": "Http",
"requestPath": "/"
}
],
"backendPools": [
{
"name": "lb-bep1",
"nicIndex": 0
},
{
"name": "lb-bep2",
"nicIndex": 0
},
{
"name": "lb-bep3",
"nicIndex": 0
}
],
"inboundNatRules": [
{
"namePrefix": "nat1",
"frontendIPConfigurationName": "lbfe1",
"startingFrontendPort": 50001,
"backendPort": 3389,
"natRuleType": "All",
"protocol": "Tcp",
"nicIndex": 0
},
{
"namePrefix": "nat2",
"frontendIPConfigurationName": "lbfe1",
"frontendPort": 9042,
"backendPort": 9042,
"natRuleType": "Single",
"protocol": "Tcp",
"vmIndex": 1,
"nicIndex": 0
},
{
"namePrefix": "nat3",
"frontendIPConfigurationName": "lbfe1",
"frontendPort": 25,
"natRuleType": "FloatingIp",
"protocol": "Tcp",
"vmIndex": 2,
"nicIndex": 0
}
]
}
},
"virtualMachinesSettings": {
"value": {
"namePrefix": "bb-dev-web",
"computerNamePrefix": "bb-dev-web",
"size": "Standard_DS4_v2",
"osType": "windows",
"adminUsername": "testuser",
"adminPassword": "AweS0me@PW",
"osAuthenticationType": "password",
"nics": [
{
"isPublic": "true",
"subnetName": "web",
"privateIPAllocationMethod": "Static",
"publicIPAllocationMethod": "Dynamic",
"startingIPAddress": "10.0.0.21",
"enableIPForwarding": true,
"dnsServers": [
],
"isPrimary": "true"
},
{
"isPublic": "false",
"subnetName": "biz",
"privateIPAllocationMethod": "Dynamic",
"enableIPForwarding": false,
"dnsServers": [
],
"isPrimary": "false"
}
],
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2012-R2-Datacenter",
"version": "latest"
},
"dataDisks": {
"count": 1,
"properties": {
"diskSizeGB": 127,
"caching": "None",
"createOption": "Empty"
}
},
"osDisk": {
"caching": "ReadWrite"
},
"extensions": [ ],
"availabilitySet": {
"useExistingAvailabilitySet": "No",
"name": "bb-dev-lb-as"
}
},
"metadata": {
"description": "Settings for Virtual Machines"
}
},
"virtualNetworkSettings": {
"value": {
"name": "bb-dev-vnet",
"resourceGroup": "bb-dev-rg"
},
"metadata": {
"description": "Infrastructure Settings"
}
},
"buildingBlockSettings": {
"value": {
"storageAccountsCount": 2,
"vmCount": 2,
"vmStartIndex": 1
},
"metadata": {
"description": "Settings specific to the building block"
}
}
}
}

Просмотреть файл

@ -4,14 +4,14 @@
"parameters": {
"loadBalancerSettings": {
"value": {
"name": "web-ilb",
"name": "bb-dev-biz-lb",
"frontendIPConfigurations": [
{
"name": "lbfe1",
"name": "bb-dev-biz-lbfe1",
"loadBalancerType": "internal",
"internalLoadBalancerSettings": {
"privateIPAddress": "10.0.0.254",
"subnetName": "bb-web-sn"
"privateIPAddress": "10.0.2.100",
"subnetName": "biz"
}
}
],
@ -22,17 +22,8 @@
"backendPort": 80,
"protocol": "Tcp",
"backendPoolName": "lb-bep1",
"frontendIPConfigurationName": "lbfe1",
"frontendIPConfigurationName": "bb-dev-biz-lbfe1",
"probeName": "lbp1"
},
{
"name": "lbr2",
"frontendPort": 443,
"backendPort": 443,
"protocol": "Tcp",
"backendPoolName": "lb-bep2",
"frontendIPConfigurationName": "lbfe1",
"probeName": "lbp2"
}
],
"probes": [
@ -41,89 +32,35 @@
"port": 80,
"protocol": "Http",
"requestPath": "/"
},
{
"name": "lbp2",
"port": 443,
"protocol": "Http",
"requestPath": "/"
}
],
"backendPools": [
{
"name": "lb-bep1",
"nicIndex": 0
},
{
"name": "lb-bep2",
"nicIndex": 0
},
{
"name": "lb-bep3",
"nicIndex": 0
}
],
"inboundNatRules": [
{
"namePrefix": "nat1",
"frontendIPConfigurationName": "lbfe1",
"startingFrontendPort": 50001,
"backendPort": 3389,
"natRuleType": "All",
"protocol": "Tcp",
"nicIndex": 0
},
{
"namePrefix": "nat2",
"frontendIPConfigurationName": "lbfe1",
"frontendPort": 9042,
"backendPort": 9042,
"natRuleType": "Single",
"protocol": "Tcp",
"vmIndex": 1,
"nicIndex": 0
},
{
"namePrefix": "nat3",
"frontendIPConfigurationName": "lbfe1",
"frontendPort": 25,
"natRuleType": "FloatingIp",
"protocol": "Tcp",
"vmIndex": 2,
"nicIndex": 0
}
]
"inboundNatRules": []
}
},
"virtualMachinesSettings": {
"value": {
"namePrefix": "bb-vm",
"computerNamePrefix": "cn",
"size": "Standard_DS2",
"namePrefix": "bb-dev-biz",
"computerNamePrefix": "bb-dev-web",
"size": "Standard_DS4_v2",
"osType": "windows",
"adminUsername": "testuser",
"adminPassword": "AweS0me@PW",
"osAuthenticationType": "password",
"nics": [
{
"isPublic": "true",
"subnetName": "bb-web-sn",
"privateIPAllocationMethod": "Static",
"publicIPAllocationMethod": "Dynamic",
"startingIPAddress": "10.0.0.240",
"enableIPForwarding": true,
"dnsServers": [
],
"isPrimary": "true"
},
{
"isPublic": "false",
"subnetName": "bb-biz-sn",
"privateIPAllocationMethod": "dynamic",
"subnetName": "biz",
"privateIPAllocationMethod": "Dynamic",
"enableIPForwarding": false,
"dnsServers": [
],
"isPrimary": "false"
"isPrimary": "true"
}
],
"imageReference": {
@ -146,7 +83,7 @@
"extensions": [ ],
"availabilitySet": {
"useExistingAvailabilitySet": "No",
"name": "bb-as"
"name": "bb-dev-biz-lb-as"
}
},
"metadata": {
@ -156,7 +93,7 @@
"virtualNetworkSettings": {
"value": {
"name": "bb-dev-vnet",
"resourceGroup": "bb-ilb-rg"
"resourceGroup": "bb-dev-rg"
},
"metadata": {
"description": "Infrastructure Settings"
@ -164,9 +101,9 @@
},
"buildingBlockSettings": {
"value": {
"storageAccountsCount": 1,
"vmCount": 2,
"vmStartIndex": 0
"storageAccountsCount": 2,
"vmCount": 5,
"vmStartIndex": 1
},
"metadata": {
"description": "Settings specific to the building block"

Просмотреть файл

@ -4,10 +4,10 @@
"parameters": {
"loadBalancerSettings": {
"value": {
"name": "web-ilb",
"name": "bb-dev-web-lb",
"frontendIPConfigurations": [
{
"name": "lbfe1",
"name": "bb-dev-lbfe1",
"loadBalancerType": "public"
}
],
@ -18,17 +18,8 @@
"backendPort": 80,
"protocol": "Tcp",
"backendPoolName": "lb-bep1",
"frontendIPConfigurationName": "lbfe1",
"frontendIPConfigurationName": "bb-dev-lbfe1",
"probeName": "lbp1"
},
{
"name": "lbr2",
"frontendPort": 443,
"backendPort": 443,
"protocol": "Tcp",
"backendPoolName": "lb-bep2",
"frontendIPConfigurationName": "lbfe1",
"probeName": "lbp2"
}
],
"probes": [
@ -37,89 +28,36 @@
"port": 80,
"protocol": "Http",
"requestPath": "/"
},
{
"name": "lbp2",
"port": 443,
"protocol": "Http",
"requestPath": "/"
}
],
"backendPools": [
{
"name": "lb-bep1",
"nicIndex": 0
},
{
"name": "lb-bep2",
"nicIndex": 0
},
{
"name": "lb-bep3",
"nicIndex": 0
}
],
"inboundNatRules": [
{
"namePrefix": "nat1",
"frontendIPConfigurationName": "lbfe1",
"startingFrontendPort": 50001,
"backendPort": 3389,
"natRuleType": "All",
"protocol": "Tcp",
"nicIndex": 0
},
{
"namePrefix": "nat2",
"frontendIPConfigurationName": "lbfe1",
"frontendPort": 9042,
"backendPort": 9042,
"natRuleType": "Single",
"protocol": "Tcp",
"vmIndex": 1,
"nicIndex": 0
},
{
"namePrefix": "nat3",
"frontendIPConfigurationName": "lbfe1",
"frontendPort": 25,
"natRuleType": "FloatingIp",
"protocol": "Tcp",
"vmIndex": 2,
"nicIndex": 0
}
]
"inboundNatRules": [ ]
}
},
"virtualMachinesSettings": {
"value": {
"namePrefix": "bb-vm",
"computerNamePrefix": "cn",
"size": "Standard_DS2",
"namePrefix": "bb-dev-web",
"computerNamePrefix": "bb-dev-web",
"size": "Standard_DS2_v2",
"osType": "windows",
"adminUsername": "testuser",
"adminPassword": "AweS0me@PW",
"osAuthenticationType": "password",
"nics": [
{
"isPublic": "true",
"subnetName": "bb-web-sn",
"privateIPAllocationMethod": "Static",
"publicIPAllocationMethod": "Dynamic",
"startingIPAddress": "10.0.0.240",
"enableIPForwarding": true,
"dnsServers": [
],
"isPrimary": "true"
},
{
"isPublic": "false",
"subnetName": "bb-biz-sn",
"privateIPAllocationMethod": "dynamic",
"subnetName": "web",
"privateIPAllocationMethod": "Static",
"startingIPAddress": "10.0.1.101",
"enableIPForwarding": false,
"dnsServers": [
],
"isPrimary": "false"
"isPrimary": "true"
}
],
"imageReference": {
@ -139,10 +77,23 @@
"osDisk": {
"caching": "ReadWrite"
},
"extensions": [ ],
"extensions": [
{
"name": "iis-config-ext",
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
"publisher": "Microsoft.Powershell",
"type": "DSC",
"typeHandlerVersion": "2.20",
"autoUpgradeMinorVersion": true,
"settingsConfig": {
"modulesUrl": "https://raw.githubusercontent.com/mspnp/reference-architectures/master/ra-multi-vm-extend/guidance-compute-multi-vm/extensions/windows/iisaspnet.ps1.zip",
"configurationFunction": "iisaspnet.ps1\\iisaspnet"
}
}
],
"availabilitySet": {
"useExistingAvailabilitySet": "No",
"name": "bb-as"
"name": "bb-dev-lb-as"
}
},
"metadata": {
@ -152,7 +103,7 @@
"virtualNetworkSettings": {
"value": {
"name": "bb-dev-vnet",
"resourceGroup": "bb-ilb-rg"
"resourceGroup": "bb-dev-rg"
},
"metadata": {
"description": "Infrastructure Settings"
@ -160,9 +111,9 @@
},
"buildingBlockSettings": {
"value": {
"storageAccountsCount": 1,
"vmCount": 2,
"vmStartIndex": 0
"storageAccountsCount": 2,
"vmCount": 3,
"vmStartIndex": 1
},
"metadata": {
"description": "Settings specific to the building block"

Просмотреть файл

@ -0,0 +1,95 @@
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"virtualMachinesSettings": {
"value": {
"namePrefix": "bb-dev-jb",
"computerNamePrefix": "bb-dev-jb",
"size": "Standard_DS2_v2",
"osType": "windows",
"adminUsername": "testuser",
"adminPassword": "AweS0me@PW",
"osAuthenticationType": "password",
"nics": [
{
"isPublic": "true",
"subnetName": "management",
"privateIPAllocationMethod": "Dynamic",
"publicIPAllocationMethod": "Dynamic",
"enableIPForwarding": false,
"dnsServers": [
],
"isPrimary": "true"
}
],
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2012-R2-Datacenter",
"version": "latest"
},
"dataDisks": {
"count": 0,
"properties": {}
},
"osDisk": {
"caching": "ReadWrite"
},
"extensions": [
{
"name": "IaaSAntimalware",
"publisher": "Microsoft.Azure.Security",
"type": "IaaSAntimalware",
"typeHandlerVersion": "1.3",
"autoUpgradeMinorVersion": true,
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
"settingsConfig": {
"AntimalwareEnabled": true,
"RealtimeProtectionEnabled": "false",
"ScheduledScanSettings": {
"isEnabled": "false",
"day": "7",
"time": "120",
"scanType": "Quick"
},
"Exclusions": {
"Extensions": ".gif",
"Paths": "c:\\test",
"Processes": "test.exe"
}
}
},
{
"name": "malware",
"publisher": "Symantec",
"type": "SymantecEndpointProtection",
"typeHandlerVersion": "12.1",
"autoUpgradeMinorVersion": true,
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
"settingsConfig": {
}
}
],
"availabilitySet": {
"useExistingAvailabilitySet": "No",
"name": ""
}
}
},
"virtualNetworkSettings": {
"value": {
"name": "bb-dev-vnet",
"resourceGroup": "bb-dev-rg"
}
},
"buildingBlockSettings": {
"value": {
"storageAccountsCount": 1,
"vmCount": 1,
"vmStartIndex": 1
}
}
}
}

Просмотреть файл

@ -4,9 +4,9 @@
"parameters": {
"virtualMachinesSettings": {
"value": {
"namePrefix": "bb-vm",
"computerNamePrefix": "cn",
"size": "Standard_DS2_v2",
"namePrefix": "bb-dev",
"computerNamePrefix": "bb-dev",
"size": "Standard_DS4_v2",
"osType": "windows",
"adminUsername": "testuser",
"adminPassword": "AweS0me@PW",
@ -14,7 +14,7 @@
"nics": [
{
"isPublic": "true",
"subnetName": "bb-web-sn",
"subnetName": "web",
"privateIPAllocationMethod": "Static",
"publicIPAllocationMethod": "Dynamic",
"startingIPAddress": "10.0.0.240",
@ -25,8 +25,8 @@
},
{
"isPublic": "false",
"subnetName": "bb-biz-sn",
"privateIPAllocationMethod": "dynamic",
"subnetName": "biz",
"privateIPAllocationMethod": "Dynamic",
"enableIPForwarding": false,
"dnsServers": [
],
@ -34,9 +34,9 @@
},
{
"isPublic": "false",
"subnetName": "bb-data-sn",
"subnetName": "data",
"privateIPAllocationMethod": "Static",
"startingIPAddress": "10.0.0.240",
"startingIPAddress": "10.0.2.240",
"enableIPForwarding": false,
"dnsServers": [
],
@ -100,21 +100,21 @@
],
"availabilitySet": {
"useExistingAvailabilitySet": "No",
"name": "bb-as"
"name": "bb-dev-as"
}
}
},
"virtualNetworkSettings": {
"value": {
"name": "bb-dev-vnet",
"resourceGroup": "bb-multivm-rg"
"resourceGroup": "bb-dev-rg"
}
},
"buildingBlockSettings": {
"value": {
"storageAccountsCount": 2,
"vmCount": 2,
"vmStartIndex": 0
"vmStartIndex": 1
}
}
}

Просмотреть файл

@ -0,0 +1,96 @@
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"virtualMachinesSettings": {
"value": {
"namePrefix": "bb-dev",
"computerNamePrefix": "bb-dev",
"size": "Standard_DS4_v2",
"osType": "windows",
"adminUsername": "testuser",
"adminPassword": "AweS0me@PW",
"osAuthenticationType": "password",
"nics": [
{
"isPublic": "true",
"subnetName": "web",
"privateIPAllocationMethod": "Static",
"publicIPAllocationMethod": "Dynamic",
"startingIPAddress": "10.0.0.242",
"enableIPForwarding": false,
"dnsServers": [
],
"isPrimary": "true"
}
],
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2012-R2-Datacenter",
"version": "latest"
},
"dataDisks": {
"count": 0,
"properties": {}
},
"osDisk": {
"caching": "ReadWrite"
},
"extensions": [
{
"name": "IaaSAntimalware",
"publisher": "Microsoft.Azure.Security",
"type": "IaaSAntimalware",
"typeHandlerVersion": "1.3",
"autoUpgradeMinorVersion": true,
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
"settingsConfig": {
"AntimalwareEnabled": true,
"RealtimeProtectionEnabled": "false",
"ScheduledScanSettings": {
"isEnabled": "false",
"day": "7",
"time": "120",
"scanType": "Quick"
},
"Exclusions": {
"Extensions": ".gif",
"Paths": "c:\\test",
"Processes": "test.exe"
}
}
},
{
"name": "malware",
"publisher": "Symantec",
"type": "SymantecEndpointProtection",
"typeHandlerVersion": "12.1",
"autoUpgradeMinorVersion": true,
"settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json",
"settingsConfig": {
}
}
],
"availabilitySet": {
"useExistingAvailabilitySet": "Yes",
"name": "bb-dev-as"
}
}
},
"virtualNetworkSettings": {
"value": {
"name": "bb-dev-vnet",
"resourceGroup": "bb-dev-rg"
}
},
"buildingBlockSettings": {
"value": {
"storageAccountsCount": 2,
"vmCount": 2,
"vmStartIndex": 3
}
}
}
}

Просмотреть файл

@ -0,0 +1,61 @@
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"virtualMachinesSettings": {
"value": {
"namePrefix": "bb-dev",
"computerNamePrefix": "bb-dev",
"size": "Standard_DS2_v2",
"osType": "linux",
"adminUsername": "testuser",
"adminPassword": "AweS0me@PW",
"osAuthenticationType": "password",
"nics": [
{
"isPublic": "false",
"subnetName": "data",
"privateIPAllocationMethod": "Static",
"publicIPAllocationMethod": "Dynamic",
"startingIPAddress": "10.0.3.101",
"enableIPForwarding": false,
"dnsServers": [
],
"isPrimary": "true"
}
],
"imageReference": {
"publisher": "Canonical",
"offer": "UbuntuServer",
"sku": "14.04.5-LTS",
"version": "latest"
},
"dataDisks": {
"count": 0,
"properties": {}
},
"osDisk": {
"caching": "ReadWrite"
},
"extensions": [ ],
"availabilitySet": {
"useExistingAvailabilitySet": "No",
"name": "bb-dev-linux-as"
}
}
},
"virtualNetworkSettings": {
"value": {
"name": "bb-dev-vnet",
"resourceGroup": "bb-dev-rg"
}
},
"buildingBlockSettings": {
"value": {
"storageAccountsCount": 3,
"vmCount": 3,
"vmStartIndex": 1
}
}
}
}

Просмотреть файл

@ -0,0 +1,80 @@
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"virtualNetworkSettings": {
"value": {
"name": "bb-dev-vnet",
"resourceGroup": "bb-dev-rg"
}
},
"networkSecurityGroupsSettings": {
"value": [
{
"name": "bb-dev-web-nsg",
"subnets": [
"web",
"biz"
],
"networkInterfaces": [ ],
"securityRules": [
{
"name": "RDPAllow",
"direction": "Inbound",
"priority": 100,
"sourceAddressPrefix": "10.0.0.128/25",
"destinationAddressPrefix": "*",
"sourcePortRange": "*",
"destinationPortRange": "3389",
"access": "Allow",
"protocol": "Tcp"
},
{
"name": "HTTPAllow",
"direction": "Inbound",
"priority": 200,
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"sourcePortRange": "*",
"destinationPortRange": "80",
"access": "Allow",
"protocol": "Tcp"
}
]
},
{
"name": "bb-dev-data-nsg",
"subnets": [
"data"
],
"networkInterfaces": [ ],
"securityRules": [
{
"name": "RDPAllow",
"direction": "Inbound",
"priority": 100,
"sourceAddressPrefix": "10.0.0.128/25",
"destinationAddressPrefix": "*",
"sourcePortRange": "*",
"destinationPortRange": "3389",
"access": "Allow",
"protocol": "Tcp"
},
{
"name": "SQLAllow",
"direction": "Inbound",
"priority": 200,
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"sourcePortRange": "*",
"destinationPortRange": "1433",
"access": "Allow",
"protocol": "Tcp"
}
]
}
]
}
}
}

Просмотреть файл

@ -5,19 +5,19 @@
"virtualNetworkSettings": {
"value": {
"name": "bb-dev-vnet",
"resourceGroup": "bb-nsg-rg"
"resourceGroup": "bb-dev-rg"
}
},
"networkSecurityGroupsSettings": {
"value": [
{
"name": "bb-nsg1",
"name": "bb-dev-nsg1",
"subnets": [
"bb-web-sn"
"web"
],
"networkInterfaces": [
"bb-vm-vm0-nic1",
"bb-vm-vm1-nic1"
"bb-dev-web1-nic1",
"bb-dev-web2-nic1"
],
"securityRules": [
{
@ -32,33 +32,33 @@
"protocol": "Tcp"
},
{
"name": "SMTPAllow",
"name": "SSHAllow",
"direction": "Inbound",
"priority": 200,
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"sourcePortRange": "*",
"destinationPortRange": "25",
"destinationPortRange": "22",
"access": "Allow",
"protocol": "Tcp"
}
]
},
{
"name": "bb-nsg2",
"name": "bb-dev-nsg2",
"subnets": [
"bb-biz-sn",
"bb-data-sn"
"biz",
"data"
],
"networkInterfaces": [
"bb-vm-vm0-nic3",
"bb-vm-vm1-nic2"
"bb-dev-web1-nic2",
"bb-dev-web1-nic3"
],
"securityRules": [
{
"name": "RDPAllow",
"direction": "Inbound",
"priority": 1000,
"priority": 100,
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"sourcePortRange": "*",
@ -67,13 +67,13 @@
"protocol": "Tcp"
},
{
"name": "SMTPAllow",
"name": "SSHAllow",
"direction": "Inbound",
"priority": 200,
"sourceAddressPrefix": "*",
"destinationAddressPrefix": "*",
"sourcePortRange": "*",
"destinationPortRange": "110",
"destinationPortRange": "22",
"access": "Allow",
"protocol": "Tcp"
}

Просмотреть файл

@ -5,34 +5,34 @@
"routeTableSettings": {
"value": [
{
"name": "bb-nva-rt1",
"name": "bb-dev-web-biz-rt",
"subnets": [
"bb-web-sn",
"bb-biz-sn"
"web",
"biz"
],
"routes": [
{
"name": "route1",
"addressPrefix": "10.0.2.0/24",
"name": "toData",
"addressPrefix": "10.0.3.0/24",
"nextHopType": "VirtualAppliance",
"nextHopIpAddress": "10.0.255.224"
}
]
},
{
"name": "bb-nva-rt2",
"name": "bb-dev-data-rt",
"subnets": [
"bb-data-sn"
"data"
],
"routes": [
{
"name": "route1",
"name": "toWeb",
"addressPrefix": "10.0.0.0/24",
"nextHopType": "VirtualAppliance",
"nextHopIpAddress": "10.0.255.224"
},
{
"name": "route1",
"name": "toBiz",
"addressPrefix": "10.0.1.0/24",
"nextHopType": "VirtualAppliance",
"nextHopIpAddress": "10.0.255.224"

Просмотреть файл

@ -0,0 +1,35 @@
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"virtualNetworkSettings": {
"value": {
"name": "bb-dev-vnet",
"addressPrefixes": [ "10.0.0.0/16" ],
"subnets": [
{
"name": "web",
"addressPrefix": "10.0.1.0/24"
},
{
"name": "biz",
"addressPrefix": "10.0.2.0/24"
},
{
"name": "data",
"addressPrefix": "10.0.3.0/24"
},
{
"name": "management",
"addressPrefix": "10.0.0.128/25"
},
{
"name": "GatewaySubnet",
"addressPrefix": "10.0.255.224/27"
}
],
"dnsServers": []
}
}
}
}

Просмотреть файл

@ -8,15 +8,15 @@
"addressPrefixes": [ "10.0.0.0/16" ],
"subnets": [
{
"name": "bb-web-sn",
"name": "web",
"addressPrefix": "10.0.0.0/24"
},
{
"name": "bb-biz-sn",
"name": "biz",
"addressPrefix": "10.0.1.0/24"
},
{
"name": "bb-data-sn",
"name": "data",
"addressPrefix": "10.0.2.0/24"
}
],

Просмотреть файл

@ -8,20 +8,20 @@
"addressPrefixes": [ "10.0.0.0/16" ],
"subnets": [
{
"name": "bb-web-sn",
"name": "web",
"addressPrefix": "10.0.0.0/24"
},
{
"name": "bb-biz-sn",
"name": "biz",
"addressPrefix": "10.0.1.0/24"
},
{
"name": "bb-data-sn",
"name": "data",
"addressPrefix": "10.0.2.0/24"
},
{
"name": "Gateway",
"addressPrefix": "10.0.3.0/24"
"name": "GatewaySubnet",
"addressPrefix": "10.0.255.224/27"
}
],
"dnsServers": []