Connect to RDS using an SSH Tunnel

There’s two common ways one can connect to RDS:

  1. Write inbound rules to allow an IP to connect to RDS (IP Whitelist). However, IPs constantly change, so very quickly this will become a chore.
  2. Use an SSH Tunnel

This guide will help you set up an SSH Tunnel, and then use it to connect to your remote RDS instance through Sequel Pro, or the Terminal.

As always, please leave a comment if you have any issues with this guide, and I’ll do my best to help out.

Read the full story on medium.com