Edit Computer Name (Optional)

Detailed Connection Guide (RDP Jump-host): Since the AD-Manager instance is located in a Private Subnet (no Internet), you must connect through the Bastion Host (located in a Public Subnet).

Step 1: Retrieve Password and Connect to Bastion Host

  • In the EC2 console, select the Bastion Host and click Connect.
  • Switch to the RDP (Remote Desktop Protocol) tab (next to In web browser).
  • Click the Get Windows password button. ec2-config
  • Upload your Key Pair file (.pem) created during EC2 launch to decrypt the password. Copy this password. ec2-config
  • Open the Remote Desktop Connection application on your personal computer, enter the Public IPv4 address of the Bastion Host, and log in with the user Administrator and the decrypted password. ec2-config

Step 2: Connect to AD-Manager

  • Once inside the Bastion Host’s desktop, click the Windows Start button (or press Windows + R, type mstsc, and press Enter) to open Remote Desktop Connection from inside the Bastion Host.
  • Enter the Private IPv4 addresses of the AD-Manager instance.
  • Click Connect and log in using your Domain admin credentials:
    • Username: Admin@HieuPham.FCAJ
    • Password: The AWS Managed AD directory password you set in Section 2.1.
  1. Remote Log-in to your EC2 with domain credentials => Server Management => Double check to make sure that the server has already joined into the domain. In fact, if you cannot log in to EC2 with domain admin rights, this means there is an error in the EC2 setup steps. Probably regarding the IAM Role.
  2. Due to lack of permission / wrongly chosen IAM to attach to EC2 => EC2 could not join domain => As a result, cannot log in with the domain administrator account.
  3. After successfully logging in to EC2 with domain account => Server Management => Change Computer name.
  4. This step is only optional to make things easier to work with. When we look at the machine, we know which server is doing which tasks. ec2-config
  5. EC2 will require to be restarted => just restart and then log in again.
  6. Do the same thing on all EC2 instances.