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 Answer
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
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions