Spice IT
Often times, applications that we’re deploying to the cloud may expect Windows Server Active Directory to be present for authentication and identity management. With Windows Azure Virtual Machines and Virtual Networks, we can deploy Windows Server Active Directory on the Windows Azure cloud platform to support these security needs. Best of all, you can test and pilot this scenario for FREE by using our Windows Azure 90-Day Free Trial program.
There’s actually two options for supporting Active Directory authentication and identity management in the Windows Azure cloud: Windows Azure Active Directory and Windows Server Active Directory on Windows Azure VMs. In this article, we’ll be focusing on implementing the second option, but for an overview of both options with practical usage scenarios, check out the following article:
In this article, we’ll be working through the steps involved with provisioning a new Windows Server 2012 Active Directory Forest in the Cloud with Windows Azure Virtual Machines and Virtual Networks.
In this step-by-step guide, I’ll be working through the approach of building a new Windows Server Active Directory Forest using a single Windows Azure Virtual Machine and Virtual Network as depicted in the following diagram:
Lab Scenario: Active Directory Forest on Windows Azure
This lab scenario will serve also serve as the basis for future Step-by-Step guides, where we will be adding Replica Active Directory Domain Controllers and Member Servers to this same Virtual Network in the Windows Azure cloud.
The following is required to complete this step-by-step guide:
In this Step-by-Step guide, you will learn how to:
Estimated Time to Complete: 60 minutes
Register the internal IP address that our domain controller VM will be using for Active Directory-integrated Dynamic DNS services by performing the following steps:
Define a common virtual network in Windows Azure for running Active Directory, Database and SharePoint virtual machines by performing the following steps:
In this exercise, you will provision a new Windows Azure VM to run a Windows Server 2012 on the Windows Azure Virtual Network provisioned in Exercise 2.
In this exercise, you will install and configure a new Windows Server 2012 Active Directory Forest on the VM deployed in Exercise 3.
Our Windows Server 2012 Active Directory Forest VM is now functional in our cloud-based lab, but if you’re like me, you may not be using this lab VM 24x7 around-the-clock. As long as a virtual machine is provisioned, it will continue to accumulate compute hours against your Free 90-Day Windows Azure Trial account regardless of virtual machine state – even in a shutdown state!
To save our compute hours for productive study time, we can leverage the Windows Azure PowerShell module to automate export and import tasks to de-provision our virtual machine when not in use and re-provision our virtual machine when it is needed again.
In this exercise, we’ll step through using Windows PowerShell to automate:
Once you’ve configured the PowerShell snippets below, you’ll be able to spin up your cloud-based lab environment when needed in just a few minutes!
Note: Prior to beginning this exercise, please ensure that you’ve downloaded, installed and configured the Windows Azure PowerShell module as outlined in the Getting Started article listed in the Prerequisite section of this step-by-step guide. For a step-by-step walkthrough of configuring PowerShell support for Azure, see Setting Up Management by Brian Lewis, one of my peer IT Pro Technical Evangelists.
The installation and configuration of a new Windows Server 2012 Active Directory Forest running on Windows Azure is now complete. To continue your learning about Windows Server 2012, explore these other great resources:
Do you have an interesting or unique scenario that you are evaluating on the Windows Azure cloud platform? Feel free to leave your comments, feedback and ideas below to share across our IT Pro community!
Like this article? Subscribe to "IT Pros ROCK!" and stay up-to-date!