By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Free EC2 doesn't work

0

Every time I try to access the remote desktop it works normally, but if I log out and try to log in at another time the screen doesn't load. For it to work I must restart the instance to try to enter again. Why and how to solve this problem?

asked 10 days ago18 views
1 Answer
0

The issue you're experiencing with your EC2 instance's remote desktop connection is not uncommon and could be related to several factors. Here are some potential reasons and solutions:

  1. Instance Type: If you're using a t2.micro instance (which is often part of the free tier), it may be experiencing performance issues due to CPU credit exhaustion. These instances use a burst credit system, and when credits are depleted, performance can drop significantly, affecting the ability to maintain a stable RDP connection.

  2. Resource Constraints: The free tier instances typically have limited resources. If your instance is running low on memory or CPU, it may struggle to maintain the RDP service, especially after periods of inactivity.

  3. RDP Service Issues: The Remote Desktop service on the Windows instance may be stopping or encountering problems between sessions.

To address these issues, you can try the following:

  1. Monitor your instance's CPU credit balance and usage. Consider upgrading to a larger instance type if you consistently run out of credits.

  2. Check the system logs and RDP error logs for any specific errors that occur during the connection attempts.

  3. Ensure that the RDP service is set to start automatically. You can do this through the EC2 instance's settings or by using AWS Systems Manager.

  4. If the issue persists, you may want to create an AMI (Amazon Machine Image) of your instance and launch a new instance from this AMI to see if the problem is resolved.

  5. Use AWS Systems Manager Session Manager as an alternative way to access your instance for troubleshooting when RDP is not responding.

Remember that constantly restarting the instance is not an ideal long-term solution and may indicate underlying issues that need to be addressed. If the problem continues, you may need to reach out to AWS support for further assistance.
Sources
I have a problem with ec2 instance. | AWS re:Post
Troubleshoot issues connecting to your Amazon EC2 Windows instance - Amazon Elastic Compute Cloud
EC2 Dashboard shows Instance (running) unable to remote desktop reboot not working possibly shut down and restart stil unable to remote desktop. | AWS re:Post

profile picture
answered 10 days ago
profile picture
EXPERT
reviewed 10 days 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