EC2 Configuration

  1. Navigate to AWS Directory Service management page => select the created Directory Service => save the DNS Address ec2-config
  2. Navigate to EC2 Management Console => save ALL the public IP and private IP addresses of ALL EC2 instances ec2-config
  3. We will have a temporary notepad file like this ec2-config
  4. Edit the hosts file on ALL EC2 instances. Remember, before editing the hosts file, you need to grant permissions so the file can be saved. The hosts file is located at C:\Windows\System32\drivers\etc ec2-config ec2-config
  5. The hosts file on all EC2 instances should look like this ec2-config
  6. On ALL EC2 instances. Open CMD => ipconfig /all to check the IP address. Then, configure the IP address to match what is displayed in the command line on EACH EC2. Because we have already joined the domain during the EC2 creation step. Therefore, DNS will be pre-populated to match our created AWS Managed Directory Service ec2-config ec2-config ec2-config ec2-config ec2-config
  7. On EC2 AD-Manager => Server Management => Add Roles and Features. After selecting all the required options => NEXT => Install => may take about 2 minutes ec2-config ec2-config ec2-config ec2-config
  8. Restart ALL EC2 instances
  9. After restarting, log back in and test ping on each server