2 Answers
- Newest
- Most votes
- Most comments
1
Hi, Instance connect is the right way to go to reconnect. Your situation most often happens on incorrect security group for access to your instance: you sec group MUST allow inbound ssh traffic (that's what Instance Connect uses). So you should have inbound trafic on port 22 allowed in the sec group of your instance.
It is all detailled here: https://repost.aws/knowledge-center/ec2-instance-connect-troubleshooting
Hope it helps! Didier
0
Did you try to check the Inbound and outbound rules? Maybe you can provide more information regarding the network?
Also, you can check this doc to set up to connect to your instance https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connection-prereqs.html
answered 10 months ago
Relevant content
- asked a year ago
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 years ago