I opened the port on the firewall with the command: sudo ufw allow 5432
I followed the directions I googled by editing /opt/bitnami/postgresql/data/postgresql.conf and changing the line:
listen_addresses = '*'
I then edited pg_hba.conf and added host all all 72.94.186.65/32 md5 . 72.94.186.65 is my ip.
I then restarted postgresql.
When I try to connect to my database using Induction for OS X, I get the error: "Could not connect to server: Operation timed out Is the server running on host "ec2-107-21-75-188.compute-1.amazonaws.com" (107.21.75.188) and accepting TCP/IP connections on port 5432?"