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

Leave a Comment

Previous post: