AWS Directory Service
Cloud service · AWS · Updated

AWS Directory Service

In short

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.

Cloud Services Hub →

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.

01
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.

02
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.

03
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.

04
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.

05
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.

06
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.

07
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. 01
    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. 02
    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. 03
    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. 04
    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. 05
    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 EC2Amazon EC2

Allows EC2 instances to be joined to the domain managed by AWS Directory Service.

Amazon AuroraAmazon 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 CloudWatchAmazon 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 ConnectAmazon 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)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)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.

What is AWS Directory Service

3 min read

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

AWS Directory Service exam questions

Real practice exam questions on AWS Directory Service, with the correct answer and its explanation. Answer them with every option in the exam simulator.

CLF-C02

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?

Show answerCORRECT ANSWER

Use AWS Directory Service AD Connector to connect to the on-premises directory.

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.

SAA-C03

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?

Show answerCORRECT 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.

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.

SCS-C03

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?

Show answerCORRECT 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.

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:

Start a free practice exam

Learn AWS Directory Service in lessons

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

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.