SlideShare a Scribd company logo
Using Active Directory in AWS
Re:Invent 2017, AD Best Practices
trinimbus.com
What is AD?
GENERAL AD
• It is both the directory information
source and the service that makes the
information available and usable
• Essentially, it is a phonebook
• Users: account information, privileges, profiles, policy
management
• Servers & workstations: domain joins, policies, network
information
• Application information: ex: Exchange and mailboxes
information
2
AD Options for AWS
GENERAL AD
• AD Connector – gateway/proxy to existing
on-premises Microsoft AD
• Simple AD – AD-compatible directory powered
by Samba 4 providing a subset of MS AD
features
• Microsoft AD – AWS-managed AD powered by
Windows Server 2012 R2
• AD on EC2 – AD on EC2
3
Choosing the Correct AD Option
GENERAL AD
4
Feature AD Connector Simple AD Managed AD AD on EC2
Authenticate sign on requests from AWS
applications like Amazon WorkSpaces,
Amazon WorkDocs, or Amazon WorkMail.
Yes (proxy) Yes Yes Yes*
Domain join EC2 instances running Linux
and Microsoft Windows
Yes (proxy) Yes Yes Yes*
Enable single sign-on (SSO) to the AWS
Management Console using existing AD
credentials
Yes (proxy) Yes Yes Yes*
Support for up to 5,000 users and 20,000
objects
Yes Yes Yes Yes
Authenticate sign on requests from
directory-aware Microsoft workloads,
including custom .NET and SQL
Server-based applications
Yes Yes Yes
Common Active Directory features such as
user accounts, group memberships, and
group policies
Yes Yes Yes
Choosing the Correct AD Option
GENERAL AD
5
Feature AD Connector Simple AD Managed AD AD on EC2
Advanced Active Directory features such
as DNS dynamic updates, Active Directory
Administrative Center, PowerShell support,
Active Directory recycle bin, group
managed service accounts, and schema
extensions for POSIX and Microsoft
applications
Yes Yes
Setup trust relationships with other Active
Directory domains
Yes Yes
Establish trust with other AWS directories Yes Yes
Support for up to 50,000 users and
200,000 objects
Yes Yes
Choosing the Correct AD Option
GENERAL AD
6
Feature AD Connector Simple AD Microsoft AD AD on EC2
Active Directory schema
modifications, communication over
LDAPS, PowerShell AD cmdlets, and
the transfer of FSMO roles
Yes Yes
Active Directory replication Yes
Support for more than 50,000 users
and 200,000 objects
Yes
Windows Authentication to
authenticate users when they connect
to an Amazon RDS DB instance
running Microsoft SQL Server
Yes
AD Connector
7
AD Connector
AD Connector
• Proxy service to route
authentication/authorization requests
back to an AD domain someplace else.
8
Simple AD
9
Simple AD
Simple AD
• Samba 4, Active Directory compatible
server.
• Able to manage Windows/Linux EC2
instances.
• User accounts allow access to
Workspaces, WorkDocs, Workmail.
• Daily snapshots.
10
Simple AD
Simple AD
● No trust relationships
● Cannot use most Active Directory administration tools.
● No powershell support.
11
AD on EC2
12
Common Scenarios
AD ON EC2
• Global (multi-region) deployments - (extension of
the corp on-prem AD into the cloud)
• Disaster Recovery
• Enterprise Applications (with isolated access like
third parties, partners and similar)
• Hybrid deployments - when you
need applications to talk
to components hosted
on-prem
13
General Design Considerations
AD ON EC2
• Customer responsibility for :
• patching (ex. Systems Manager),
• monitoring (ex. CloudWatch)
• backups (either 3rd party enterprise solutions or
Windows System Backup)
• and high availability
• Place DCs in at least two AZs and treat AZs as
separate data centers (AZ1 being one site, AZ2
being another site)
14
Security Considerations
AD ON EC2
• Access to AWS resources using IAM roles and
policies.
• Access to EC2 OS using AD security memberships.
• Keep Cloud team and AD team separated.
• Never internet facing, always in private subnets
• NACL and SG.
15
Networking considerations
AD ON EC2
• Understand the networking in order to
create proper sites, links and
replication setup
16
Networking considerations
AD ON EC2
• When peering
multiple VPCs, it is
sufficient to deploy
DCs into a single VPC
(Shared Services VPC
concept)
17
IP addressing and DNS considerations
AD ON EC2
• Define separate subnets for AD (or for all
Shared/Common services)
• Configure network properties of all member
servers to point to the IP address of the EC2 host
having AD DS & DNS roles - DHCP Option Sets
• Set each AZ as a site in Sites and Services. Set
each VPC as a site when dealing with
multi-region.
18
Multi Region Considerations
AD ON EC2
• Deploy DCs in all used regions, and in multiple AZs
within each of the regions.
• Connect all regions to Data Center and treat the
Data Center as a hub when setting the links cost
in the replication setup.
• Another option is to use a dual-hub and spoke
design in case one hub drops offline.
19
Multi Region Considerations
AD ON EC2
• For replication between the regions (using AWS
network as a backbone) use VPC Peering, IPsec
VPNs between the regions, or transit VPCs.
• If you are separating users from resources and
into separate domains, consider using
sub-domains based on region.
20
AD Backup and Recovery considerations
AD ON EC2
• Do not use snapshots
• Not crash consistent
• VM IDs not supported in EC2
• Use Windows System State backup or 3rd party
enterprise solutions
• Leverage separate volumes for backups -> snapshot
the volumes to S3 and perhaps to Glacier for longer
term storage
21
AD DS specific design considerations
AD ON EC2
• Separate forest without trusts
• New forest with federation
• New forest with Kerberos
• Extend corp forest with deploying a replica DC
• Extend corp forest by deploying a new child
domain or domain tree
22
AD DS specific design considerations
AD ON EC2
● Global Catalog considerations:
○ Same considerations as with an on-prem design.
■ In most cases, it is recommended that you include the
global catalog when you install new domain controllers.
■ Any application need GC?
■ More than 100 users using that region?
○ For multi domain forest, make all DCs global catalogs with the
following exceptions:
■ Limited bandwidth (like VPN)
■ Security implications
23
Office365 integration
AD ON EC2
• AD on EC2.. Will work with
Managed AD too
• AD FS on separate EC2
• Service Account
• Azure AD connect on separate
EC2
• AD Sync to replicate AD users into
Azure AD
• enables users in AWS AD to single
sign on to Office365
24
AWS Managed
Microsoft AD
25
What is Managed Microsoft AD
AWS MANAGED MICROSOFT AD
• Windows 2012 R2 DCs.
• ~ 3click setup or CLI/API & CFN.
• By default 2 DC in 2 AZs, dynamically scalable to more DCs.
• PCI, HIPAA and SOC compliant.
• Two editions:
• Standard: up to ~5,000 objects*
• Enterprise: up to 100,000+ objects*
• Currently same set of features with a tendency to add more features into the Enterprise
edition.
• Priced per DC per hour, minimum 2 DC’s.
26
Shared responsibilities
AWS MANAGED MICROSOFT AD
• AWS:
• Backups, snapshots, patching,
monitoring
• Customer:
• policies, trusts, federation,
certificate authorities, users &
groups, content
27
Deployment models
AWS MANAGED MICROSOFT AD
• Primary directory in the Cloud only.
• Resource directory
includes a trust with
AD (or any other
directory)
28
Design Restrictions
AWS MANAGED MICROSOFT AD
● Single Region - Multiple AZ
● Single Forest - Single Domain
29
Prerequisites
AWS MANAGED MICROSOFT AD
• VPC with 2 AZs.
• VPC must have default
hardware tenancy.
• Cannot use 198.19.0.0/16
address space.
• VPN or DirectConnect
optional
30
Best practices after creation
AWS MANAGED MICROSOFT AD
• DHCP option set for VPC.
• Tighten the default DC SGs.
• Create a seperate Security Group to be
assigned to domain member instances.
• Separate instance for AD management (tools to
be installed manually)
31
Management of the Microsoft AD
AWS MANAGED MICROSOFT AD
• AWS is the Domain Admin.
• May cause issues with compliance.
• Pre-created OU with delegated permission.
• Add users into predefined (and created by AWS) groups.
• Groups are "domain local" and not "universal”.
• In is not end of the world if the AD is marked as "Impaired". It
is perfectly normal to see it like that every once in a while…
• Do AD restore only as a last resort (because it always means
a loss of data). Contact AWS Support before you do a
restore.
32
Application Support
AWS MANAGED MICROSOFT AD
33
• As a primary directory
Application Support
AWS MANAGED MICROSOFT AD
34
• As a resource directory
VPC and Account Considerations
AWS MANAGED MICROSOFT AD
35
Options for Multiple VPCs with Trusts
AWS MANAGED MICROSOFT AD
• Option 1
• + Preserve VPC boundaries
• + Billing goes to VPC owner
• - Costs more
36
Options for Multiple VPCs with Trusts
AWS MANAGED MICROSOFT AD
• Option 2
• + Saves money
• + Enables cost allocation
• - Crosses VPC boundaries
37
Options for Multiple Domains +VPCs with Trusts
AWS MANAGED MICROSOFT AD
• Option 3
• + Isolates Environments
• + Centralized Users
• + Reduces duplicate systems
• - Crosses VPC boundaries
38
Tips and Tricks
39
Things to watch out for
Tips and Tricks
● Default Domain policy has a 45 day password rotation. Admin password included.
● Default Security Group doesn’t allow trusts to occur.
● Seamless domain join doesn’t work across VPC’s, but SSM does.
● Active Directory - Standard cannot be built via CloudFormation. Enterprise can be.
● Conditional Forwarders can be managed via CLI.
● Only directly available logs are security logs.
● It is possible to have multiple domains inside one VPC.
○ Works best in a shared services VPC design.
40
Automatic AD Cleanup
● Joining a domain is easy. Seamless domain join, SSM documents, Powershell, etc.
● Leaving a domain is hard.
● Having domain joined computers on an ASG will clutter up Active Directory.
41
Tips and Tricks
References
Re:Invent 2017, AD Best Practices
• AWS re:invent 2017: Deep Dive on Active
Directory – From One to Many AWS Regions
(WIN302)
• AWS re:invent 2017: AWS Directory Service for
Microsoft Active Directory Deep Dive (WIN403)
• AWS re:invent 2017: Deep Dive on How Capital
One Automates the Delivery of Directory (SID202)
42
QUESTIONS
?
?
?
TriNimbus 43
THANK YOU
TriNimbus.com
Jonathan@triimbus.com
Jonathan Best
19 February 2018 TriNimbus 44

