Skip to content

To login into the private EC2 windows instance

0

Hi AWS, I have to login into the EC2 windows instance which is having only private IP and I want to login using a windows machine only. I was checking for OpenVPN facility but I guess it is only available for Linux OS not for Windows. In that case what is the best option to login.

asked 2 years ago1.3K views
1 Answer
0

Hello.

If you can set up a NAT Gateway or Systems Manager VPC endpoint in your VPC, you can use RDP with Session Manager's port forwarding feature.
I think this option is effective if you are already managing EC2 with Systems Manager.
https://aws.amazon.com/jp/blogs/mt/use-port-forwarding-in-aws-systems-manager-session-manager-to-connect-to-remote-hosts/

Another option is to RDP using the EC2 Instance Connect Endpoint.
With EC2 Instance Connect Endpoint, you can RDP connect to EC2 without setting up a NAT Gateway or VPC endpoint.
https://aws.amazon.com/blogs/compute/secure-connectivity-from-public-to-private-introducing-ec2-instance-connect-endpoint-june-13-2023/
https://aws.amazon.com/about-aws/whats-new/2023/06/amazon-ec2-instance-connect-ssh-rdp-public-ip-address/?nc1=h_ls

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.