Connect Ec2 windows from windows instance
Owner: Aarav Raj Singh
**ONLY FOR LEARNING PURPOSE**
HOW TO CONNECT WINDOWS EC2 INSTANCE FROM WINDOWS MACHINE
You can connect to Amazon EC2 instances created from most Windows Amazon Machine Images (AMIs) using Remote Desktop. Remote Desktop uses the Remote Desktop Protocol (RDP)
To connect using RDP
RDP is based on, and is an extension of, the T-120 family of protocol standards. A multichannel capable protocol allows for separate virtual channels for carrying the following information:
- presentation data
- serial device communication
- licensing information
- highly encrypted data, such as keyboard, mouse activity
RDP is an extension of the core T.Share protocol. Several other capabilities are retained as part of the RDP, such as the architectural features necessary to support multipoint (multiparty sessions). Multipoint data delivery allows data from an application to be delivered in real time to multiple parties, such as Virtual Whiteboards. It doesn't require to send the same data to each session individually.
Install an RDP client
[Windows] Windows includes an RDP client by default. To verify, type mstsc at a Command Prompt window. If your computer doesn't recognize this command, see the Windows home page
and search for the download for the Microsoft Remote Desktop app. [Mac OS X] Download the Microsoft Remote Desktop app
from the Mac App Store. [Linux] Use Remmina
.
To connect to your Windows instance using an RDP client
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
. In the navigation pane, choose Instances.
Select the instance and then choose Connect.
On the Connect to instance page, choose the RDP client tab.
For Username, choose the default username for the Administrator account. The username you choose must match the language of the operating system (OS) contained in the AMI that you used to launch your instance. If there is no username in the same language as your OS, choose Administrator (Other).
Choose Get password.
On the Get Windows password page, do the following:
Choose Upload private key file and navigate to the private key (
.pem) file that you specified when you launched the instance. Select the file and choose Open to copy the entire contents of the file to this window.Choose Decrypt password. The Get Windows password page closes, and the default administrator password for the instance appears under Password, replacing the Get password link shown previously.
Copy the password and save it in a safe place. This password is required to connect to the instance.
Choose Download remote desktop file. Your browser prompts you to either open or save the RDP shortcut file. When you have finished downloading the file, choose Cancel to return to the Instances page.
If you opened the RDP file, you'll see the Remote Desktop Connection dialog box.
If you saved the RDP file, navigate to your downloads directory, and open the RDP file to display the dialog box.
You might get a warning that the publisher of the remote connection is unknown. Choose Connect to continue to connect to your instance.
The administrator account is chosen by default. Paste the password that you copied previously, and then choose Continue.
Tip
If you receive a "Password Failed" error, try entering the password manually. Copying and pasting content can corrupt it.
Due to the nature of self-signed certificates, you might get a warning that the security certificate could not be authenticated. Use the following steps to verify the identity of the remote computer. Alternatively, if you trust the certificate, choose Yes (Windows) or Continue (Mac OS X) to skip the following steps.





Comments
Post a Comment