github.com/rvaralda/deis@v1.4.1/docs/managing_deis/configure-load-balancers.rst (about) 1 :title: Configure Load Balancers 2 :description: Configure load balancers for your Deis Cluster 3 4 .. _configure-load-balancers: 5 6 Configure Load Balancers 7 ------------------------ 8 9 .. image:: DeisLoadBalancerDiagram.png 10 :alt: Deis Load Balancer Diagram 11 12 Deis includes multiple routers scheduled to the cluster as part of the router mesh. 13 In the event of a host failure, these routers can move hosts. 14 Therefore, it is recommended that you configure a load balancer 15 to operate in front of the Deis cluster to serve application traffic. 16 17 These ports need to be open on the load balancers: 18 19 * 80 (for application traffic and for API calls to the controller) 20 * 2222 (for traffic to the builder) 21 22 If you want to configure SSL termination on your load balancer, see :ref:`ssl-endpoints`. 23 24 A health check should be configured on the load balancer to send an HTTP request to /health-check at 25 port 80 on all nodes in the Deis cluster. The health check endpoint returns an HTTP 200. This enables 26 the load balancer to serve traffic to whichever hosts happen to be running the deis-router component 27 at any moment. 28 29 EC2 30 === 31 32 The Deis provisioning scripts for EC2 automatically create an Elastic Load Balancer for your Deis 33 cluster. 34 35 Rackspace 36 ========= 37 38 You'll need to create two load balancers on Rackspace, as follows: 39 40 .. code-block:: text 41 42 Load Balancer 1 43 Port 80 44 Protocol HTTP 45 Health Monitoring - 46 Monitor Type HTTP 47 HTTP Path /health-check 48 49 Load Balancer 2 50 Virtual IP Shared VIP on Another Load Balancer (select Load Balancer 1) 51 Port 2222 52 Protocol TCP 53 54 Google Compute Engine 55 ===================== 56 57 The provisioning instructions for `Google Compute Engine`_ include steps to create a load balancer. 58 It is not possible to change the timeout of the load balancer in Google Compute Engine at the moment. 59 60 .. _`Google Compute Engine`: https://github.com/deis/deis/tree/master/contrib/gce#readme