Home > Software engineering >  AWS RDS can't connect security group
AWS RDS can't connect security group

Time:10-08

This is question is related to an earlier one I asked, but more specific and hopefully easier to answer.

Essentially, I can't connect to my RDS instance. I tried in my SQL editor (datagrips) and also by pinging the server on the console. Comments on my previous question led me to believe that my problem has to do with the security group. Upon investigation, however, everything seems to be in order--my security group has an inbound rule that should allow all inbound access.

Security Group: enter image description here

Console Ping: enter image description here

What is going on here?

EDIT:

It was pointed out that all inbound access does not mean what I thought it did. However I also tried allowing inbound access for my specific IP with still no luck.

Here is the inbound rule for My IP:

enter image description here

EDIT 2:

Not sure what this means but it's not timing out on the EC2...

enter image description here

See comments for context?

CodePudding user response:

inbound rule that should allow all inbound access

It does not. It only allows inbound traffic from SG with id of sg-ea3.... This means that you can't connect to it from home, work etc. To allow all inbound access the source should be 0.0.0.0/0, but it would be better to have your exact home/work ip address <your-ip-address>/32.

  • Related