So, I am trying to ping. But timeout attempts.
Ping will not work because the security group blocks all messages by default. You will need to βpush holesβ in the security group's firewall to receive traffic to your instance.
SSH TCP 22 72.xxx.xxx.xxx/32 And still not working.
Yeah. RDS does not allow you to log in through SSH. Only the MySQL port (3306) is open.
I want to migrate my local mysql database to Amazon RDS.
Good, but be careful. DO NOT open 3306 for the entire Internet (i.e. 0.0.0.0). MySQL was not designed for this and often has flaws when someone can infiltrate your database.
You can open 3306 only for your (home) IP address (or the server from which you will use it.) It should look like "5.5.5.5/32 TCP port 3306". But be careful that this is not a big security, because other people can see your packages. (MySQL supports encrypted connections, but you must establish them explicitly.)
You can check your setup with telnet my.mysql.ip.address 3306 . If the message is not received, the port will not be opened. If you connect to .. then your MySQL port will work.
The safest way to use RDS is with an instance of EC2. You can create trust between the EC2 instance and the RDS security group. Your packages will not travel over the Internet, but only on the AWS network. Other people will not be able to see your packages because nothing allows in EC2.
BraveNewCurrency
source share