Saturday, 7 March 2015

TFS on Azure – 02. Create an Azure VM for AD

To setup TFS in Azure, AD can be setup as Azure VM. It is possible to use corporate AD with Azure, and use it to setup TFS in Azure VM. To setup AD in Azure VM it is required to setup a virtual network in Azure.
The steps to setup a VM to create an AD as an Azure VM are described below.
Setting up VM
Select a Windows Server 2012 R2 Datacenter image for a VM.
01
02 
03

Specify name for VM and User Name and Password. Standard A1 machine would be sufficient.
04
Provide a cloud service dns name.
05
Select the Virtual Network created previously.
06
Provide availability set name.
07
08

Select to Install VM Agent.
09
VM is created.
10
11

Availability Set
Following links provide detailed information on Azure Availability Set.
http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-manage-availability/
http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-how-to-configure-availability/
Since this is a demo environment there is no need to setup high availability. Remove the availability set from VM configuration can be done like shown below.
Select Remove from availability set and save. VM will be restarted.
16
17

Log in to VM
Click on Connect to download the rdp file to access VM.
12
13

Open rdp file and provide user name and password specified to create the VM to login.
14
15

No comments: