SlideShare a Scribd company logo
Setting up a Windows Domain in AWS
"A Windows domain is a form of a computer network in which all user accounts, computers, printers and
other security principals, are registered with a central database located on one or more clusters of central
computers known as domain controllers". (Wikipedia)
Based on this definition, in order to have a Windows Domain, we need the following configuration:
1. Domain Controller
2. Add Computers to the domain
The configuration above seems to be straight forward except that we are in the cloud and more
importantly we are on Amazon Web Service (AWS), not on Microsoft Azure (Azure).
Why is this important?
Windows Domains are easy to setup on Azure because they are Microsoft products thus they are
natively suited for that environment. This does not mean that we can't setup a good Windows Domain
on AWS.
The following lines will demonstrate how to do this.
Prerequisites for a Windows Domains on AWS
Because this is a short article, I will assume that you are able to do the following:
• Setting up a Virtual Private Cloud (VPC)
• Setting up Internet Gateway
• Setting up Subnets and understand the principles behind it
• Configure a Route table and its rules
• Setting up Security Group
Provisioning your Datacenter (your VPC)
I will use spot instances for this demo because they are cheaper and they allow me to use powerful
instances.
I will request spot instances fleet of 3 instances as below:
Request Id :sfr-3ceeb6f0-b8d4-4c1e-87e5-ebec086ce481
Request type: fleet
Created :8/24/2017, 12:27:50 PM
State: Active
Status: Fulfilled
Target capacity: 3
Allocation strategy: lowestPrice
Instance type(s): m3.medium
AMI ID ami-ef7cf4f9
Subnet subnet-rf33f44ebc
IAM fleet role : aws-ec2-spot-fleet-tagging-role
Max price : $0.1
Persistence maintain
Key pair name keypair
IAM role EC2AdminAccessRole
EBS-optimized no
Request valid from 8/24/2017, 12:24:55 PM
Request valid until 8/25/2018, 12:24:55 PM
Terminate instances at expiration yes
Comments about the fleet request
I have requested a 3 m3. medium instances and I decided that I wanted to maintain them.
I set the maximum bidding price to $0.1/hour per instance. My fleet request is only valid for 24 hours.
Instances role
• 1 instance will be the domain controller
• 1 instance will be a SAN server and a domain client
• 1 instance will be a SAN client and a domain client
More on the SAN server and client in my next article (I will put the link of this article here).
Configure the domain controller
Now that I have my instances created, I will configure my domain controller. I don't need a very
powerful server because my EC2 instance will only be a domain controller.
EC2 Description:
Operating System: Microsoft Windows Server 2016 Datacenter
Hardware Information: Xen HV domU
Processors: Inter ® Xeon ® CPU ES-2670v2@2.50GHz
Installed Memory (RAM): 3.75 GB
Total disk space: 30 GB
Domain controller configuration
1. Login in to the EC2 instance using the Remote Desktop file that I download the from AWS EC2.
2. Click on Start >> Server Manager
3. The following screenshots show the steps that leads to the creation of the new Forrest ( New
domain)
a. Click on "add roles and Features"
b. Select the "Role-based or feature-based installation" check box in the next windows.
c. Check the "Active Directory Domain Service"
d. Click on next and click on the "add Features " button
e. Click next the "AD DS" and the "confirmation" screens
f. Client on "Promote this server to a domain controller" link and then click on the close
button in the confirmation screen
g. At the Deployment Configuration step select the "add new forest" check box
My Root domain name will be "saworks.internal".
h. Follow the remaining step to finalize your domain creation
For the sake of simplicity, I am not adding the remaining screenshot.
Please contact me on twitter (@lecadou), if you have any question.
Add client to your new domain
For this demo:
• Every new client for this domain is in the same availability zone i.e the same subnet
• I shut down the firewall on the client servers so that it can allow inbound traffics from the
domain controller
I use the following steps to join the " saworks.internal" domain
1. From Server Management select " Local server "
2. Click on " workgroup" to join to the domain
3. Once completed the local server proprieties will change to the screen below
At this step, I now have 2 servers in my domain " Saworks.internal". I will do the same for the last server,
the SAN Client.
Conclusion
The Windows Domain on AWS is different than creating it on a private data center or on premise.
The main challenge comes when you have to configure your VPC and its related features and services
such as subnets, routes etc...
Another key to this process is the shutdown of the windows firewall of the client servers to allow
inbound traffic from the domain controller.
Julien-Robert LECADOU,M.S jr@saworks.io, @lecadou , whatsup : 845 536 2631.
Please contact me, if you face challenges moving to the cloud. I am here to help.