More Related Content

What's hot

AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWSAWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
Amazon Web Services
 
Deep Dive on MySQL Databases on AWS - AWS Online Tech Talks
Deep Dive on MySQL Databases on AWS - AWS Online Tech TalksDeep Dive on MySQL Databases on AWS - AWS Online Tech Talks
Deep Dive on MySQL Databases on AWS - AWS Online Tech Talks
Amazon Web Services
 
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
Amazon Web Services
 
AWS 201 - A Walk through the AWS Cloud: What's New with AWS
AWS 201 - A Walk through the AWS Cloud: What's New with AWSAWS 201 - A Walk through the AWS Cloud: What's New with AWS
AWS 201 - A Walk through the AWS Cloud: What's New with AWS
Amazon Web Services
 
Monitoring in Motion: Monitoring Containers and Amazon ECS
Monitoring in Motion: Monitoring Containers and Amazon ECSMonitoring in Motion: Monitoring Containers and Amazon ECS
Monitoring in Motion: Monitoring Containers and Amazon ECS
Amazon Web Services
 
Perth Azure Usergroup Build 2018 updates
Perth Azure Usergroup Build 2018 updatesPerth Azure Usergroup Build 2018 updates
Perth Azure Usergroup Build 2018 updates
Nirmal Thewarathanthri
 
