Connect to a Private Amazon RDS MySQL Database from MySQL Workbench (through a Bastion Host)

MySQL Workbench has an in-built ability to connect to databases via an SSH tunnel. This feature can be used to connect to private RDS databases by establishing an SSH tunnel through the bastion host. To create a connection, enter values in the new connection wizard as shown below: