Reputation: 1
I have created an EC2 instance with proper inbound rules but still, I'm not able to connect to an EC2 instance using terminal or EC2 instance connect.
Security group inbound rules:
Terminal screenshot:
EC2 instance connect screenshot:
Upvotes: 0
Views: 269
Reputation: 688
I faced a similar issue before and found that connectivity problems can have several causes. To troubleshoot this, consider the following step:
Network connectivity: Check your internet connection from the device you're attempting to connect with. Test accessing other websites or services to ensure connectivity is functioning properly. If you're using your office Wi-Fi network, some organizations might have restrictions that prevent connecting to external resources. In such cases, try using a different network, such as a mobile hotspot, to rule out any network-related issues.
Upvotes: 0
Reputation: 269091
Your Security Group looks good, but "Operation timed out" indicates that there is no communication to the instance.
Things to check:
Upvotes: 1