title: Exposing various ports behind a load balancer on Rancher/AWS
body: <p>I am setting up a Rancher environment.</p>
  
  <p>The Rancher server is behind a classic ELB (since ALBs are not recommended per Rancher <a href="http://rancher.com/docs/rancher/v1.6/en/installing-rancher/installing-server/#running-rancher-server-behind-an-application-load-balancer-alb-in-aws" rel="nofollow noreferrer">guidelines</a>).</p>
  
  <p>I also want to make available Prometheus and Grafana services.</p>
  
  <p>These are offered via Rancher catalogue and will run as container services, being exposed on Rancher host ports 3000 and 9090.</p>
  
  <p>Since Rancher server (per their recommendations) <em>requires</em> ELB, I wanted to explore the options on how to make available the two services above using the most minimal possible setup.</p>
  
  <p>If the server is available on say <code>rancher.mydomain.com</code>, ideally I would like to have the other two on <code>grafana.mydomain.com</code> and <code>prometheus.mydomain.com</code>.</p>
  
  <p>Can I at least combine the later two behind an ALB?</p>
  
  <p>If so, how do I map them?</p>
  
  <p>Do I place <code>&lt;my_rancher_host_public_IP&gt;:3000</code> and <code>&lt;my_rancher_host_public_IP&gt;:9090</code> behind an ALB?</p>