2026-08-19Gargee Bhatnagar

Creating DNS and Managing Users with AWS Managed Microsoft AD

C

Creating DNS and Managing Users with AWS Managed Microsoft AD

In enterprise environments, identity management and Domain Name System (DNS) operations are the foundation of infrastructure security and accessibility. Traditionally managed on on-premises servers, these services have taken on a new dimension with the evolution of cloud computing. AWS Directory Service offers a powerful solution that simplifies managing your Microsoft Active Directory (AD) infrastructure in the cloud.

In this article, we will walk through the process of creating DNS and managing users within the directory using AWS Managed Microsoft AD.

What is AWS Directory Service?

AWS Directory Service provides multiple directory choices for customers who want to use existing Microsoft Active Directory or Lightweight Directory Access Protocol (LDAP)-aware applications in the cloud. This service stores information about users, groups, and devices, while administrators use this information to manage access to information and resources.

If you need a centralized authentication system for your AWS EC2 instances or are building a secure AWS VPC network in the cloud, a managed AD service will significantly streamline your operations.

Architecture and Solution Overview

The proposed solution consists of three main phases:

  1. Creation of AWS Managed Microsoft AD
  2. Creation of a User in the Directory
  3. Sharing the Directory with Other AWS Accounts

This architecture ensures that DNS requests are resolved securely and identity management is centralized alongside AWS IAM integrations within the network.

Phase 1: Creation of AWS Managed Microsoft AD

The first step is to set up our directory infrastructure:

  1. Open the AWS Directory Service console.
  2. Click on "Set up directory".
  3. Select the "AWS Managed Microsoft AD" directory type.
  4. Choose the edition that fits your needs (Standard or Enterprise).
  5. Enter the required directory information (Directory DNS name, NetBIOS name).
  6. Configure the VPC and subnet information where the directory will be hosted.

Once the setup is complete, you will see the directory status updated to "Active".

Phase 2: Creation of a User in the Directory

Once the directory is active, you can manage it via the Active Directory Users and Computers (ADUC) tool or PowerShell.

  1. Launch a Windows AWS EC2 instance (acting as a management server or Domain Controller) to manage the directory.
  2. Join this instance to the AD domain you created.
  3. Install the necessary Active Directory administration tools (RSAT).
  4. Open the ADUC tool to create a new User or Group.

This configuration allows you to control access to your on-premises resources or other AWS services.

Phase 3: Sharing the Directory to Other AWS Accounts

In enterprise architectures utilizing multiple AWS accounts, it is a best practice to maintain a single centralized AD directory and share it with other accounts.

  1. Select your directory in the AWS Directory Service console.
  2. Under the "Networking & security" tab, locate the "Share directory" feature.
  3. Enter the AWS account number to share with.
  4. Accept the share request in the target account to complete the directory integration.

Cost Optimization and Summary

Using AWS Directory Service is generally more secure and cost-effective than building and managing your own Active Directory infrastructure from scratch (considering server costs, licenses, and maintenance effort). Furthermore, you can leverage AWS free tier offerings (such as specific trial periods for Microsoft AD on first use) to conduct your tests with zero cost.

In summary, creating DNS and managing users with AWS Managed Microsoft AD is one of the most effective ways to enforce centralized security policies in your cloud environment.