Skip to content

cesrebol/configure-ad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 

Repository files navigation

Microsoft Active Directory Logo

On-premises Active Directory Deployed in the Cloud (Azure)

This tutorial outlines the implementation of on-premises Active Directory within Azure Virtual Machines.

Environments and Technologies Used

  • Microsoft Azure (Virtual Machines/Compute)
  • Remote Desktop
  • Active Directory Domain Services
  • PowerShell

Operating Systems Used

  • Windows Server 2022
  • Windows 10 (21H2)

High-Level Deployment and Configuration Steps

  • Create Virtual Machine that will automatically create a Resource Group in Azure
  • Create a Virtual Network and Subnet
  • Create the Domain Controller VM (Windows Server 2022) named "DC-1"
  • Create the Client VM (Windows 10) named "Client-1"
  • Set the NIC's Private IP address to be static

Deployment and Configuration Steps

Step 1

The very first step is to create a Virtual Machine in Azure. In Azure, when you create a VM, a Resource Group will automatically be created. The very first VM that we will create is a Windows Server 2022 machine that will be our Domain Controlled. We will name this "DC-1". Take note of the Region that you placed this VM in as you want the same Region for the Client-1 machine once that is created.

Configuration

Make sure that your configurations look like the the screenshots above.

Note: you will be asked to create a username and password for admin rights. Go ahead and create that to your liking, just make sure you remember your credentials as you will need them later on in this lab.


Step 2

Next we want to create a second VM only this time we want to set the Image for Windows 10. Also making sure that you are in the same Resource Group that was created for step 1, and make sure you are on the same Region. Check configurations with the screenshot below.


Click Next: Disk and then Next: Networking on the lower part of the portal. Before we Review and Create this VM we want to make sure that it is in the same virtual network and subnet. In this section we want to make sure we click on "AD-Lab-vnet" or whatever you named your resource group, usually it is the defualt selection, the same for the Subet drop down menu. Now, we wait for the machine to be created.


Step 3

The very next step is to set the Domain Controllers IP address to Static as the default is Dynamic. To do this click on the DC-1 VM in the VM section of Azure. On the left hand menu you will see Networking.


Once in the Networking section, click on the "Network Interface:" The one in the screenshot below is dc-1354_z1, your machine might have a different interace name but it will be in the same section.

In the Network Interface section, you will see a section on the left that is called "Settings" and under Settings you will see IP configuration. Click that. Once in the IP Configuration section you will see ipconfig1. Click on that and make sure that you have the Assigned IP address set to "Static" like the image below. Make sure to hit Save at the top.

This is how you set up and configure both the DC and Client VM. Hope this helps.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published