RDS Gateway High Availability deployment

Last updated: 16/07/2018

This template provides high availability to RD Gateway and RD Web Access servers in an existing RDS deployment

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service, and are made available AS IS without warranty of any kind.


Parameter Name Description
dnsLabelPrefix Unique public DNS prefix for the deployment. The fqdn will look something like '<dnsname>.westus.cloudapp.azure.com'. Up to 62 chars, digits or dashes, lowercase, should start with a letter: must conform to '^[a-z][a-z0-9-]{1,61}[a-z0-9]$'.
loadBalancer The Loadbalancer name must match from the RDS deployment. And default value taken by template is loadbalancer.
backendAddressPools The backendAddressPools name must match from the RDS deployment. And default value taken by template is LBBAP.
gw-AvailabilitySet The gw-availabilityset name must match from the RDS deployment. And default value taken by template is gw-availabilityset.
adDomainName The FQDN of the AD domain
adminUsername The name of the administrator of the new VM and the domain. Exclusion list: 'administrator
adminPassword The password for the administrator account of the new VM and the domain
numberOfWebGwInstances Number of RD Gateway instances
brokerServer FQDN for Broker Server
WebURL This is RD Gateway external FQDN. This shall be picked from existing basic RDS deploment.
domainNetbios Netbios Name for Domain
imageSKU Windows server SKU
vmSize Size for the new RD Gateway VMs
existingVnet The vnet name of AD domain. For example johnvnet1
existingSubnet The subnet name of AD domain. For example johnsubnet1
existingVnetResourceGroup The name of the resourceGroup for the vnet
location Location for all resources.

Use the template


New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/rds-deployment-ha-gateway/azuredeploy.json
Installing and configuring Azure PowerShell

Command line

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/rds-deployment-ha-gateway/azuredeploy.json
Installing and configuring the Azure cross-platform command-line interface