Forwarding AWS RDS instance to localhost
First, I’m assuming you’ve got both an EC2 instance and an RDS instance in the same VPC, as mentioned in my article on setting up a Rails application to deploy to Elastic Beanstalk. I’m also assuming you’ve created a .pemkey and downloaded it to connect to this EC2 instance configure an alias in ssh config to connect to the EC2 instance test the ssh config: ssh my_app add this alias