Skip to main content

Remote Log In to your AWS EC2 Windows Instance as an Administrator

You can log in to an instance as Administrator by using the appropriate password. If you have assigned an EC2 key pair to an instance, Amazon EC2 uses it to automatically create and encrypt an Administrator password when the instance starts. You can then use the key pair's private key with the EC2 console, API, or CLI to retrieve and decrypt the password.

  1. Open the EC2 console, and choose Instances from the navigation pane.
  2. Select the instance, choose Connect, and choose Get Password.
  3. Provide a path to the EC2 key pair's private key on your workstation, and choose Decrypt Password. Copy the decrypted password for later use.
  4. Open the Windows Remote Desktop Connection client and provide following information:
    • Computer – The instance's public DNS name or public IP address, which you can get from the instance's details page.
    • User name – Administrator.
    • When the client prompts for your credentials, provide the decrypted password from Step 4.

Submitted by tgoswami on August 31, 2020

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.