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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