Deep Dive on Object Storage: Amazon S3 and Amazon Glacier
Deep Dive on Object Storage: Amazon S3 and Amazon GlacierDeep Dive on Object Storage: Amazon S3 and Amazon Glacier
Deep Dive on Object Storage: Amazon S3 and Amazon Glacier
Adrian Hornsby
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
Amazon Web Services
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
Amazon Web Services
 
another day, another billion packets
another day, another billion packetsanother day, another billion packets
another day, another billion packets
Amazon Web Services
 
Deep Dive: Amazon RDS
Deep Dive: Amazon RDSDeep Dive: Amazon RDS
Deep Dive: Amazon RDS
Amazon Web Services
 
ENT307 VMware and AWS Together - VMware Cloud on AWS
ENT307 VMware and AWS Together - VMware Cloud on AWSENT307 VMware and AWS Together - VMware Cloud on AWS
ENT307 VMware and AWS Together - VMware Cloud on AWS
Amazon Web Services
 
ENT308 Best Practices for Microsoft Architectures on AWS
ENT308 Best Practices for Microsoft Architectures on AWSENT308 Best Practices for Microsoft Architectures on AWS
ENT308 Best Practices for Microsoft Architectures on AWS
Amazon Web Services
 
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
Amazon Web Services
 
NEW LAUNCH! Introduction to AWS X-Ray
NEW LAUNCH! Introduction to AWS X-RayNEW LAUNCH! Introduction to AWS X-Ray
NEW LAUNCH! Introduction to AWS X-Ray
Amazon Web Services
 
Automating Backup & Archiving with AWS and CommVault
Automating Backup & Archiving with AWS and CommVaultAutomating Backup & Archiving with AWS and CommVault
Automating Backup & Archiving with AWS and CommVault
Amazon Web Services
 
