tnielsen2 / aws-windows-userdata

Simple powershell script to change the hostname, join a domain, enable Ansible and reboot after launching an EC2 instance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Windows Userdata

A simple Powershell script that:

  • Queries metadata for region, environment and other metadata information to create tags
  • Assigns unique hostname based on instance ID
  • Joins the specified domain
  • Pulls down Powershell script to enable Ansible's ability to configure the machine
  • Tags the instance with an extended name derived from the stack and IP address
  • Reboots the machine

About

Simple powershell script to change the hostname, join a domain, enable Ansible and reboot after launching an EC2 instance


Languages

Language:PowerShell 100.0%