↑ Back to top
As time passes, more and more IT professionals want to exploit the potential of the cloud. In this article, we will talk about how we can do an On-Premise Domain Controller replica to an Azure Virtual Machine.
From the main blade on the left side select All Services > Search {Virtual Network} >Click Virtual Networks.
Click "+Add" to start a new virtual network creation.
At the next step, fill in the information as the image below shows.
A Gateway Subnet is a subnet which enables the encrypted traffic between an Azure Vnet and On-premises network. The name of this Subnet must be "GatewaySubnet" to work properly. We also can't deploy Virtual Machines or any other service. Static Public IP is not accepted and only Dynamic IP can be assigned to this service.
In the following steps, we will create the Gateway Subnet. Through this subnet, we will achieve the communication between Vnet and Gateway. From the Virtual Network main blade, select SETTINGS - Subnets - click "+Gateway subnet".
Define the Address range e.g [10.1.1.0/28], and type OK
After the previous steps, we have two subnets, as the next image shows.
At the next steps, we are going to create the Virtual Network Gateway. Search for the service "Virtual network gateway", click the first result as the image below shows and at the next blade click Create.
At the {Create virtual network gateway} blade fill all the information and click Create to start the deployment.
More details about the Virtual Network Gateway Settings:
Search for the service {local Network Gateway}, select the first result and click the button Create.
A new blade opens and we must type the information for the Local Network Gateway, as the image below shows.
In the new blade type all the necessary information (as the next image shows), and click OK.
Once we've completed all of the above steps we are ready to make the final step and this is the VPN device configuration. The next image shows what will be the connection status on a step before we engage Azure and On-Premise infrastructures.
Links for additional configuration information:
Fill in the information in the Basics blade.
After the installation finishes, select Promote this server to a domain controller.
Do NOT check Update DNS delegation and click Next>
Click the button Close, and now the replication has started! You can check the users in the Domain Controller User folder.