More Related Content

PPTX
Microsoft Windows Shared Storage on AWS
PPT
Building REA In The Cloud
DOCX
Simple Odoo ERP auto scaling on AWS
PPTX
Windows azurequickstart
PDF
Installing WordPress on AWS
PPTX
Azure webinar kolkata
KEY
Anatomy of a high-volume, cloud-based WordPress architecture
PDF
Introduction to Elastic Beanstalk
Microsoft Windows Shared Storage on AWS
Building REA In The Cloud
Simple Odoo ERP auto scaling on AWS
Windows azurequickstart
Installing WordPress on AWS
Azure webinar kolkata
Anatomy of a high-volume, cloud-based WordPress architecture
Introduction to Elastic Beanstalk

What's hot (16)

PDF
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
PPTX
Aws ec2
PDF
ecs-presentation
PDF
Amazon EC2
PDF
Amazon Web Services EC2 Container Service (ECS)
PDF
Amazon EC2 container service
PPSX
How Postman adopted Docker
PPTX
Creating and managing amazon ec2 instances(linux)
PDF
JUST EAT: Embracing DevOps
PDF
Let's Code our Infrastructure!
PPTX
Deploying your web application with AWS ElasticBeanstalk
PPTX
Amazon services ec2
PDF
Amazon Elastic Beanstalk
PDF
Create Diskgroup Sqlplus Command
PDF
Active Directory Domain Services Installation & Configuration - Windows Ser...
PDF
Cloud Management
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
Aws ec2
ecs-presentation
Amazon EC2
Amazon Web Services EC2 Container Service (ECS)
Amazon EC2 container service
How Postman adopted Docker
Creating and managing amazon ec2 instances(linux)
JUST EAT: Embracing DevOps
Let's Code our Infrastructure!
Deploying your web application with AWS ElasticBeanstalk
Amazon services ec2
Amazon Elastic Beanstalk
Create Diskgroup Sqlplus Command
Active Directory Domain Services Installation & Configuration - Windows Ser...
Cloud Management
Ad

Similar to How to set up a Windows Domain on AWS (20)

PDF
AWS essentials EC2
PDF
Step by step installation of microsoft dynamics 365 finance and operations on...
PPTX
Nuts and bolts of running a popular site in the aws cloud
PPTX
MS Cloud Day - Deploying and monitoring windows azure applications
PDF
AZ-104 Questions Answers Dumps
PPT
Scaling drupal horizontally and in cloud
DOCX
Kl 031.30 eng_class_setup_guide_1.2
PPTX
Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
PPTX
Amazon Web Services and its Global Infrastructure.pptx
PDF
SharePoint Disaster Recovery to Microsoft Azure
PPTX
Amazon Web Services(AWS) in cloud Computing .pptx
PDF
Satrtup Bootcamp - Scale on AWS
PDF
Magento Hosting on AWS
PPTX
vCloud Automation Center 6.0 -My Notes on Architecture
PPTX
Aws big picture_overview
PPTX
Setting up computer servers (sucs)
PDF
70 533 study material
PDF
Developing and deploying windows azure applications
DOCX
AWS Practice test document for certification
PDF
Load Balancer Device and Configurations.
AWS essentials EC2
Step by step installation of microsoft dynamics 365 finance and operations on...
Nuts and bolts of running a popular site in the aws cloud
MS Cloud Day - Deploying and monitoring windows azure applications
AZ-104 Questions Answers Dumps
Scaling drupal horizontally and in cloud
Kl 031.30 eng_class_setup_guide_1.2
Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
Amazon Web Services and its Global Infrastructure.pptx
SharePoint Disaster Recovery to Microsoft Azure
Amazon Web Services(AWS) in cloud Computing .pptx
Satrtup Bootcamp - Scale on AWS
Magento Hosting on AWS
vCloud Automation Center 6.0 -My Notes on Architecture
Aws big picture_overview
Setting up computer servers (sucs)
70 533 study material
Developing and deploying windows azure applications
AWS Practice test document for certification
Load Balancer Device and Configurations.
Ad

