title: Amazon AWS Elastic Beanstalk - connect to mongodb
body: <p>I have a node.js app running on aws elastic beanstalk with a load balancer.  Currently, I only have one instance running and it can connect to a mongo database instance because I have opened up a port using eb instance internal ip address.</p>
  
  <p>However, as I spin up more nodes on eb, they will have different/new internal ip addresses.  What is the best way to allow/open the ports for these new instances? </p>