ADDS in Azure VM – AD in AzurE

Welcome @ Azure University ..

Today I will talk about ADDS and how we can create a Domain in Azure VM . Before move to practical let me talk about ADDS and related things for better understanding .

ADDS – Active Directory is Directory service provided by Microsoft . We use ADDS to manage our domain infra and to manage our user . In short we use ADDS to provide 3AAuthentication + Authorization + Accounting . Where Authentication means “Who you are ?” , “Authorization means “What you can do?” and Accounting refer to a counting of user – device etc. We create domain to make a logical security boundary to maintain the infra and replication also . The computer where we install ADDS that computer refer as a Domain controller . In a easy term when we play football we make team and there is a team leader who manage the team . In if I compare here Team is the Domain and Team Leader is Domain Controller . DNS is a another important part of ADDS . Because without a DNS server we will not be able to install ADDS . So , what is DNS ? DNS is a service running on a server that convert Domain Name to IP and IP to Domain Name .

What we need to install ADDS :

  1. Static IP
  2. Administrative privilege
  3. DNS

Now, let’s start with the practical .I have created a VM in my Azure Subscription name DC .Screen Shot 2016-07-30 at 10.27.07 AM.png

Now the question is how we can provide a static IP address to a Azure VM  ?

Go to VM properties :Screen Shot 2016-07-30 at 10.56.41 AM.png

Click on the Public IP , you will get another few option :Screen Shot 2016-07-30 at 10.58.38 AM.png

Now click on Configuration :Screen Shot 2016-07-30 at 11.04.58 AM.png

Click on Static and your vm will get a static IP. Now turned on the VM and connect the VM .

Screen Shot 2016-07-30 at 11.06.43 AMScreen Shot 2016-07-30 at 11.06.57 AM

After connecting the VM open network configuration to check the network status . If look into it you will find in computer network configuration is Dynamic . Let’s change it into Static . But to change this I need the complete network information like Ipv4 , default gateway etc.. To get that go to command prompt and type ipconfig , we will get all related info. Just put that details in network config.Screen Shot 2016-07-30 at 11.49.10 AM.pngScreen Shot 2016-07-30 at 11.56.19 AM.png

Click Ok twice and you are done . It may be the VM get disconnected – connect the VM again .

  • NOTE : You may face problem after changing ip address . If you face any problem restart the VM or write me.

Now we have done with our first step to create our domain and domain controller . Let’s install DNS . In order to do that Go to server manager and install DNS role. Here DNS is already installed .Screen Shot 2016-07-31 at 9.44.39 AM.png

Lets install ADDS : Go to SERVER MANAGER -> And click on Add Role and Features : Add ADDS as a role and click next . Please follow bellow screenshots .

Screen Shot 2016-07-31 at 9.45.41 AM.pngScreen Shot 2016-07-31 at 9.45.58 AM.png

Screen Shot 2016-07-31 at 9.48.27 AMScreen Shot 2016-07-31 at 9.48.36 AM.pngScreen Shot 2016-07-31 at 9.48.50 AM.pngScreen Shot 2016-07-31 at 9.49.02 AM.pngScreen Shot 2016-07-31 at 9.49.10 AM.pngScreen Shot 2016-07-31 at 9.49.20 AM.pngScreen Shot 2016-07-31 at 9.49.32 AM.pngScreen Shot 2016-07-31 at 9.49.55 AM.pngScreen Shot 2016-07-31 at 9.50.07 AM.png

Finally ADDS installation has been started . It will take few minute to complete the installation . When its done please close the wizard .Screen Shot 2016-07-31 at 9.57.39 AM.png

When you will close the wizard we will notice a Flag with a exclamation sign. Click there and promote the server to a domain controller. Creation a domain has two step , one is Installation and 2nd one is Promotion . So , Let’s promote the server to a domain controller.

Screen Shot 2016-07-31 at 9.58.31 AMScreen Shot 2016-07-31 at 10.02.56 AM.png

Screen Shot 2016-07-31 at 10.02.13 AM.png

Here I am creating a New Forest so I am ignoring other stuff , but if you want to know details about Forest , Domain and all option of this page please CLICK HERE .

Screen Shot 2016-07-31 at 11.33.58 AM.png

As I told you here I am creating a new forest so I clicked on Add a new forest . Here forest name is AzureUniversity.com . Click on Next and follow bellow screenshot .

Screen Shot 2016-07-31 at 12.13.10 PMScreen Shot 2016-07-31 at 12.18.44 PM.pngScreen Shot 2016-07-31 at 12.20.13 PMScreen Shot 2016-07-31 at 12.20.29 PMScreen Shot 2016-07-31 at 12.20.38 PMScreen Shot 2016-07-31 at 12.23.37 PMScreen Shot 2016-07-31 at 12.23.52 PM

It will take few minute and will restart after the installation . You VM may disconnect from RDP . So you have to take RDP again. Here I am done with installation and promotion of DC.Screen Shot 2016-07-31 at 12.38.35 PM.png

You can see that the computer name is DC.AzureUniversity.com and Domain is AzureUniversity.com.

Thanks for visiting my Blog. See you soon.

One thought on “ADDS in Azure VM – AD in AzurE

Leave a Reply

Your email address will not be published. Required fields are marked *