title: What is the best practice for figuring out in which AWS Beanstalk Environment my Node.js application is currently running?
body: <p>My Node.js Express application runs in AWS Beanstalk. I've created three Beanstalk Environments for my application, namely:</p>
  
  <ul>
  <li>DEV (Development)</li>
  <li>UAT (User Acceptance Testing)</li>
  <li>PROD (Production)</li>
  </ul>
  
  <p>Dependent upon the environment my application is running in I would like to connect to different databases and use different cascading style sheets.</p>
  
  <p><strong>What is the best practice for figuring out in which AWS Beanstalk Environment my Node.js application is currently running?</strong></p>
  
  <p>I get the impression I should be using Beanstalk Environment Tags, but I've not been able to figure out how to access them via my Node.js application.</p>