Strategic Uses for Cost Efficient Long-Term Cloud Storage
Strategic Uses for Cost Efficient Long-Term Cloud StorageStrategic Uses for Cost Efficient Long-Term Cloud Storage
Strategic Uses for Cost Efficient Long-Term Cloud Storage
Amazon Web Services
 
AWS Webcast - Library Systems on the AWS Cloud
AWS Webcast - Library Systems on the AWS CloudAWS Webcast - Library Systems on the AWS Cloud
AWS Webcast - Library Systems on the AWS Cloud
Amazon Web Services
 
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
Amazon Web Services
 
EC2 and S3 Level 100
EC2 and S3 Level 100EC2 and S3 Level 100
EC2 and S3 Level 100
AWS Riyadh User Group
 

What's hot (20)

AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWSAWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS
 
Deep Dive on MySQL Databases on AWS - AWS Online Tech Talks
Deep Dive on MySQL Databases on AWS - AWS Online Tech TalksDeep Dive on MySQL Databases on AWS - AWS Online Tech Talks
Deep Dive on MySQL Databases on AWS - AWS Online Tech Talks
 
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
 
AWS 201 - A Walk through the AWS Cloud: What's New with AWS
AWS 201 - A Walk through the AWS Cloud: What's New with AWSAWS 201 - A Walk through the AWS Cloud: What's New with AWS
AWS 201 - A Walk through the AWS Cloud: What's New with AWS
 
Monitoring in Motion: Monitoring Containers and Amazon ECS
Monitoring in Motion: Monitoring Containers and Amazon ECSMonitoring in Motion: Monitoring Containers and Amazon ECS
Monitoring in Motion: Monitoring Containers and Amazon ECS
 
Perth Azure Usergroup Build 2018 updates
Perth Azure Usergroup Build 2018 updatesPerth Azure Usergroup Build 2018 updates
Perth Azure Usergroup Build 2018 updates
 
Deep Dive on Object Storage: Amazon S3 and Amazon Glacier
Deep Dive on Object Storage: Amazon S3 and Amazon GlacierDeep Dive on Object Storage: Amazon S3 and Amazon Glacier
Deep Dive on Object Storage: Amazon S3 and Amazon Glacier
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
 
another day, another billion packets
another day, another billion packetsanother day, another billion packets
another day, another billion packets
 
Deep Dive: Amazon RDS
Deep Dive: Amazon RDSDeep Dive: Amazon RDS
Deep Dive: Amazon RDS
 
ENT307 VMware and AWS Together - VMware Cloud on AWS
ENT307 VMware and AWS Together - VMware Cloud on AWSENT307 VMware and AWS Together - VMware Cloud on AWS
ENT307 VMware and AWS Together - VMware Cloud on AWS
 
ENT308 Best Practices for Microsoft Architectures on AWS
ENT308 Best Practices for Microsoft Architectures on AWSENT308 Best Practices for Microsoft Architectures on AWS
ENT308 Best Practices for Microsoft Architectures on AWS
 
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
 
NEW LAUNCH! Introduction to AWS X-Ray
NEW LAUNCH! Introduction to AWS X-RayNEW LAUNCH! Introduction to AWS X-Ray
NEW LAUNCH! Introduction to AWS X-Ray
 
Automating Backup & Archiving with AWS and CommVault
Automating Backup & Archiving with AWS and CommVaultAutomating Backup & Archiving with AWS and CommVault
Automating Backup & Archiving with AWS and CommVault
 
Strategic Uses for Cost Efficient Long-Term Cloud Storage
Strategic Uses for Cost Efficient Long-Term Cloud StorageStrategic Uses for Cost Efficient Long-Term Cloud Storage
Strategic Uses for Cost Efficient Long-Term Cloud Storage
 
AWS Webcast - Library Systems on the AWS Cloud
AWS Webcast - Library Systems on the AWS CloudAWS Webcast - Library Systems on the AWS Cloud
AWS Webcast - Library Systems on the AWS Cloud
 
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
 
EC2 and S3 Level 100
EC2 and S3 Level 100EC2 and S3 Level 100
EC2 and S3 Level 100
 

Similar to Using Active Directory in AWS

SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...
SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...
SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...
Amazon Web Services
 
Best Practices for Active Directory with AWS Workloads | AWS Public Sector Su...
Best Practices for Active Directory with AWS Workloads | AWS Public Sector Su...Best Practices for Active Directory with AWS Workloads | AWS Public Sector Su...
Best Practices for Active Directory with AWS Workloads | AWS Public Sector Su...
Amazon Web Services
 
