How to Join AWS EC2 Windows Instance to Active Directory with Terraform

In this story, we will discuss two options to join an AWS EC2 instance to Active Directory (AD) using Terraform.

  1. Using AWS Systems Manager (aka SSM), a small software component pre-installed almost all AWS AMIs.
  2. Using a PowerShell Script on EC2 Instance bootstrapping, the process of passing user data to the Instance

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Guillermo Musumeci

Guillermo Musumeci

1.98K Followers

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | ex-AWS | Entrepreneur | Book Author | Husband & Dad of ✌