Connecting PSQL and Rails Console to Elastic Beanstalk Learn how to tunnel through your Bastion server to access your PostgreSQL database server using SSH in a Rails application, allowing you to create an Admin user or debug data issues securely. 21 May 2017