AWS re:Invent 2016: Best Practices for Integrating Active Directory with AWS ...
AWS re:Invent 2016: Best Practices for Integrating Active Directory with AWS ...AWS re:Invent 2016: Best Practices for Integrating Active Directory with AWS ...
AWS re:Invent 2016: Best Practices for Integrating Active Directory with AWS ...
Amazon Web Services
 
Hybride Cloud Infrastrukturen durch Integration mit Active Directory - AWS Cl...
Hybride Cloud Infrastrukturen durch Integration mit Active Directory - AWS Cl...Hybride Cloud Infrastrukturen durch Integration mit Active Directory - AWS Cl...
Hybride Cloud Infrastrukturen durch Integration mit Active Directory - AWS Cl...
AWS Germany
 
SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...
SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...
SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...
Amazon Web Services
 
Running Active Directory in the AWS Cloud
Running Active Directory in the AWS Cloud Running Active Directory in the AWS Cloud
Running Active Directory in the AWS Cloud
Amazon Web Services
 
Best Practices for Integrating Active Directory with AWS Workloads
Best Practices for Integrating Active Directory with AWS WorkloadsBest Practices for Integrating Active Directory with AWS Workloads
Best Practices for Integrating Active Directory with AWS Workloads
Amazon Web Services
 
Migrating Microsoft Applications to AWS like an Expert
Migrating Microsoft Applications to AWS like an ExpertMigrating Microsoft Applications to AWS like an Expert
Migrating Microsoft Applications to AWS like an Expert
Amazon Web Services
 
WIN302-Deep Dive on Active Directory From One to Many AWS Regions
WIN302-Deep Dive on Active Directory From One to Many AWS RegionsWIN302-Deep Dive on Active Directory From One to Many AWS Regions
WIN302-Deep Dive on Active Directory From One to Many AWS Regions
Amazon Web Services
 
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdfWIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
Amazon Web Services
 
ENT201 Simplifying Microsoft Architectures with AWS Services
ENT201 Simplifying Microsoft Architectures with AWS ServicesENT201 Simplifying Microsoft Architectures with AWS Services
ENT201 Simplifying Microsoft Architectures with AWS Services
Amazon Web Services
 
Using Microsoft Active Directory across On-premises and Cloud Workloads
Using Microsoft Active Directory across On-premises and Cloud WorkloadsUsing Microsoft Active Directory across On-premises and Cloud Workloads
Using Microsoft Active Directory across On-premises and Cloud Workloads
Amazon Web Services
 
Best Practices for Active Directory with AWS Workloads
Best Practices for Active Directory with AWS WorkloadsBest Practices for Active Directory with AWS Workloads
Best Practices for Active Directory with AWS Workloads
Amazon Web Services
 
teste
testeteste
teste
mvpjordao
 
AWS Summit Auckland - Running your Enterprise Windows Workload on AWS
AWS Summit Auckland  - Running your Enterprise Windows Workload on AWSAWS Summit Auckland  - Running your Enterprise Windows Workload on AWS
AWS Summit Auckland - Running your Enterprise Windows Workload on AWS
Amazon Web Services
 
Aws managed microsoft ad
Aws managed microsoft adAws managed microsoft ad
Aws managed microsoft ad
Subramanyam Vemala
 
Running your Windows Enterprise Workloads on AWS - Technical 201
Running your Windows Enterprise Workloads on AWS - Technical 201Running your Windows Enterprise Workloads on AWS - Technical 201
Running your Windows Enterprise Workloads on AWS - Technical 201
Amazon Web Services
 
Microsoft Offical Course 20410C_02
Microsoft Offical Course 20410C_02Microsoft Offical Course 20410C_02
Microsoft Offical Course 20410C_02
gameaxt
 
AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...
AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...
AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...
Amazon Web Services
 
Best practices to Support Active Directory Aware Workloads on AWS
Best practices to Support Active Directory Aware Workloads on AWSBest practices to Support Active Directory Aware Workloads on AWS
Best practices to Support Active Directory Aware Workloads on AWS
Amazon Web Services
 

Similar to Using Active Directory in AWS (20)

SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...
SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...
SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...
 
Best Practices for Active Directory with AWS Workloads | AWS Public Sector Su...
Best Practices for Active Directory with AWS Workloads | AWS Public Sector Su...Best Practices for Active Directory with AWS Workloads | AWS Public Sector Su...
Best Practices for Active Directory with AWS Workloads | AWS Public Sector Su...
 
AWS re:Invent 2016: Best Practices for Integrating Active Directory with AWS ...
AWS re:Invent 2016: Best Practices for Integrating Active Directory with AWS ...AWS re:Invent 2016: Best Practices for Integrating Active Directory with AWS ...
AWS re:Invent 2016: Best Practices for Integrating Active Directory with AWS ...
 