More from Julien Lecadou,MSc. (14)

PPSX
Microsoft Dynamics AX 2009 WMS on handheld device
PDF
Production Scheduling Using Microsoft Dynamics AX
PDF
Dynamics AX Fast Sales Quotation
PPTX
Microsoft Dynamics AX 2009 CRM training
PDF
Customizing job shop scheduling using microsoft dynamics ax part2 3
PDF
Prodction Scheduling series Best Machine Selection BPM
PDF
Production Scheduling series ATP BPM
PDF
Production Scheduling series Tools scheduling
PDF
Production Sheduling series capacity management 's BPM
DOCX
Dynamics AX 2009 CRM Implementation : The fit gap analysis
PDF
Warehouse Management Activities "As Is" process map
PDF
Inventory counting using Dynamics AX
DOCX
WMS Update: Create Pallet Id in item Transaction Journal
PDF
New reservation and picking process
Microsoft Dynamics AX 2009 WMS on handheld device
Production Scheduling Using Microsoft Dynamics AX
Dynamics AX Fast Sales Quotation
Microsoft Dynamics AX 2009 CRM training
Customizing job shop scheduling using microsoft dynamics ax part2 3
Prodction Scheduling series Best Machine Selection BPM
Production Scheduling series ATP BPM
Production Scheduling series Tools scheduling
Production Sheduling series capacity management 's BPM
Dynamics AX 2009 CRM Implementation : The fit gap analysis
Warehouse Management Activities "As Is" process map
Inventory counting using Dynamics AX
WMS Update: Create Pallet Id in item Transaction Journal
New reservation and picking process

Recently uploaded (20)

PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Lesson notes of climatology university.
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Institutional Correction lecture only . . .
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
RMMM.pdf make it easy to upload and study
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
GDM (1) (1).pptx small presentation for students
Final Presentation General Medicine 03-08-2024.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Lesson notes of climatology university.
VCE English Exam - Section C Student Revision Booklet
Institutional Correction lecture only . . .
Renaissance Architecture: A Journey from Faith to Humanism
Microbial diseases, their pathogenesis and prophylaxis
PPH.pptx obstetrics and gynecology in nursing
RMMM.pdf make it easy to upload and study
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
O7-L3 Supply Chain Operations - ICLT Program
human mycosis Human fungal infections are called human mycosis..pptx
Supply Chain Operations Speaking Notes -ICLT Program
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Microbial disease of the cardiovascular and lymphatic systems
2.FourierTransform-ShortQuestionswithAnswers.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx

