AWS – Microsoft AD setup with terraform

by Sanjeev on April 25, 2017

Goal – To setup Microsoft Active Directory in AWS


  • Create DHCP option set

  • Associate it with the VPC

  • Create an IAM role for the instance to use

  • Create SSM document. You can create a template file, but currently terraform doesn’t support list substitution.

  • Spin up an EC2 instance and associate the instance with the SSM document

  • Login to a machine that’s spun up and test out if the machine is connect to the domain you have created.
  • You will have to install Active directory management tools on the machine that’ connected to the domain

{ 1 comment… read it below or add one }

Pramod October 29, 2017 at 11:56 PM

To create MSAD environment, I need to execute these Terraform files seperately…???


Leave a Comment

Previous post: