Moving active directory / domain controller from on-premises to Azure
Azure does not support on-premises DHCP server, so definitely something you won't be migrating to the cloud.
There's no easy way, although, in my opinion, it's easy enough. You have to follow the steps you just mentioned:
- Setup VPN (guide)
- Configure Azure VNet DNS server (On-premises DC)
- Install a replica AD DC in Azure VM (guide)
- Reconfigure Azure VNet DNS server (guide)
- Reboot Azure AD Connect VM to renew network settings - It shouldn't stop working as it will automatically use any available DC in the forest.
- Demote on-premises DC (guide)
Alternatively, for things like authentication and simple GPOs you can use Azure AD DS. It won't use your on-premises domain tho, it will use the users and groups from your Azure AD, but it creates a new domain separated from your on-premises Azure AD.
https://azure.microsoft.com/en-us/documentation/articles/active-directory-ds-overview/
Related videos on Youtube
Eros2016
Updated on September 18, 2022Comments
-
Eros2016 over 1 year
We have an onsite server running windows server 2012 r2. We have DNS, DHCP and Active Directory running on this machine running as a domain controller.
About a year ago we signed up for office 365 and used ADD connect to populate 365 with usernames and password syncs from our on-premises domain.
All working fine!
The question is now, I want to run a new Server 2012 r2 instance in Azure and promote this as our domain controller and decommission our onsite server meaning we are then fully cloud based, with no onsite equipment.
What would be the best way to do this?
I am thinking site-to-site VPN, promote the new cloud VM and move all roles to the cloud VM and shut down the onsite sever. Then re-install ADD connect on the cloud VM for managing the 365 mailboxes and password syncs.
Is there a better (or easier) way to do this? We have SQL databases and software that will run on the cloud instance, and having active directory and a real domain controller is definelfy a requirement.
Thanks in advance!
-
Jesus Shelby over 7 yearsI would probably recommend using an external time source on the DC as well.
-
Eros2016 over 7 yearsHi Bruno, thanks for your detailed response. I will configure the VPN, promote the azure VM and demote the onsite server entirely. We will use a Cisco DHCP/DNS server onsite so the cloud instance just needs to be a domain controller. Thanks for your advice!
-
Bruno Faria over 7 yearsGreat! As soon as you finish the migration and everything goes well for you don't forget to mark it as an answer. :)