# AWS Directory Service

Cloud service · AWS. Updated 2026-11-12. Page: https://blowstack.com/tools/cloud-services-hub/aws-directory-service

> AWS Directory Service is a managed service provided by Amazon Web Services that allows users to connect AWS resources with an existing on-premises Microsoft Active Directory or to set up and operate a new, fully managed directory in the AWS Cloud.

Practice exams covering AWS Directory Service: [ANS-C01 AWS Certified Advanced Networking - Specialty](https://blowstack.com/practice-exams/aws-certified-advanced-networking-specialty), [CLF-C02 AWS Certified Cloud Practitioner](https://blowstack.com/practice-exams/aws-certified-cloud-practitioner), [SCS-C03 AWS Certified Security - Specialty](https://blowstack.com/practice-exams/aws-certified-security-specialty), [SAA-C03 AWS Certified Solutions Architect - Associate](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate).

## 7 key features of AWS Directory Service

AWS Directory Service offers seamless integration with AWS services, flexible directory choices, a managed service for reduced administrative overhead, scalability, top-tier security and compliance features, and simplified administration tools and dashboards.

1. **Seamless Integration with AWS Services**: AWS Directory Service integrates flawlessly with various AWS services, enabling users to leverage AWS Security Token Service (STS) for identity federation, Amazon RDS for SQL Server for Windows Authentication, and AWS IAM Identity Center for centralized access management, streamlining the management of resources and access across AWS.
2. **Flexible Directory Choices**: It offers multiple directory types to suit different organizational needs, including AWS Managed Microsoft AD for Microsoft Active Directory environments, Simple AD for smaller scale needs, and AD Connector for connecting to an existing on-premises Microsoft Active Directory.
3. **Managed Service**: AWS Directory Service is a managed service, which means that AWS handles the maintenance, updates, and high availability of the directory infrastructure. This reduces the administrative burden on users and ensures that the directory services are always operational and up-to-date.
4. **Scalability and Flexibility**: AWS Managed Microsoft AD supports upgrading from Standard Edition to Enterprise Edition through the AWS Management Console, AWS CLI, and API without migrating to a new directory or re-joining existing workloads.
5. **Security and Compliance**: AWS Directory Service provides robust security features including network security, encryption at rest and in transit, and detailed logging capabilities. It also supports compliance with industry standards, helping organizations meet their regulatory requirements.
6. **Simplified Administration**: With AWS Directory Service, the complexities of directory setup, configuration, and administration are significantly reduced. It offers easy-to-use management tools and dashboards within the AWS Management Console, simplifying the tasks of managing users, groups, and permissions.
7. **Group Policy Management**: AWS Managed Microsoft AD supports creating and applying group policies.

## Where AWS Directory Service is used

AWS Directory Service facilitates secure access management by enabling SSO setup, managing Windows-based workloads, connecting to RDS for SQL Server, integrating with hybrid environments via Managed Microsoft AD, and securing access to Amazon EC2 instances.

1. **Single Sign-On (SSO) Setup**: AWS Directory Service allows organizations to enable Single Sign-On (SSO), letting users access AWS resources and applications using their existing corporate credentials. This simplifies user management and enhances security by consolidating identities and minimizing the need for multiple passwords.
2. **Manage Windows-based Workloads**: Customers can manage Windows-based workloads on AWS securely and efficiently by integrating with AWS Directory Service. This provides native compatibility with Windows workloads, allowing for easy deployment and management of Windows servers and applications in the cloud.
3. **Connect to RDS for SQL Server**: AWS Directory Service enables organizations to connect Microsoft SQL Server instances running on Amazon RDS with their directory. This facilitates seamless authentication and management for users accessing the database, using their existing directory credentials.
4. **AWS Managed Microsoft AD for Hybrid Environments**: For organizations operating in hybrid environments, AWS Directory Service offers AWS Managed Microsoft AD. This allows seamless integration between on-premises Microsoft Active Directory and cloud resources, enabling users to access resources across both environments using a single set of credentials.
5. **Facilitate Secure Access to Amazon EC2 Instances**: By utilizing AWS Directory Service, organizations can streamline secure access to Amazon EC2 instances. It enables organizations to use their existing directory service to authenticate and authorize user access to EC2 instances, simplifying access management and enhancing security.

## How AWS Directory Service is priced

AWS Directory Service pricing varies by service type (AWS Managed Microsoft AD, AD Connector, Simple AD) and includes charges based on size/edition and usage, with additional data transfer fees where applicable.

- **AWS Managed Microsoft AD**: Charges are based on the edition (Standard, Enterprise, or Hybrid) and the number of domain controllers. Additionally, data transfer fees apply per GB for multi-Region replication data transferred out of domain controllers to other AWS Regions where the directory is deployed.
- **AD Connector**: Pricing depends on the size of the AD Connector (Small or Large) and is charged on an hourly basis. No additional fees for data transfer within the same AWS region.
- **Simple AD**: Simple AD is charged based on the size of the directory (Small or Large) and is billed on an hourly rate. Data transfer fees are applicable for data transferred out of the specified AWS region.
- **Directory Sharing**: An hourly charge applies for each additional AWS account with which an AWS Managed Microsoft AD directory is shared. There is no sharing charge for additional VPCs or the account hosting the directory. Directory sharing is excluded from the free trial.
- **30-Day Limited Free Trial**: New Directory Service customers receive 1,500 domain-controller hours across their managed directories during their first 30 days. Trial usage is metered by managed-directory type and the number of domain controllers created.

## Services AWS Directory Service works with

- **[Amazon WorkSpaces](https://blowstack.com/tools/cloud-services-hub/amazon-workspaces)**: Uses AWS Directory Service to authenticate WorkSpaces and manage user access.
- **[Amazon RDS](https://blowstack.com/tools/cloud-services-hub/amazon-rds)**: Enables Windows authentication to databases using AWS Directory Service.
- **[Amazon EC2](https://blowstack.com/tools/cloud-services-hub/amazon-ec2)**: Allows EC2 instances to be joined to the domain managed by AWS Directory Service.
- **[AWS IAM Identity Center (AWS Single Sign-On)](https://blowstack.com/tools/cloud-services-hub/aws-iam-identity-center-(aws-single-sign-on))**: Allows you to use AD credentials to access AWS accounts and applications.
- **[Amazon QuickSight](https://blowstack.com/tools/cloud-services-hub/amazon-quicksight)**: Enables AD users to access QuickSight using their AD credentials.
- **[Amazon Aurora](https://blowstack.com/tools/cloud-services-hub/amazon-aurora)**: AWS Managed Microsoft AD provides Kerberos authentication for Aurora PostgreSQL databases. Directory users can authenticate with their Active Directory identities instead of maintaining separate database passwords.
- **[Amazon CloudWatch](https://blowstack.com/tools/cloud-services-hub/amazon-cloudwatch)**: AWS Managed Microsoft AD can forward domain-controller security event logs to CloudWatch Logs. CloudWatch metrics and alarms can also help monitor directory performance and detect operational problems.
- **[Amazon Connect](https://blowstack.com/tools/cloud-services-hub/amazon-connect)**: AWS Directory Service can provide the user directory for an Amazon Connect instance through AWS Managed Microsoft AD or AD Connector. Agents and administrators authenticate using their Active Directory credentials.
- **[Amazon Elastic Block Store (Amazon EBS)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-block-store-(amazon-ebs))**: AWS Managed Microsoft AD stores its domain-controller data on encrypted Amazon EBS volumes. Directory Service manages this underlying storage as part of operating the directory.
- **[Amazon Elastic Container Service (Amazon ECS)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-container-service-(amazon-ecs))**: AWS Managed Microsoft AD can supply group Managed Service Accounts for supported ECS container workloads. This lets applications in containers authenticate to domain resources, such as SQL Server databases, using an Active Directory service identity.
- **[Amazon Elastic Kubernetes Service (Amazon EKS)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-kubernetes-service-(amazon-eks))**: AWS Managed Microsoft AD can provide the domain and group Managed Service Accounts used by Windows workloads on Amazon EKS. Windows containers can use these identities to authenticate to domain services without embedding account passwords in their images.
- **[Amazon EMR](https://blowstack.com/tools/cloud-services-hub/amazon-emr)**: AWS Managed Microsoft AD can establish a cross-realm trust with an EMR cluster's Kerberos realm. Active Directory users can then authenticate to Kerberos-protected applications on the cluster.
- **[Amazon EventBridge](https://blowstack.com/tools/cloud-services-hub/amazon-eventbridge)**: AWS Directory Service API activity recorded by CloudTrail can match EventBridge rules. Rules can trigger notifications or automation when operations such as directory creation or deletion occur.
- **[Amazon FSx](https://blowstack.com/tools/cloud-services-hub/amazon-fsx-(for-all-types))**: AWS Managed Microsoft AD supplies domain membership and Windows authentication for FSx for Windows File Server and SMB-enabled FSx for NetApp ONTAP deployments. Directory users and groups can control access to file shares through Windows permissions.
- **[Amazon MQ](https://blowstack.com/tools/cloud-services-hub/amazon-mq)**: AWS Managed Microsoft AD can serve as the LDAP directory for Amazon MQ for ActiveMQ authentication and authorization. Directory users and groups can determine who may connect to a broker and access its destinations.
- **[Amazon Route 53](https://blowstack.com/tools/cloud-services-hub/amazon-route-53)**: AWS Managed Microsoft AD DNS servers can work with Route 53 Resolver endpoints and forwarding rules to resolve names across directory domains and VPCs. For example, a Resolver rule can forward queries for an Active Directory domain to its directory DNS servers.
- **[Amazon Simple Notification Service (Amazon SNS)](https://blowstack.com/tools/cloud-services-hub/amazon-simple-notification-service-(amazon-sns))**: AWS Directory Service can publish directory status-change notifications to an SNS topic. Subscribers can receive alerts when a directory becomes impaired or returns to an active state.
- **[Amazon VPC](https://blowstack.com/tools/cloud-services-hub/amazon-vpc)**: AWS Directory Service deploys directory network interfaces into selected VPC subnets, with AWS Managed Microsoft AD domain controllers distributed across Availability Zones. VPC routing and security groups control connectivity between the directory and domain-connected resources.
- **[Amazon WorkSpaces Applications](https://blowstack.com/tools/cloud-services-hub/amazon-appstream-2)**: AWS Managed Microsoft AD can provide domain membership for WorkSpaces Applications image builders and fleet instances. Users can access domain resources from streamed applications, and administrators can apply Active Directory Group Policy to joined instances.
- **[AWS Client VPN](https://blowstack.com/tools/cloud-services-hub/aws-client-vpn)**: AWS Directory Service provides Active Directory authentication for Client VPN through AWS Managed Microsoft AD or AD Connector. Client VPN authorization rules can use directory group membership to control access to network destinations.
- **[AWS CloudTrail](https://blowstack.com/tools/cloud-services-hub/aws-cloudtrail)**: AWS Directory Service API calls are recorded by CloudTrail, including the caller, request details, and time of the operation. These records support auditing directory creation, configuration changes, and other administrative activity.
- **[AWS DataSync](https://blowstack.com/tools/cloud-services-hub/aws-datasync)**: AWS Managed Microsoft AD credentials can authenticate DataSync access to domain-protected SMB storage, including FSx for Windows File Server. The directory account's permissions determine which files DataSync can read or write.
- **[AWS Identity and Access Management (IAM)](https://blowstack.com/tools/cloud-services-hub/aws-identity-and-access-management-(iam))**: IAM policies control who can create, share, and administer AWS Directory Service directories and perform supported directory-data operations. Directory Service also uses IAM roles to enable authorized AWS applications to work with a directory.
- **[AWS Key Management Service (AWS KMS)](https://blowstack.com/tools/cloud-services-hub/aws-key-management-service-(aws-kms))**: AWS Managed Microsoft AD uses KMS-backed EBS encryption to protect the volumes containing directory data at rest. Encryption is managed as part of the directory service.
- **[AWS License Manager](https://blowstack.com/tools/cloud-services-hub/aws-license-manager)**: AWS Managed Microsoft AD can be registered as an identity provider for License Manager user-based subscriptions. Directory users can then be associated with supported licensed software running on EC2.
- **[AWS Managed Services (AMS)](https://blowstack.com/tools/cloud-services-hub/aws-managed-services-(ams))**: AWS Managed Services supports operating AWS Managed Microsoft AD directories within managed environments. Administrators can use AMS operational processes and change requests for supported directory provisioning and management tasks.
- **[AWS Management Console](https://blowstack.com/tools/cloud-services-hub/aws-management-console)**: AWS Directory Service can enable AWS Management Console access for directory users. Administrators assign IAM roles to directory users or groups so they can sign in with their directory credentials and receive the corresponding AWS permissions.
- **[AWS Organizations](https://blowstack.com/tools/cloud-services-hub/aws-organizations)**: AWS Managed Microsoft AD supports sharing a directory with accounts in an AWS organization. Directory sharing can use Organizations to identify eligible accounts and simplify access to a centrally managed directory.
- **[AWS Private Certificate Authority](https://blowstack.com/tools/cloud-services-hub/aws-private-certificate-authority)**: AWS Managed Microsoft AD integrates with AWS Private CA through Connector for Active Directory. Domain-joined users and computers can automatically enroll for and renew private certificates using Active Directory certificate templates and Group Policy.
- **[AWS PrivateLink](https://blowstack.com/tools/cloud-services-hub/aws-privatelink)**: AWS Directory Service supports interface VPC endpoints through PrivateLink. Supported Directory Service API requests can remain on private AWS networking without requiring an internet gateway or NAT device.
- **[AWS Secrets Manager](https://blowstack.com/tools/cloud-services-hub/aws-secrets-manager)**: AWS Managed Microsoft AD account credentials can be stored and automatically rotated with Secrets Manager. The Active Directory rotation integration changes the directory account's password and updates the stored secret.
- **[AWS Security Token Service (AWS STS)](https://blowstack.com/tools/cloud-services-hub/aws-security-token-service-(aws-sts))**: AWS Directory Service uses role-based federation to give directory users temporary AWS credentials when they access the AWS Management Console. STS role trust policies authorize Directory Service to obtain sessions with the assigned IAM roles.
- **[AWS Storage Gateway](https://blowstack.com/tools/cloud-services-hub/aws-storage-gateway)**: AWS Managed Microsoft AD can provide domain membership and user authentication for S3 File Gateway SMB shares. Directory users and groups can be used to restrict share access and apply Windows access controls.
- **[AWS Systems Manager](https://blowstack.com/tools/cloud-services-hub/aws-systems-manager)**: AWS Directory Service integrates with Systems Manager to automate joining supported EC2 instances to AWS Managed Microsoft AD or directories reached through AD Connector. Systems Manager domain-join documents apply the directory configuration without requiring a manual join on each instance.
- **[AWS Transfer Family](https://blowstack.com/tools/cloud-services-hub/aws-transfer-family)**: AWS Transfer Family can use AWS Managed Microsoft AD or AD Connector as an identity provider for SFTP servers. Directory users authenticate with their existing credentials, while directory group mappings determine their AWS storage access roles and home-directory settings.

## What is AWS Directory Service

AWS Directory Service is a managed service provided by Amazon Web Services that makes it easier for organizations to set up and operate a cloud-based directory. This scalable and highly available service offers a range of directory solutions that cater to different organizational needs, whether it's integrating AWS resources with an existing on-premises Microsoft Active Directory or setting up a new, standalone directory in the AWS Cloud.

At its core, AWS Directory Service aims to address the common challenge of managing user identities and permissions across a plethora of AWS services and resources. By leveraging this service, organizations can simplify the task of providing their users with secure access to AWS applications and services such as Amazon EC2 instances, Amazon S3 buckets, and AWS IAM Identity Center (Single Sign-On), among others. This integration is key to maintaining a seamless and secure environment where access controls are centrally managed, regardless of whether the resources are located on-premises or in the AWS cloud.

AWS Directory Service offers multiple directory types to suit specific use cases. For example, AWS Managed Microsoft AD allows organizations to utilize a highly available and scalable Microsoft Active Directory in the AWS Cloud. This is particularly useful for businesses that rely on Microsoft AD for identity management and want to extend their existing infrastructure into AWS without having to manage additional hardware or software. On the other hand, for those not requiring a full-fledged AD, AWS offers Simple AD, which is a cost-effective, Samba-based solution that provides essential directory services and supports basic AD features.

Simple AD will no longer be open to new customers starting July 30, 2026.

AWS Managed Microsoft AD offers Standard, Enterprise, and Hybrid editions. Standard and Enterprise create new managed AD domains and can establish resource forests with trusts to existing domains. Hybrid Edition instead extends an existing AD domain into AWS, with managed domain controllers belonging to the existing forest and replicating its AD data.

The default per-Region directory quotas are 20 for AWS Managed Microsoft AD Standard and Enterprise editions and five for Hybrid Edition.

AWS Managed Microsoft AD has an adjustable default quota of 20 domain controllers per directory.

AWS Managed Microsoft AD cannot restore a manual snapshot older than 180 days; this maximum supported snapshot age cannot be changed.

Enterprise Edition supports multi-region replication, allowing a single managed directory to serve workloads across multiple AWS Regions.

The default multi-Region quota is five Regions per Enterprise Edition directory, including one primary Region and up to four additional Regions.

Another key aspect of AWS Directory Service is the ease with which it facilitates the integration of AWS resources with existing corporate directories. This allows organizations to maintain a single source of truth for user identities while leveraging the scalability and flexibility of the AWS Cloud. It also simplifies the process of migrating applications and services to AWS by ensuring that identity and access policies remain consistent.

AD Connector provides another option for joining cloud workloads to an existing Active Directory through seamless domain join.

AWS Directory Service enhances security by supporting various industry standards for data encryption and compliance requirements. It also integrates with AWS Identity and Access Management (IAM), allowing for granular control over who can access specific AWS services and resources.

Additionally, it supports multi-factor authentication (MFA), providing an extra layer of security for accessing directory services. In summary, AWS Directory Service is a comprehensive solution designed to simplify directory setup and management in the AWS Cloud.

By offering a range of directory types and seamless integration with AWS services, it enables organizations to maintain a secure, scalable, and efficient identity infrastructure. This proves invaluable for businesses looking to leverage the power of AWS without the hassle of managing complex directory environments, thereby allowing them to focus on their core operations and innovation.

## Concepts related to AWS Directory Service

- [Clock Skew](https://blowstack.com/tools/cloud-concepts-hub/clock-skew): Clock skew is the difference between the times reported by two clocks at the same instant.
- [DHCP](https://blowstack.com/tools/cloud-concepts-hub/dhcp): DHCP, the Dynamic Host Configuration Protocol, automatically supplies hosts with IP addressing and other network settings through renewable leases.
- [Token Validation](https://blowstack.com/tools/cloud-concepts-hub/token-validation): Token validation is the process of checking that a presented security token is authentic, acceptable for its intended recipient and purpose, and valid at the time of use.

## AWS Directory Service exam questions

Real practice exam questions on AWS Directory Service, with the correct answer and its explanation.

### Question 1 (CLF-C02)

**Question:**

A company is deploying Amazon WorkSpaces for its employees. Employee accounts are managed in an on-premises Microsoft Active Directory, which must continue to authenticate employees. The company wants employees to use their existing credentials without copying directory accounts into a separate cloud directory. Which solution best meets these requirements?

**Correct answer:** Use AWS Directory Service AD Connector to connect to the on-premises directory.

**Explanation:** AD Connector redirects directory requests to an existing on-premises Microsoft Active Directory without caching directory information in the cloud. It allows employees to access WorkSpaces using their existing corporate credentials.

### Question 2 (SAA-C03)

**Question:**

A company operates Windows workloads joined to an AWS Managed Microsoft AD directory. The directory has a one-way outgoing forest trust to the company's on-premises Active Directory forest, allowing on-premises employees to authenticate to the Windows workloads. Employee accounts and security groups remain in the on-premises forest.

The company wants to use the existing AWS Managed Microsoft AD directory as the identity source for AWS IAM Identity Center. Employees must access AWS accounts through temporary IAM role sessions based on their on-premises group memberships. DNS resolution and network connectivity between the forests meet all integration requirements.

Which change should a solutions architect make to support this access model?

**Correct answer:** Configure a two-way forest trust between AWS Managed Microsoft AD and the on-premises forest, and assign the on-premises security groups to AWS accounts through permission sets.

**Explanation:** IAM Identity Center requires a two-way trust to use users and groups from an on-premises forest trusted by its AWS Managed Microsoft AD identity source. Group assignments and permission sets then provide AWS account access through temporary IAM role sessions without creating individual IAM users.

### Question 3 (SCS-C03)

**Question:**

A company uses AWS Managed Microsoft AD to authenticate users to Windows applications on domain-joined Amazon EC2 instances. Several service accounts repeatedly become locked out shortly after administrators unlock them. The applications run on many instances, and the team suspects that an unidentified application is retrying authentication with an outdated password.

A security engineer must centrally collect evidence that identifies the affected account, the authentication failure, and the originating computer or client address. The evidence must cover authentication activity processed by both managed domain controllers and remain available after the domain controllers' local logs roll over. The company wants to minimize operational overhead.

Which solution best meets these requirements?

**Correct answer:** Enable AWS Managed Microsoft AD log forwarding to an Amazon CloudWatch Logs log group with the required retention period. Correlate account-lockout events with relevant Kerberos or credential-validation failure events to identify the account and originating computer or client address.

**Explanation:** Managed Microsoft AD can forward domain controller Windows Security event logs to CloudWatch Logs. Account-lockout events, such as event 4740, and relevant authentication-failure events provide account and source information that can be correlated to locate stale credentials. Forwarding covers the managed domain controllers and retains evidence independently of local event-log rollover without requiring customer-managed agents on the controllers.

## Practice AWS Directory Service in a full exam

Questions on AWS Directory Service in each practice exam, with every answer option and an explanation for each:

- [SCS-C03](https://blowstack.com/practice-exams/aws-certified-security-specialty): 4 questions
- [SAA-C03](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate): 3 questions
- [CLF-C02](https://blowstack.com/practice-exams/aws-certified-cloud-practitioner): 2 questions
- [ANS-C01](https://blowstack.com/practice-exams/aws-certified-advanced-networking-specialty): 1 question

## Learn AWS Directory Service in lessons

6 short lessons on AWS Directory Service in 3 certification courses.

- CLF-C02: AWS Directory Service vs AWS IAM Identity Center (Premium), https://app.blowstack.com/lessons/aws-directory-service-vs-aws-iam-identity-center-clf-c02
- SAA-C03: AWS Directory Service vs AWS IAM Identity Center (Premium), https://app.blowstack.com/lessons/aws-directory-service-vs-aws-iam-identity-center-saa-c03
- SCS-C03: AWS Directory Service: domain authentication paths (Premium), https://app.blowstack.com/lessons/aws-directory-service-domain-authentication-paths-scs-c03
- CLF-C02: AWS Directory Service: directory-backed workforce identities (Premium), https://app.blowstack.com/lessons/aws-directory-service-directory-backed-workforce-identities-clf-c02
- SAA-C03: AWS Directory Service: directory identities for federated access (Premium), https://app.blowstack.com/lessons/aws-directory-service-directory-identities-for-federated-access-saa-c03
- SCS-C03: AWS Directory Service vs AWS IAM Identity Center: directory identities and workforce access (Premium), https://app.blowstack.com/lessons/aws-directory-service-vs-aws-iam-identity-center-directory-identities-and-workforce-access-scs-c03
