/replicaDcs

Example code for building out replica domain controllers in Azure

MIT LicenseMIT

Replica Domain Controllers - Quickstart

Architecture

Quickstart Architecture

Background

Most enterprises choose to extend their Active Directory Domain Services (ADDS) environment into Azure as part of their digital transformation. Many applications and server environments still rely upon legacy authentication methods like Kerberos for access. Rather than build out replica domain controllers in Azure manually, this template automates both the build and configuration process to help speed up the process.

Pre-requisities

  1. An existing VNet needs to be set-up with a S2S VPN or ExpressRoute with private peering. In order for the template to work, DNS servers in the Azure VNet need to point to on-premises domain controllers. When the servers come online, they will need to know how to resolve DNS in order to both join the domain and be promoted as a replica domain controller. This custom DNS server setting is configured within your virtual network (VNet).
  2. A Key Vault must be set up in the subscription. The parameters json showcases how to reference a secret, but values need to be changed per the environment you are deploying this Quickstart to in Azure.
  3. Prior to running this template, ensure Active Directory Sites and Services is set up within your ADDS environment on-premises before provisioning your Azure replica domain controller environment. AD Sites provides a great solution for managing ADDS environments that have different geographical locations, yet fall under the same domain. AD Sites are groupings of well-connected IP subnets that are used to efficiently replicate information among domain controllers. AD Sites help to achieve cost-efficiency and speed, along with letting companies exercise better control over the replication traffic and the entire authentication process. When there is more than one DC in the associated site that is capable of handling client logon, services, and directory searches, AD Sites locates the closest DC to perform those actions.

Benefits

  1. Provides access to the same identity information that is available on-premises.
  2. Companies can authenticate a user, service, and/or computer accounts on-premises and in Azure.
  3. Companies do not need to manage a separate AD forest, as the domain in Azure can belong to the on-premises forest.
  4. Companies can apply group policy defined by on-premises Group Policy Objects to the domain in Azure.

Possible Challenges

  1. Companies must deploy and manage their own AD DS servers and domain in the cloud.
  2. There may be some synchronization latency between the domain servers in the cloud and the servers running on-premises.