AWS Guide for .NET Developers

Connecting to Your Windows Instance

Amazon Elastic Compute CloudAmazon EC2 instances created from most Windows Amazon Machine Images (AMIs) enable you to connect using Remote Desktop. Remote Desktop uses the Remote Desktop Protocol (RDP) and enables you to connect to and use your instance in the same way you use a computer sitting in front of you.

  1. In Visual Studio 2017, open AWS Explorer, expand Amazon EC2, and then double-click Security Groups.

  2. Choose the VPC Security Group that corresponds to your deployed instance.

  3. Choose Add Permission, choose RDP under Protocol, and then choose OK. The RDP protocol (port 3389) will be added to the inbound permissions.

  4. In AWS Explorer, expand AWS Elastic Beanstalk and your app node, and then double-click the target environment.

  5. In the Environment view, choose Connect to Instance. The Open Remote Desktop prompt opens. Choose Use EC2 keypair to log on and, optionally, whether to Map local drives on remote desktop, and then choose OK.

    Toolkit for Visual Studio will use the keypair created during the deployment.

  6. You might be warned that the publisher of the remote connection cannot be verified. It was generated by Toolkit for Visual Studio to connect to your instance. To trust the connection, choose Connect.

    You might also be warned that the identify of the remote computer cannot be verified. To connect anyway, choose Yes.

    After a few moments, you will be connected.

See Connecting to Your Windows Instance to learn other ways to connect and transfer files between your local computer and your Windows instance.