Not able to launch EC2 instance

0

Hi,

I use Microsoft RDP client to connect to my EC2 instance. Today, while it was running, it got disconnected and when am trying to reconnect, it doesn't connect and remains stuck in "Configuring remote PC". I have rebooted the instance as well from AWS console but still no luck.

Enter image description here

asked 6 months ago257 views
4 Answers
1

check serurity group allow use RDP 3389 Port inbound; check instance in the public subnet routetable to igw.

answered 6 months ago
profile pictureAWS
EXPERT
reviewed 6 months ago
  • have checked both the points but issue is still there.

1

Hello,

  • Update RDP client: Get the latest version.
  • Check firewalls: Allow RDP (port 3389) on both sides (local machine & EC2 instance).
  • Disable clipboard sharing (temporary fix): In RDP client settings.

Check this link : https://repost.aws/knowledge-center/troubleshoot-remote-desktop-connection-ec2-windows

If Doesn't find any security group

Verify Network Settings:

  • Check Network ACLs to allow inbound/outbound traffic on port 3389.
  • Ensure a route to an Internet Gateway exists in the route table.

Connect Using RDP:

  • Open your RDP client.
  • Enter the public IP of your instance and connect using port 3389.
profile picture
EXPERT
answered 6 months ago
EXPERT
reviewed 6 months ago
  • Validated all the above points but issue is still there. To be clear, I was able to connect to this instance today morning. It got disconnected due to inactivity and after that I havent been able to reconnect.

0

Hello,

To resolve the issue of not being able to connect to your EC2 instance via RDP, follow these steps:

Check Security Group Rules:

  • Ensure that the security group associated with your EC2 instance allows inbound traffic on port 3389 (RDP).
  • Go to the EC2 Dashboard, select your instance, click on the Security tab, and then click on the Security Groups.
  • Edit the inbound rules to add a rule for RDP (port 3389) if it doesn't already exist.

Verify Network ACLs:

  • Ensure that the Network ACLs associated with your subnet allow inbound and outbound traffic on port 3389.
  • Go to the VPC Dashboard, select Network ACLs, and check the rules for the subnet your instance is in.

Check Route Table:

  • Make sure your instance is in a public subnet and that the route table has a route to an Internet Gateway (IGW).
  • Go to the VPC Dashboard, select Route Tables, and verify that there is a route to the IGW.

Update RDP Client:

  • Ensure you are using the latest version of the Microsoft RDP client.

Temporary Fix - Disable Clipboard Sharing:

  • In the RDP client settings, disable clipboard sharing as it can sometimes cause issues.

Connect Using RDP:

  • Open your RDP client.
  • Enter the public IP address of your EC2 instance.
  • Connect using port 3389.

https://repost.aws/knowledge-center/troubleshoot-remote-desktop-connection-ec2-windows

profile picture
EXPERT
answered 6 months ago
profile picture
EXPERT
reviewed 6 months ago
EXPERT
reviewed 6 months ago
  • Validated all the above points but issue is still there. To be clear, I was able to connect to this instance today morning. It got disconnected due to inactivity and after that I havent been able to reconnect.

0

Thanks everyone for the answers. It seems like it was an intermittent issue with wifi or my laptop. When I changed the wifi and restarted my laptop, it started working and now its working on my original wifi too.

answered 6 months 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.

Guidelines for Answering Questions