How to Connect to AWS RDS (MySQL) Instance from My Laptop?

0

Created the RDS instance and took the following steps.

Edited the security rule, as follows. Inbound Rules Made the RDS publicly accessible Dashboard However, even after these, my laptop (running Ubuntu 22.04) connected to the internet cannot connect to this instance from terminal. The error I get reads

ERROR 2003 (HY000): Can't connect to MySQL server on 'tensorflow-dump.c1ufsal2345guu.ap-southeast-1.rds.amazonaws.com:3306' (110)

So is there any other bottleneck that I should be aware of to enable this connection from my laptop? My separate Amazon EC2 (running Ubuntu) instance can connect to this RDS instance. Does it mean for non-AWS instances, it has to connect via specific static IP or do I have an easier option?

1 回答
0

Hi della,

I assume you already followed this troubleshooting guide (https://aws.amazon.com/premiumsupport/knowledge-center/rds-connectivity-instance-subnet-vpc/).

Apart from above you should:

Let me know if helped

profile picture
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则