Active Directory Integration - Extending Your On-Premises Identity Infrastructure to the Cloud with AWS Directory Service

Learn how to integrate Active Directory with the cloud using AWS Directory Service. This article covers how to choose between AWS Managed Microsoft AD, AD Connector, and Simple AD, and how to integrate with WorkSpaces, RDS, and FSx.

Challenges of Integrating Active Directory with the Cloud

Many organizations run Microsoft Active Directory (AD) on-premises, where it serves as the backbone of IT infrastructure for user authentication, Group Policy, and file server access control. When migrating to the cloud, a key challenge is how to handle applications that depend on AD, such as Windows-based business applications, SQL Server, and file servers. AWS Directory Service offers three directory types to enable AD cloud integration for different use cases. AWS Managed Microsoft AD provides a fully managed Microsoft AD in the cloud and can establish trust relationships with on-premises AD. AD Connector acts as a proxy to on-premises AD without storing any data in the cloud. Simple AD is a lightweight Samba 4-based directory that provides basic LDAP functionality only.

Choosing Between the Three Directory Types

Choose AWS Managed Microsoft AD when you need a standalone AD in the cloud or when trust relationships with on-premises AD are required. It fully supports Group Policy, LDAP, Kerberos, and NTLM authentication, allowing AD-dependent applications to run as-is. It comes in Standard Edition (up to 30,000 objects) and Enterprise Edition (up to 500,000 objects). Domain controllers are automatically made redundant across multiple AZs, and patching and snapshots are managed by AWS. Choose AD Connector when you want to continue using your existing on-premises AD. It acts as a proxy that forwards authentication requests from AWS services (WorkSpaces, IAM Identity Center, etc.) to on-premises AD. Since it does not store user data in the cloud, it is suitable when data sovereignty requirements apply. It comes in Small (up to 500 users, $0.05/hour) and Large (up to 5,000 users, $0.15/hour) sizes. Simple AD is for small-scale environments that only need basic AD features (user management, group management, LDAP authentication). It does not support Group Policy or trust relationships, but it is the lowest-cost option (Small: $0.05/hour).

Integration with AWS Services

The primary value of Directory Service lies in its native integration with AWS services that require AD authentication. Amazon WorkSpaces (virtual desktops) lets users log in with AD accounts and control desktop environments with Group Policy. Amazon FSx for Windows File Server uses AD access control lists (ACLs) for file-level permission management. RDS for SQL Server supports Windows authentication (Kerberos), allowing users to log in to SQL Server with AD accounts. Amazon Connect (contact center) can manage agents using AD users. Integration with IAM Identity Center enables single sign-on access to the AWS Management Console and CLI using AD accounts. You can also join Windows EC2 instances to the domain; using the Systems Manager automatic domain join feature, instances automatically join the AD domain at launch. For a comprehensive understanding of directory services, related books (Amazon) can also be helpful.

Trust Relationships with On-Premises AD

By establishing a forest trust between Managed Microsoft AD and on-premises AD, users on both sides can access resources on the other side. Building a trust relationship requires a VPN connection or Direct Connect between on-premises and the AWS VPC. You can choose one-way trust (access from one side only) or two-way trust (mutual access). From a security perspective, it is recommended to establish trust in the minimum necessary direction. Once a trust relationship is established, on-premises AD users can log in to WorkSpaces on AWS or access FSx file shares. You need to configure DNS conditional forwarders so that name resolution works correctly for each domain. Managed Microsoft AD provides domain controller IP addresses, which you register as conditional forwarders in your on-premises DNS.

Directory Service Pricing

AWS Managed Microsoft AD Standard Edition costs approximately $0.146 per hour (about $105/month), and Enterprise costs approximately $0.292 per hour (about $210/month). AD Connector costs about $36/month for Small and about $72/month for Large. Simple AD costs about $36/month for Small and about $72/month for Large. There are no additional charges for integration with WorkSpaces or RDS.

Summary - Guidelines for Using Directory Service

AWS Directory Service provides three directory types for integrating Active Directory with the cloud. Choose Managed Microsoft AD when you need full AD functionality, AD Connector when you want to keep using your on-premises AD, and Simple AD when you only need basic LDAP. Its primary value is native integration with AWS services that require AD authentication, such as WorkSpaces, FSx, and RDS for SQL Server. When migrating on-premises AD-dependent applications to the cloud, Directory Service significantly reduces migration complexity.