github.com/technosophos/deis@v1.7.1-0.20150915173815-f9005256004b/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:`platform_ssl`.
    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  AWS
    30  ===
    31  
    32  The Deis provisioning scripts for AWS automatically create an Elastic Load Balancer for your Deis
    33  cluster.
    34  
    35  Google Compute Engine
    36  =====================
    37  
    38  The provisioning instructions for `Google Compute Engine`_ include steps to create a load balancer.
    39  It is not possible to change the timeout of the load balancer in Google Compute Engine at the moment.
    40  
    41  .. _`Google Compute Engine`: https://github.com/deis/deis/tree/master/contrib/gce#readme