title: How can I connect a docker container in AWS to a RDS
body: <p>How can I <code>--link</code> a docker container(odoo) running on a plain EC2 instance or via EB to a RDS in AWS? I tried loading a custom config file with the location of the server but that didn't work. In EB I created an app with a postgres DB, successfully deployed my <code>docker.aws.json</code> but I can not connect to web interface of the the application.</p>
  
  <p>When I check the docker logs of the container it says everything started fine but expects the DB on localhost.</p>
  
  <p>So like I said my question is how can I tell a docker container to <code>--link</code> to a RDS and not an other docker container à la <code>--link db:db</code>?</p>