Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ARM Templates for Express Route High Availability #14141

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
description: A template for deploying 2 Express Route Circuits
page_type: sample
products:
- azure
- azure-resource-manager
urlFragment: new-express-route-circuits
languages:
- json
---
# High Resiliency Express Route Circuit Deployment

![Azure Public Test Date](https://azurequickstartsservice.blob.core.windows.net/badges/expressroute/high-availability-setup/new-express-route-circuits/PublicLastTestDate.svg)
![Azure Public Test Result](https://azurequickstartsservice.blob.core.windows.net/badges/expressroute/high-availability-setup/new-express-route-circuits/PublicDeployment.svg)

![Azure US Gov Last Test Date](https://azurequickstartsservice.blob.core.windows.net/badges/expressroute/high-availability-setup/new-express-route-circuits/FairfaxLastTestDate.svg)
![Azure US Gov Last Test Result](https://azurequickstartsservice.blob.core.windows.net/badges/expressroute/high-availability-setup/new-express-route-circuits/FairfaxDeployment.svg)

![Best Practice Check](https://azurequickstartsservice.blob.core.windows.net/badges/expressroute/high-availability-setup/new-express-route-circuits/BestPracticeResult.svg)
![Cred Scan Check](https://azurequickstartsservice.blob.core.windows.net/badges/expressroute/high-availability-setup/new-express-route-circuits/CredScanResult.svg)

[![Deploy To Azure](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazure.svg?sanitize=true)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fapplication-workloads%2Fexpressroute%2Fhigh-availability-setup%2Fnew-express-route-circuits%2Fazuredeploy.json)
[![Deploy To Azure US Gov](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazuregov.svg?sanitize=true)](https://portal.azure.us/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fapplication-workloads%2Fexpressroute%2Fhigh-availability-setup%2Fnew-express-route-circuits%2Fazuredeploy.json)
[![Visualize](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/visualizebutton.svg?sanitize=true)](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fapplication-workloads%2Fexpressroute%2Fhigh-availability-setup%2Fnew-express-route-circuits%2Fazuredeploy.json)

This template deploys 2 Express Route Circuits

For more information about how to design and architect Azure ExpressRoute for resiliency check the [official tutorials](https://learn.microsoft.com/en-us/azure/expressroute/design-architecture-for-resiliency).

`Tags: Microsoft.Networkwork/expressroute, expressroute`

# Example parameters for template
$parameters = @{
# circuit 1 parameters for circuit using service provider:
circuit1Location = "eastus"
circuit1Name = "circuit1"
circuit1SkuTier = "Standard"
circuit1SkuFamily = "MeteredData"
circuit1BandwidthInMbps = 1000
circuit1ProviderName = "AT&T Netbond"
circuit1PeeringLocation = "Amsterdam"
# circuit 2 parameters for circuit using service provider:
circuit2Location = "eastus"
circuit2Name = "circuit2"
circuit2SkuTier = "Standard"
circuit2SkuFamily = "MeteredData"
circuit2BandwidthInMbps = 2000
circuit2ProviderName = "AT&T Netbond"
circuit2PeeringLocation = "Amsterdam"
}

$parameters = @{
# circuit 1 parameters for circuit using direct port:
circuit1Location = "eastus"
circuit1Name = "circuit1"
circuit1SkuTier = "Standard"
circuit1SkuFamily = "MeteredData"
circuit1DirectId = "/subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.Network/expressRoutePorts/<portName>"
circuit1BandwidthInGbps = 1
circuit1DirectEnableRateLimiting = $true
# circuit 2 parameters for circuit using direct port:
circuit2Location = "eastus"
circuit2Name = "circuit2"
circuit2SkuTier = "Standard"
circuit2SkuFamily = "MeteredData"
circuit2DirectId = "/subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.Network/expressRoutePorts/<portName2>"
circuit2BandwidthInGbps = 1
circuit2DirectEnableRateLimiting = $true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
"itemDisplayName": "ExpressRoute high Availability ARM Templates",
"description": "ARM templates to deploy 2 ExpressRoute circuits for resilient setups.",
"summary": "ARM templates for deploying a set of circuits to be set up as high available/zone redundant, in order to achieve resiliency.",
"githubUsername": "nimaller",
"dateUpdated": "2024-09-26",
"type": "QuickStart"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"circuit1Location": {
"type": "string"
},
"circuit1Name": {
"type": "string"
},
"circuit1SkuTier": {
"type": "string"
},
"circuit1SkuFamily": {
"type": "string"
},
"circuit1BandwidthInMbps": {
"defaultValue": 1000,
"type": "int"
},
"circuit1ProviderName": {
"defaultValue": "",
"type": "string"
},
"circuit1PeeringLocation": {
"defaultValue": "",
"type": "string"
},
"circuit1BandwidthInGbps": {
"defaultValue": 1,
"type": "int"
},
"circuit1DirectId": {
"defaultValue": "",
"type": "string"
},
"circuit1DirectEnableRateLimiting": {
"defaultValue": false,
"type": "bool"
},
"circuit1Tags": {
"type": "object",
"defaultValue": {}
},
"circuit2Location": {
"type": "string"
},
"circuit2Name": {
"type": "string"
},
"circuit2SkuTier": {
"type": "string"
},
"circuit2SkuFamily": {
"type": "string"
},
"circuit2BandwidthInMbps": {
"defaultValue": 1000,
"type": "int"
},
"circuit2ProviderName": {
"defaultValue": "",
"type": "string"
},
"circuit2PeeringLocation": {
"defaultValue": "",
"type": "string"
},
"circuit2BandwidthInGbps": {
"defaultValue": 1,
"type": "int"
},
"circuit2DirectId": {
"defaultValue": "",
"type": "string"
},
"circuit2DirectEnableRateLimiting": {
"defaultValue": false,
"type": "bool"
},
"circuit2Tags": {
"type": "object",
"defaultValue": {}
}
},
"resources": [
{
"type": "Microsoft.Network/expressRouteCircuits",
"apiVersion": "2023-06-01",
"name": "[parameters('circuit1Name')]",
"location": "[parameters('circuit1Location')]",
"sku": {
"name": "[concat(parameters('circuit1SkuTier'),'_', parameters('circuit1SkuFamily'))]",
"tier": "[parameters('circuit1SkuTier')]",
"family": "[parameters('circuit1SkuFamily')]"
},
"properties": {
"expressRoutePort": {
"id": "[parameters('circuit1DirectId')]"
},
"enableDirectPortRateLimit": "[parameters('circuit1DirectEnableRateLimiting')]",
"bandwidthInGbps": "[parameters('circuit1BandwidthInGbps')]"
},
"tags": "[parameters('circuit1Tags')]",
"condition": "[not(empty(parameters('circuit1DirectId')))]"
},
{
"type": "Microsoft.Network/expressRouteCircuits",
"apiVersion": "2023-06-01",
"name": "[parameters('circuit1Name')]",
"location": "[parameters('circuit1Location')]",
"sku": {
"name": "[concat(parameters('circuit1SkuTier'),'_', parameters('circuit1SkuFamily'))]",
"tier": "[parameters('circuit1SkuTier')]",
"family": "[parameters('circuit1SkuFamily')]"
},
"properties": {
"serviceProviderProperties": {
"serviceProviderName": "[parameters('circuit1ProviderName')]",
"peeringLocation": "[parameters('circuit1PeeringLocation')]",
"bandwidthInMbps": "[parameters('circuit1BandwidthInMbps')]"
}
},
"tags": "[parameters('circuit1Tags')]",
"condition": "[empty(parameters('circuit1DirectId'))]"
},
{
"type": "Microsoft.Network/expressRouteCircuits",
"apiVersion": "2023-06-01",
"name": "[parameters('circuit2Name')]",
"location": "[parameters('circuit2Location')]",
"sku": {
"name": "[concat(parameters('circuit2SkuTier'),'_', parameters('circuit2SkuFamily'))]",
"tier": "[parameters('circuit2SkuTier')]",
"family": "[parameters('circuit2SkuFamily')]"
},
"properties": {
"expressRoutePort": {
"id": "[parameters('circuit2DirectId')]"
},
"enableDirectPortRateLimit": "[parameters('circuit2DirectEnableRateLimiting')]",
"bandwidthInGbps": "[parameters('circuit2BandwidthInGbps')]"
},
"tags": "[parameters('circuit2Tags')]",
"condition": "[not(empty(parameters('circuit2DirectId')))]"
},
{
"type": "Microsoft.Network/expressRouteCircuits",
"apiVersion": "2023-06-01",
"name": "[parameters('circuit2Name')]",
"location": "[parameters('circuit2Location')]",
"sku": {
"name": "[concat(parameters('circuit2SkuTier'),'_', parameters('circuit2SkuFamily'))]",
"tier": "[parameters('circuit2SkuTier')]",
"family": "[parameters('circuit2SkuFamily')]"
},
"properties": {
"serviceProviderProperties": {
"serviceProviderName": "[parameters('circuit2ProviderName')]",
"peeringLocation": "[parameters('circuit2PeeringLocation')]",
"bandwidthInMbps": "[parameters('circuit2BandwidthInMbps')]"
}
},
"tags": "[parameters('circuit2Tags')]",
"condition": "[empty(parameters('circuit2DirectId'))]"
}
]
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
description: A template for deploying 2 Express Route Virtual Network Gateway Connection
page_type: sample
products:
- azure
- azure-resource-manager
urlFragment: new-virtual-network-gateway-connections
languages:
- json
---
# High Resiliency Express Route Virtual Network Gateway Connections Deployment

![Azure Public Test Date](https://azurequickstartsservice.blob.core.windows.net/badges/expressroute/high-availability-setup/new-virtual-network-gateway-connections/PublicLastTestDate.svg)
![Azure Public Test Result](https://azurequickstartsservice.blob.core.windows.net/badges/expressroute/high-availability-setup/new-virtual-network-gateway-connections/PublicDeployment.svg)

![Azure US Gov Last Test Date](https://azurequickstartsservice.blob.core.windows.net/badges/expressroute/high-availability-setup/new-virtual-network-gateway-connections/FairfaxLastTestDate.svg)
![Azure US Gov Last Test Result](https://azurequickstartsservice.blob.core.windows.net/badges/expressroute/high-availability-setup/new-virtual-network-gateway-connections/FairfaxDeployment.svg)

![Best Practice Check](https://azurequickstartsservice.blob.core.windows.net/badges/expressroute/high-availability-setup/new-virtual-network-gateway-connections/BestPracticeResult.svg)
![Cred Scan Check](https://azurequickstartsservice.blob.core.windows.net/badges/expressroute/high-availability-setup/new-virtual-network-gateway-connections/CredScanResult.svg)

[![Deploy To Azure](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazure.svg?sanitize=true)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fapplication-workloads%2Fexpressroute%2Fhigh-availability-setup%2Fnew-virtual-network-gateway-connections%2Fazuredeploy.json)
[![Deploy To Azure US Gov](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazuregov.svg?sanitize=true)](https://portal.azure.us/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fapplication-workloads%2Fexpressroute%2Fhigh-availability-setup%2Fnew-virtual-network-gateway-connections%2Fazuredeploy.json)
[![Visualize](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/visualizebutton.svg?sanitize=true)](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fapplication-workloads%2Fexpressroute%2Fhigh-availability-setup%2Fnew-virtual-network-gateway-connections%2Fazuredeploy.json)

This template deploys 2 Express Route Virtual Network Gateway Connections

For more information about how to design and architect Azure ExpressRoute for resiliency check the [official tutorials](https://learn.microsoft.com/en-us/azure/expressroute/design-architecture-for-resiliency).

`Tags: Microsoft.Networkwork/expressroute, expressroute`

# Example parameters for template
$parameters = @{
# Gateway parameters:
location = "francecentral"
virtualNetworkGatewayId1 = "/subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.Network/virtualNetworkGateways/erVng_migrated"
# connection 1 parameters:
connectionName1 = "connection1"
routingWeight1 = 10
expressRouteGatewayBypass1 = $false
expressRouteId1 = "/subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.Network/expressRouteCircuits/providercircuit1"
# connection 2 parameters:
connectionName2 = "connection2"
routingWeight2 = 20
expressRouteGatewayBypass2 = $false
expressRouteId2 = "/subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.Network/expressRouteCircuits/providercircuit2"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
"itemDisplayName": "ExpressRoute Virtual Network Gateway Connections high Availability ARM Templates",
"description": "ARM templates to deploy 2 virtual network gateway connections for resilient setups.",
"summary": "ARM templates for deploying a set of connections to be set up as high available/zone redundant, in order to achieve resiliency.",
"githubUsername": "nimaller",
"dateUpdated": "2024-09-26",
"type": "QuickStart"
}
Loading
Loading