kroe761
kroe761

Reputation: 3534

Cannot access AWS MySQL instance from any computer other than my own (including Cloud9)

I spun up a mysql RDS instance in AWS the other day and am able to connect to it from my computer via powershell. However, when i am on another computer, including a virtual terminal in the cloud9 IDE, I cannot get into the mysql database. I am VERY new to AWS, so i don't know where to go next. Thanks!

Upvotes: 0

Views: 266

Answers (1)

Naguib Ihab
Naguib Ihab

Reputation: 4496

You wrote that you're able to connect from your own computer but you can't when you're on another computer, so it's probably the inbound rules on the security group you have on that RDS, by default when you're creating a free-tier RDS, your ip address is captured and stored in the security group.

So what you need to do is to navigate to that RDS instance, click on the security group attached to it, modify the inbound rules and either make it publicly available 0.0.0.0/0 which is unsecrue and unrecommended but works if you're just exploring AWS, or you'd add in the ip address of the computer you're trying to access it from.

Upvotes: 1

Related Questions