Hybride Cloud Infrastrukturen durch Integration mit Active Directory - AWS Cl...
Hybride Cloud Infrastrukturen durch Integration mit Active Directory - AWS Cl...Hybride Cloud Infrastrukturen durch Integration mit Active Directory - AWS Cl...
Hybride Cloud Infrastrukturen durch Integration mit Active Directory - AWS Cl...
 
SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...
SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...
SEC306 Using Microsoft Active Directory Across On-Premises and AWS Cloud Wind...
 
Running Active Directory in the AWS Cloud
Running Active Directory in the AWS Cloud Running Active Directory in the AWS Cloud
Running Active Directory in the AWS Cloud
 
Best Practices for Integrating Active Directory with AWS Workloads
Best Practices for Integrating Active Directory with AWS WorkloadsBest Practices for Integrating Active Directory with AWS Workloads
Best Practices for Integrating Active Directory with AWS Workloads
 
Migrating Microsoft Applications to AWS like an Expert
Migrating Microsoft Applications to AWS like an ExpertMigrating Microsoft Applications to AWS like an Expert
Migrating Microsoft Applications to AWS like an Expert
 
WIN302-Deep Dive on Active Directory From One to Many AWS Regions
WIN302-Deep Dive on Active Directory From One to Many AWS RegionsWIN302-Deep Dive on Active Directory From One to Many AWS Regions
WIN302-Deep Dive on Active Directory From One to Many AWS Regions
 
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdfWIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
 
ENT201 Simplifying Microsoft Architectures with AWS Services
ENT201 Simplifying Microsoft Architectures with AWS ServicesENT201 Simplifying Microsoft Architectures with AWS Services
ENT201 Simplifying Microsoft Architectures with AWS Services
 
Using Microsoft Active Directory across On-premises and Cloud Workloads
Using Microsoft Active Directory across On-premises and Cloud WorkloadsUsing Microsoft Active Directory across On-premises and Cloud Workloads
Using Microsoft Active Directory across On-premises and Cloud Workloads
 
Best Practices for Active Directory with AWS Workloads
Best Practices for Active Directory with AWS WorkloadsBest Practices for Active Directory with AWS Workloads
Best Practices for Active Directory with AWS Workloads
 
teste
testeteste
teste
 
AWS Summit Auckland - Running your Enterprise Windows Workload on AWS
AWS Summit Auckland  - Running your Enterprise Windows Workload on AWSAWS Summit Auckland  - Running your Enterprise Windows Workload on AWS
AWS Summit Auckland - Running your Enterprise Windows Workload on AWS
 
Aws managed microsoft ad
Aws managed microsoft adAws managed microsoft ad
Aws managed microsoft ad
 
Running your Windows Enterprise Workloads on AWS - Technical 201
Running your Windows Enterprise Workloads on AWS - Technical 201Running your Windows Enterprise Workloads on AWS - Technical 201
Running your Windows Enterprise Workloads on AWS - Technical 201
 
Microsoft Offical Course 20410C_02
Microsoft Offical Course 20410C_02Microsoft Offical Course 20410C_02
Microsoft Offical Course 20410C_02
 
AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...
AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...
AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...
 
Best practices to Support Active Directory Aware Workloads on AWS
Best practices to Support Active Directory Aware Workloads on AWSBest practices to Support Active Directory Aware Workloads on AWS
Best practices to Support Active Directory Aware Workloads on AWS
 

Recently uploaded

Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 

Recently uploaded (20)

Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 