How to set up a Windows Domain on AWS

  • 1. Setting up a Windows Domain in AWS "A Windows domain is a form of a computer network in which all user accounts, computers, printers and other security principals, are registered with a central database located on one or more clusters of central computers known as domain controllers". (Wikipedia) Based on this definition, in order to have a Windows Domain, we need the following configuration: 1. Domain Controller 2. Add Computers to the domain The configuration above seems to be straight forward except that we are in the cloud and more importantly we are on Amazon Web Service (AWS), not on Microsoft Azure (Azure). Why is this important? Windows Domains are easy to setup on Azure because they are Microsoft products thus they are natively suited for that environment. This does not mean that we can't setup a good Windows Domain on AWS. The following lines will demonstrate how to do this. Prerequisites for a Windows Domains on AWS Because this is a short article, I will assume that you are able to do the following: • Setting up a Virtual Private Cloud (VPC) • Setting up Internet Gateway • Setting up Subnets and understand the principles behind it • Configure a Route table and its rules • Setting up Security Group Provisioning your Datacenter (your VPC) I will use spot instances for this demo because they are cheaper and they allow me to use powerful instances. I will request spot instances fleet of 3 instances as below: Request Id :sfr-3ceeb6f0-b8d4-4c1e-87e5-ebec086ce481 Request type: fleet Created :8/24/2017, 12:27:50 PM State: Active Status: Fulfilled Target capacity: 3 Allocation strategy: lowestPrice Instance type(s): m3.medium AMI ID ami-ef7cf4f9 Subnet subnet-rf33f44ebc
  • 2. IAM fleet role : aws-ec2-spot-fleet-tagging-role Max price : $0.1 Persistence maintain Key pair name keypair IAM role EC2AdminAccessRole EBS-optimized no Request valid from 8/24/2017, 12:24:55 PM Request valid until 8/25/2018, 12:24:55 PM Terminate instances at expiration yes Comments about the fleet request I have requested a 3 m3. medium instances and I decided that I wanted to maintain them. I set the maximum bidding price to $0.1/hour per instance. My fleet request is only valid for 24 hours. Instances role • 1 instance will be the domain controller • 1 instance will be a SAN server and a domain client • 1 instance will be a SAN client and a domain client More on the SAN server and client in my next article (I will put the link of this article here). Configure the domain controller Now that I have my instances created, I will configure my domain controller. I don't need a very powerful server because my EC2 instance will only be a domain controller. EC2 Description: Operating System: Microsoft Windows Server 2016 Datacenter Hardware Information: Xen HV domU Processors: Inter ® Xeon ® CPU ES-2670v2@2.50GHz Installed Memory (RAM): 3.75 GB Total disk space: 30 GB Domain controller configuration 1. Login in to the EC2 instance using the Remote Desktop file that I download the from AWS EC2. 2. Click on Start >> Server Manager 3. The following screenshots show the steps that leads to the creation of the new Forrest ( New domain) a. Click on "add roles and Features"
  • 3. b. Select the "Role-based or feature-based installation" check box in the next windows.
  • 4. c. Check the "Active Directory Domain Service" d. Click on next and click on the "add Features " button e. Click next the "AD DS" and the "confirmation" screens f. Client on "Promote this server to a domain controller" link and then click on the close button in the confirmation screen g. At the Deployment Configuration step select the "add new forest" check box
  • 5. My Root domain name will be "saworks.internal". h. Follow the remaining step to finalize your domain creation For the sake of simplicity, I am not adding the remaining screenshot. Please contact me on twitter (@lecadou), if you have any question. Add client to your new domain For this demo: • Every new client for this domain is in the same availability zone i.e the same subnet • I shut down the firewall on the client servers so that it can allow inbound traffics from the domain controller I use the following steps to join the " saworks.internal" domain 1. From Server Management select " Local server " 2. Click on " workgroup" to join to the domain
  • 6. 3. Once completed the local server proprieties will change to the screen below At this step, I now have 2 servers in my domain " Saworks.internal". I will do the same for the last server, the SAN Client. Conclusion The Windows Domain on AWS is different than creating it on a private data center or on premise. The main challenge comes when you have to configure your VPC and its related features and services such as subnets, routes etc... Another key to this process is the shutdown of the windows firewall of the client servers to allow inbound traffic from the domain controller. Julien-Robert LECADOU,M.S jr@saworks.io, @lecadou , whatsup : 845 536 2631. Please contact me, if you face challenges moving to the cloud. I am here to help.