Skip to content

edjlatimer/Preparing-AD-Infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 

Repository files navigation

Preparing AD Infrastructure Using Azure

Active Directory Logo

Overview

This project demonstrates how to prepare the proper infrastructure to successfully deploy and configure an Active Directory environment using Microsoft Azure.

The setup includes:

  • A Domain Controller (Windows Server 2022)
  • A Client Machine (Windows 10)
  • Proper network, DNS, and connectivity settings to enable AD Infrastructure functionality

Technologies Used

  • Microsoft Azure (Resource Groups, Virtual Networks, Virtual Machines)
  • Windows Server 2022
  • Windows 10 (21H2)
  • Active Directory Domain Services (AD DS)
  • PowerShell & Remote Desktop

Step-by-Step Implementation

πŸ”Ή 1. Create Resource Group & Virtual Network

  • Log into the Azure Portal.
  • Create a Resource Group:
    • Search for Resource Groups β†’ Click Create β†’ Enter name (e.g., Active-Directory-Lab).
  • Create a Virtual Network (VNet):
    • Search for Virtual Networks β†’ Click Create β†’ Choose the Active-Directory-Lab resource group.
    • Name it Active-Directory-VNet.
    • The Subnet could be left at the default setting.

AD resource group

AD VNet


πŸ”Ή 2. Deploy the Domain Controller (DC-1)

  • Create a Virtual Machine:
    • Virtual Machine Name: DC-1
    • Resource Group: Active-Directory-Lab
    • Virtual Network: Active-Directory-VNet
    • Region: (Same Region as Resource Group & VNet)
    • Image: Windows Server 2022 Datacenter: Azure Edition - Gen2
    • Size: Standard D2s v3 (2 vcpus, 8 GiB memory)
    • Username: labuser
    • Password: *********
      AD dc-1 AD dc-1 deploy complete

  • Configure Dc-1 Private IP Address From Dynamic To Static Private IP:
    • Go to DC-1 β†’ Networking β†’ NIC settings β†’ Change IP from Dynamic to Static.

AD dc-1 to static ip AD dc-1 to static 2


  • Connect to DC-1 VM with Remote Desktop.

  • Inside the DC-1 VM: You should be brought to a Server Manager Dashbroad (That'll confirm you have successfully setup your DC-1 Server correctly)

  • Now, Open Windows Defender Firewall from Start menu

    • Within Windows Defender Firewall Properties ensure that Firewall state for:
      • Domain Profile
      • Private Profile
      • Public Profile

    are ALL set to Off (temporarily to simplify connectivity testing)

AD server manager dash AD windows firewall OFF


πŸ”Ή 3. Deploy the Client Machine (Client-1)

  • Create a Virtual Machine:
    • Virtual Machine Name: Client-1
    • Resource Group: Active-Directory-Lab
    • Virtual Network: Active-Directory-VNet
    • Region: (Same Region as Resource Group & VNet)
    • Image: Windows (Windows 10 Pro)
    • Size: Standard D2s v3 (2 vcpus, 8 GiB memory)
    • Username: labuser
    • Password: *********

AD client-1 VM info


  • Update DNS settings:
    • Go to Client-1 β†’ Networking β†’ DNS Servers β†’ Set to Custom DNS β†’ Put DC-1’s private IP (10.0.0.4 for the sake of this project)
    • Save and Restart the Client-1 VM within Azure
  • Then connect and log into Client-1 VM with Remote Desktop

Note: It'll bring you to a Windows OS Home Screen (Not a Server Manager Dashbroad) once logged in = Successful Windows 10 deployment

AD client-1 DNS to dc-1

AD client-1 OS home


πŸ”Ή 4. Verify Connectivity Between Client and DC Using Powershell

  • On Client-1, open Powershell:

    • Run Ping DC-1 Private IP (10.0.0.4)

    • Confirm replies are received.

  • On Client-1, open PowerShell:

    • Run ipconfig /all
    • Verify the DNS Server is set to DC-1’s Private IP

AD client-1 ping dc-1 AD client-1 ipconfig :all DNS info


Outcome / Learnings

By completing this project, I:

  • Prepared a fully functional Active Directory Infrastructure using Azure
  • Configured static IP addressing and custom DNS settings.
  • Validated communication between a Domain Controller and client machine.
  • Strengthen skills in networking, VM management, and directory services.

About

Active Directory Infrastructure and Deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published