EC2 Windows - Joining a domain via cfn-init

February 09, 2014

Reading time ~1 minute

Recently I created a CloudFormation template with a Windows server with authentication towards Active Directory. You can use the following snippet to achieve that:

I am also adding users from the domain group ServerAdmin to the local computers Administrators group.