2 Answers
- Newest
- Most votes
- Most comments
2
I don't know what your configuration looks like so my apologies for not being able to give specific guidance. Assuming you've followed the steps outlined in the link you shared, then perhaps it's some condition not met from the prerequisites. Can you check to see if you've checked all the boxes in terms of Region, AMI, grant permissions, and the like?
0
Hi,
Since this is a timeout error, the most likely scenario is that this is related to the network connectivity.
I would check on the following
- If the instance has access to the internet
- Check if SSH port (22) is allowed for inbound traffic from the security group and if the network ACL allows both inbound and outbound for port 22.
- If you are using browser-based SSH connection (Using the EC2 connect option in the EC2 Console) you will need to allow inbound traffic in your security group from EC2 connect IP range for your region in addition to your own IP.
IP Ranges -> https://docs.aws.amazon.com/vpc/latest/userguide/aws-ip-ranges.html
Simply search for EC2_INSTANCE_CONNECT and look for the IP range for the region your instance is located.
{ "ip_prefix": "13.48.4.200/30", "region": "eu-north-1", "service": "EC2_INSTANCE_CONNECT", "network_border_group": "eu-north-1" },
Hope this helps
answered a year ago
Relevant content
- asked a year ago
- Accepted Answerasked 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago