Quick post explaining how to connect Windows EC2 AWS server using RDP.
Step 1. Get windows password in AWS
Retrieve administrator password from Windows EC2 server. Login to EC2 dashboard from AWS console. Select your Windows server EC2 instance and choose ‘Get Windows password‘ from Actions menu.
Sometimes you may see below error complaining that Windows password is not available –
Error is self explanatory. You are seeing it because –
- You need to wait for your server to properly boot and module to start which decrypt windows password and share with you.
- You spun windows server from AMI which do not have module which could retrieve administrator password from Windows.
In case of first situation wait for few minutes and again try to ‘Get Windows Passord‘. In case of second situation you need to spin up EC2 with proper AMI.
Also read : How to deploy Linux server in AWS
Once above issue is resolved, you will see next window which asks for key pair you used while deploying Windows server. This is AWS authenticating you again before it release administrator password to you.
Browse key pair on you local machine and then hit ‘Decrypt Password‘ button. If you have supplied proper key pair you will be presented with password window like below –
That’s it. You have the administrator password for your Windows server on AWS.
Step 2 : Login to Windows AWS server using RDP
Open remote desktop connection on your local machine. Punch in details which are given to you by AWS in above window. Public DNS is the hostname you should use to connect to server followed by user name and password.
And you are in !