Skip to Content

AWS Directory Service

Run Microsoft Active Directory on AWS, or connect AWS to an existing one.

What it is

Microsoft Active Directory (AD) is the directory most companies use to manage their Windows users and computers. It runs on Windows Server with AD Domain Services and stores objects: user accounts, computers, printers, file shares and security groups. Servers called domain controllers check passwords and hand out permissions, so a user like John signs in once and can use any machine on the company network. Objects are organised in trees, and a group of trees is a forest.

AWS Directory Service brings AD to AWS in three ways, so that Windows workloads, IAM Identity Center and other AWS services can use AD identities.

How it works

AWS Managed Microsoft AD trusts an on-premises AD, AD Connector forwards sign-ins to it, and Simple AD stands alone AWS Managed Microsoft AD trusts an on-premises AD, AD Connector forwards sign-ins to it, and Simple AD stands alone

The three Directory Service options.

AWS Managed Microsoft AD

A real Microsoft AD that AWS runs as a managed service, across two Availability Zones.

  • Users are created and managed in AWS, and it supports MFA.
  • It can set up a trust with the on-premises AD (one-way or two-way), so users from either side can reach resources on the other.
  • Editions: Standard (for up to about 5,000 employees, 30,000 objects) and Enterprise (up to about 500,000 objects).
  • Use it when: AD-aware apps are needed on AWS (SQL Server, SharePoint, Windows file shares with FSx), or a directory in AWS that keeps working if the link to on-premises fails.

AD Connector

A proxy (directory gateway) that forwards sign-in requests to the on-premises AD.

  • No users are stored in AWS: they stay in the on-premises AD.
  • Supports MFA through the existing RADIUS server.
  • Sizes are small and large, with no user limit.
  • Use it when: the only goal is for AWS services (IAM Identity Center, WorkSpaces, the AWS console) to use the existing AD accounts, without copying them.

Simple AD

An AD-compatible directory, based on Samba 4, managed by AWS.

  • Can't be joined with an on-premises AD (no trusts), and has no MFA.
  • Small (up to 500 users) and large (up to 5,000 users).

Updated since the slides

Simple AD is no longer open to new customers. It may still appear in exam questions as a low-cost, standalone directory, but for new set-ups use AWS Managed Microsoft AD.

Using AD with IAM Identity Center

  • AWS Managed Microsoft AD: connect it to IAM Identity Center directly. It works out of the box.
  • Self-managed AD (on-premises or on EC2): either create a two-way trust between it and an AWS Managed Microsoft AD and connect that, or put an AD Connector in front of it and connect the connector.

Compared side by side

  • AWS Managed Microsoft AD: users stored in AWS; linked to on-premises AD by a trust; supports MFA.
  • AD Connector: users stay on-premises; works as a proxy; MFA through the existing RADIUS server.
  • Simple AD: users stored in AWS; no link to on-premises; no MFA.

Exam tips

  • "Users must be managed in AWS, with a trust to on-premises AD" → AWS Managed Microsoft AD.
  • "Use existing on-premises AD users without storing them in AWS" → AD Connector.
  • "Low-cost, standalone, AD-compatible directory, no on-premises link" → Simple AD.
  • "Run AD-aware apps such as SQL Server or SharePoint on AWS" → AWS Managed Microsoft AD.
  • "Single sign-on to AWS accounts with AD users" → IAM Identity Center connected to Managed Microsoft AD or AD Connector.

Common traps

  • "AD Connector caches or copies users to AWS." It stores none; it only forwards requests.
  • "Simple AD can trust an on-premises AD." It can't.

Check yourself

There's no lab here: every Directory Service option is billed per hour from the moment it's created (AWS Managed Microsoft AD costs well over $100 a month), and it needs a VPC with two subnets. The questions below stand in for one:

AWS documentation

On this page

Open notes

Spotted a mistake?

These notes are open source. Suggest a fix, or star the repo if they helped you.

Suggest an edit

For AI agents: llms.txt · llms-full.txt