Using Microsoft Active Directory with AWS Directory Service
This lesson explains how AWS Directory Service provides Microsoft Active Directory in AWS, or connects AWS to an existing on-premises directory, for workloads and services that depend on it.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish AWS Managed Microsoft AD, AD Connector and Simple AD.
- Choose between AD Connector and AWS Managed Microsoft AD.
- Identify the network requirements of a directory.
Directory options
AWS Directory Service offers three ways to use Microsoft Active Directory (AD) with AWS. AWS Managed Microsoft AD is a real Active Directory run by AWS, with domain controllers in at least two Availability Zones. It can trust an on-premises AD, so users sign in with their existing accounts, and can be replicated to other Regions. Services that require AD, such as FSx for Windows File Server, RDS for SQL Server with Windows authentication, WorkSpaces and domain-joined EC2 instances, use it.
AD Connector is a proxy that forwards authentication requests to an on-premises AD. Nothing is cached or stored in AWS, which suits organisations that want AWS services to use existing identities without copying the directory, but it depends on the connection to on premises. Simple AD is a basic, Samba-based directory compatible with AD, for small, simple needs; it does not support trusts with other directories. The following table summarises the options.
| Option | What it is | Use for |
|---|---|---|
| AWS Managed Microsoft AD | Real AD with domain controllers in two or more AZs; trusts with on-premises AD; multi-Region replication | FSx for Windows, RDS for SQL Server, WorkSpaces, EC2 domain join, Identity Center |
| AD Connector | A proxy to on-premises AD; nothing is cached or stored in AWS | Using existing on-premises identities with AWS services |
| Simple AD | A basic Samba-based, AD-compatible directory | Small, simple needs without trusts |
The following diagram shows how each option relates to an on-premises directory.

Choosing between them
AD Connector and AWS Managed Microsoft AD differ mainly in their dependence on the on-premises directory. AD Connector is a proxy that forwards authentication requests to on-premises Active Directory; it stores no directory data, so if the network link to the data centre fails, sign-ins fail too.
AWS Managed Microsoft AD is a real Active Directory running in AWS. It keeps working if the link fails, and it supports a two-way trust with on-premises AD, so on-premises users can reach AWS resources and the reverse. Only Managed Microsoft AD supports schema extensions, multi-Region replication and the many AD-aware AWS services, such as Amazon FSx for Windows File Server and Amazon RDS for SQL Server with Windows authentication.
Choosing a directory
Network requirements
Directories run in two subnets of a VPC. Connecting to on premises needs a VPN or Direct Connect, with DNS forwarding (for example Route 53 Resolver endpoints) so each side resolves the other's domain.
Windows workloads moving to AWS
A company moves Windows file servers and SQL Server to AWS. Users must keep signing in with their on-premises Active Directory accounts, and the workloads must keep working if the link to the data centre fails.
| Option | Outcome |
|---|---|
| AD Connector | Simple, but every sign-in goes to on premises: a link failure stops authentication |
| AWS Managed Microsoft AD with a two-way trust to on-premises AD | Domain controllers run in AWS; existing users are trusted; workloads keep working if the link fails |
Managed Microsoft AD is chosen, joined by FSx for Windows File Server and RDS for SQL Server. Route 53 Resolver endpoints forward DNS for each domain in both directions.
When is AD Connector a better fit than AWS Managed Microsoft AD?
Show answer
When users should stay in the existing on-premises Active Directory. AD Connector forwards authentication requests to it and stores no directory data in AWS.
Exam Tips
Remember for the exam
- When you need Active Directory in AWS with a trust to on-premises Active Directory, use AWS Managed Microsoft AD.
- To authenticate against on-premises Active Directory without storing anything in AWS, use AD Connector.
- FSx for Windows File Server and RDS for SQL Server with Windows authentication need Managed Microsoft AD (or self-managed AD).
- For a small directory without trusts at the lowest cost, use Simple AD.