Connection Time Out when connecting to AWS Server EC2 Instance

Did you ever had a hard time figuring out why you cannot connect to your EC2 Instance? And the response you are getting is “Connection Time Out”.

Well, it happened to me. It has been a long time since I connected to that server and I was thinking I must have the wrong username and password but that wasn’t the case.

It only needs a simple fix.

1. Go to your EC2 Instance and check your Security Group
2. Go to your Security Group
3. Check the Inbound tab
4. Check if your IP is in the list and if it’s not, that’s most likely the problem why you are not able to connect to your server.

Just add a rule. Select SSH and add your IP address/32 then SAVE.

You should be able to connect to your server.