Using Active Directory in AWS

  • 1. Using Active Directory in AWS Re:Invent 2017, AD Best Practices trinimbus.com
  • 2. What is AD? GENERAL AD • It is both the directory information source and the service that makes the information available and usable • Essentially, it is a phonebook • Users: account information, privileges, profiles, policy management • Servers & workstations: domain joins, policies, network information • Application information: ex: Exchange and mailboxes information 2
  • 3. AD Options for AWS GENERAL AD • AD Connector – gateway/proxy to existing on-premises Microsoft AD • Simple AD – AD-compatible directory powered by Samba 4 providing a subset of MS AD features • Microsoft AD – AWS-managed AD powered by Windows Server 2012 R2 • AD on EC2 – AD on EC2 3
  • 4. Choosing the Correct AD Option GENERAL AD 4 Feature AD Connector Simple AD Managed AD AD on EC2 Authenticate sign on requests from AWS applications like Amazon WorkSpaces, Amazon WorkDocs, or Amazon WorkMail. Yes (proxy) Yes Yes Yes* Domain join EC2 instances running Linux and Microsoft Windows Yes (proxy) Yes Yes Yes* Enable single sign-on (SSO) to the AWS Management Console using existing AD credentials Yes (proxy) Yes Yes Yes* Support for up to 5,000 users and 20,000 objects Yes Yes Yes Yes Authenticate sign on requests from directory-aware Microsoft workloads, including custom .NET and SQL Server-based applications Yes Yes Yes Common Active Directory features such as user accounts, group memberships, and group policies Yes Yes Yes
  • 5. Choosing the Correct AD Option GENERAL AD 5 Feature AD Connector Simple AD Managed AD AD on EC2 Advanced Active Directory features such as DNS dynamic updates, Active Directory Administrative Center, PowerShell support, Active Directory recycle bin, group managed service accounts, and schema extensions for POSIX and Microsoft applications Yes Yes Setup trust relationships with other Active Directory domains Yes Yes Establish trust with other AWS directories Yes Yes Support for up to 50,000 users and 200,000 objects Yes Yes
  • 6. Choosing the Correct AD Option GENERAL AD 6 Feature AD Connector Simple AD Microsoft AD AD on EC2 Active Directory schema modifications, communication over LDAPS, PowerShell AD cmdlets, and the transfer of FSMO roles Yes Yes Active Directory replication Yes Support for more than 50,000 users and 200,000 objects Yes Windows Authentication to authenticate users when they connect to an Amazon RDS DB instance running Microsoft SQL Server Yes
  • 8. AD Connector AD Connector • Proxy service to route authentication/authorization requests back to an AD domain someplace else. 8
  • 10. Simple AD Simple AD • Samba 4, Active Directory compatible server. • Able to manage Windows/Linux EC2 instances. • User accounts allow access to Workspaces, WorkDocs, Workmail. • Daily snapshots. 10
  • 11. Simple AD Simple AD ● No trust relationships ● Cannot use most Active Directory administration tools. ● No powershell support. 11
  • 13. Common Scenarios AD ON EC2 • Global (multi-region) deployments - (extension of the corp on-prem AD into the cloud) • Disaster Recovery • Enterprise Applications (with isolated access like third parties, partners and similar) • Hybrid deployments - when you need applications to talk to components hosted on-prem 13
  • 14. General Design Considerations AD ON EC2 • Customer responsibility for : • patching (ex. Systems Manager), • monitoring (ex. CloudWatch) • backups (either 3rd party enterprise solutions or Windows System Backup) • and high availability • Place DCs in at least two AZs and treat AZs as separate data centers (AZ1 being one site, AZ2 being another site) 14
  • 15. Security Considerations AD ON EC2 • Access to AWS resources using IAM roles and policies. • Access to EC2 OS using AD security memberships. • Keep Cloud team and AD team separated. • Never internet facing, always in private subnets • NACL and SG. 15
  • 16. Networking considerations AD ON EC2 • Understand the networking in order to create proper sites, links and replication setup 16
  • 17. Networking considerations AD ON EC2 • When peering multiple VPCs, it is sufficient to deploy DCs into a single VPC (Shared Services VPC concept) 17
  • 18. IP addressing and DNS considerations AD ON EC2 • Define separate subnets for AD (or for all Shared/Common services) • Configure network properties of all member servers to point to the IP address of the EC2 host having AD DS & DNS roles - DHCP Option Sets • Set each AZ as a site in Sites and Services. Set each VPC as a site when dealing with multi-region. 18
  • 19. Multi Region Considerations AD ON EC2 • Deploy DCs in all used regions, and in multiple AZs within each of the regions. • Connect all regions to Data Center and treat the Data Center as a hub when setting the links cost in the replication setup. • Another option is to use a dual-hub and spoke design in case one hub drops offline. 19
  • 20. Multi Region Considerations AD ON EC2 • For replication between the regions (using AWS network as a backbone) use VPC Peering, IPsec VPNs between the regions, or transit VPCs. • If you are separating users from resources and into separate domains, consider using sub-domains based on region. 20
  • 21. AD Backup and Recovery considerations AD ON EC2 • Do not use snapshots • Not crash consistent • VM IDs not supported in EC2 • Use Windows System State backup or 3rd party enterprise solutions • Leverage separate volumes for backups -> snapshot the volumes to S3 and perhaps to Glacier for longer term storage 21
  • 22. AD DS specific design considerations AD ON EC2 • Separate forest without trusts • New forest with federation • New forest with Kerberos • Extend corp forest with deploying a replica DC • Extend corp forest by deploying a new child domain or domain tree 22
  • 23. AD DS specific design considerations AD ON EC2 ● Global Catalog considerations: ○ Same considerations as with an on-prem design. ■ In most cases, it is recommended that you include the global catalog when you install new domain controllers. ■ Any application need GC? ■ More than 100 users using that region? ○ For multi domain forest, make all DCs global catalogs with the following exceptions: ■ Limited bandwidth (like VPN) ■ Security implications 23
  • 24. Office365 integration AD ON EC2 • AD on EC2.. Will work with Managed AD too • AD FS on separate EC2 • Service Account • Azure AD connect on separate EC2 • AD Sync to replicate AD users into Azure AD • enables users in AWS AD to single sign on to Office365 24
  • 26. What is Managed Microsoft AD AWS MANAGED MICROSOFT AD • Windows 2012 R2 DCs. • ~ 3click setup or CLI/API & CFN. • By default 2 DC in 2 AZs, dynamically scalable to more DCs. • PCI, HIPAA and SOC compliant. • Two editions: • Standard: up to ~5,000 objects* • Enterprise: up to 100,000+ objects* • Currently same set of features with a tendency to add more features into the Enterprise edition. • Priced per DC per hour, minimum 2 DC’s. 26
  • 27. Shared responsibilities AWS MANAGED MICROSOFT AD • AWS: • Backups, snapshots, patching, monitoring • Customer: • policies, trusts, federation, certificate authorities, users & groups, content 27
  • 28. Deployment models AWS MANAGED MICROSOFT AD • Primary directory in the Cloud only. • Resource directory includes a trust with AD (or any other directory) 28
  • 29. Design Restrictions AWS MANAGED MICROSOFT AD ● Single Region - Multiple AZ ● Single Forest - Single Domain 29
  • 30. Prerequisites AWS MANAGED MICROSOFT AD • VPC with 2 AZs. • VPC must have default hardware tenancy. • Cannot use 198.19.0.0/16 address space. • VPN or DirectConnect optional 30
  • 31. Best practices after creation AWS MANAGED MICROSOFT AD • DHCP option set for VPC. • Tighten the default DC SGs. • Create a seperate Security Group to be assigned to domain member instances. • Separate instance for AD management (tools to be installed manually) 31
  • 32. Management of the Microsoft AD AWS MANAGED MICROSOFT AD • AWS is the Domain Admin. • May cause issues with compliance. • Pre-created OU with delegated permission. • Add users into predefined (and created by AWS) groups. • Groups are "domain local" and not "universal”. • In is not end of the world if the AD is marked as "Impaired". It is perfectly normal to see it like that every once in a while… • Do AD restore only as a last resort (because it always means a loss of data). Contact AWS Support before you do a restore. 32
  • 33. Application Support AWS MANAGED MICROSOFT AD 33 • As a primary directory
  • 34. Application Support AWS MANAGED MICROSOFT AD 34 • As a resource directory
  • 35. VPC and Account Considerations AWS MANAGED MICROSOFT AD 35
  • 36. Options for Multiple VPCs with Trusts AWS MANAGED MICROSOFT AD • Option 1 • + Preserve VPC boundaries • + Billing goes to VPC owner • - Costs more 36
  • 37. Options for Multiple VPCs with Trusts AWS MANAGED MICROSOFT AD • Option 2 • + Saves money • + Enables cost allocation • - Crosses VPC boundaries 37
  • 38. Options for Multiple Domains +VPCs with Trusts AWS MANAGED MICROSOFT AD • Option 3 • + Isolates Environments • + Centralized Users • + Reduces duplicate systems • - Crosses VPC boundaries 38
  • 40. Things to watch out for Tips and Tricks ● Default Domain policy has a 45 day password rotation. Admin password included. ● Default Security Group doesn’t allow trusts to occur. ● Seamless domain join doesn’t work across VPC’s, but SSM does. ● Active Directory - Standard cannot be built via CloudFormation. Enterprise can be. ● Conditional Forwarders can be managed via CLI. ● Only directly available logs are security logs. ● It is possible to have multiple domains inside one VPC. ○ Works best in a shared services VPC design. 40
  • 41. Automatic AD Cleanup ● Joining a domain is easy. Seamless domain join, SSM documents, Powershell, etc. ● Leaving a domain is hard. ● Having domain joined computers on an ASG will clutter up Active Directory. 41 Tips and Tricks
  • 42. References Re:Invent 2017, AD Best Practices • AWS re:invent 2017: Deep Dive on Active Directory – From One to Many AWS Regions (WIN302) • AWS re:invent 2017: AWS Directory Service for Microsoft Active Directory Deep Dive (WIN403) • AWS re:invent 2017: Deep Dive on How Capital One Automates the Delivery of Directory (SID202) 42