Skip to content

Commit 0af7816

Browse files
committed
Merge pull request #1485 from deis/add_load_balancer_instructions
docs(*): add load balancer info to EC2 and Rackspace
2 parents ee32ba7 + f48b5da commit 0af7816

3 files changed

Lines changed: 46 additions & 3 deletions

File tree

contrib/ec2/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ $ cd ../.. && make run
101101
```
102102
The script will deploy Deis and make sure the services start properly.
103103

104+
## Configure load balancer
105+
The Deis provisioning scripts for EC2 automatically create an Elastic Load Balancer for your Deis
106+
cluster. However, ELBs on EC2 have a default timeout of 60 seconds, which will disrupt a ``git push``
107+
when using Deis. You should manually [increase this timeout](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/config-idle-timeout.html)
108+
to 1200 seconds to match the timeout on the router and application unit files.
109+
104110
## Configure DNS
105111
While you can reference the controller and hosted applications with public hostnames provided by EC2, it is recommended for ease-of-use that
106112
you configure your own DNS records using a domain you own. See [Configuring DNS](http://docs.deis.io/en/latest/installing_deis/configure-dns/) for details.

contrib/rackspace/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,21 @@ The script will deploy Deis and make sure the services start properly.
7272
### Configure DNS
7373
You'll need to configure DNS records so you can access applications hosted on Deis. See [Configuring DNS](http://docs.deis.io/en/latest/installing_deis/configure-dns/) for details.
7474

75+
### Configure Load Balancer
76+
You'll need to create two load balancers on Rackspace to handle your cluster.
77+
78+
Load Balancer 1
79+
Port 80
80+
Protocol HTTP
81+
Health Monitoring -
82+
Monitor Type HTTP
83+
HTTP Path /health-check
84+
85+
Load Balancer 2
86+
Virtual IP Shared VIP on Another Load Balancer (select Load Balancer 1)
87+
Port 2222
88+
Protocol TCP
89+
7590
### Use Deis!
7691
After that, register with Deis!
7792
```console

docs/installing_deis/configure-load-balancers.rst

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,31 @@ port 80 on all nodes in the Deis cluster. The health check endpoint returns an H
2828
the load balancer to serve trafic to whichever hosts happen to be running the deis-router component
2929
at any moment.
3030

31-
.. note::
31+
EC2
32+
===
3233

33-
Elastic load balancers on EC2 have a default timeout of 60 seconds, which will disrupt
34-
a ``git push`` when using Deis. You should manually `increase this timeout`_ to 1200 seconds.
34+
The Deis provisioning scripts for EC2 automatically create an Elastic Load Balancer for your Deis
35+
cluster. However, ELBs on EC2 have a default timeout of 60 seconds, which will disrupt a ``git push``
36+
when using Deis. You should manually `increase this timeout`_ to 1200 seconds to match the timeout
37+
on the router and application unit files.
38+
39+
Rackspace
40+
=========
41+
42+
You'll need to create two load balancers on Rackspace, as follows:
43+
44+
.. code-block:: text
45+
46+
Load Balancer 1
47+
Port 80
48+
Protocol HTTP
49+
Health Monitoring -
50+
Monitor Type HTTP
51+
HTTP Path /health-check
52+
53+
Load Balancer 2
54+
Virtual IP Shared VIP on Another Load Balancer (select Load Balancer 1)
55+
Port 2222
56+
Protocol TCP
3557
3658
.. _`increase this timeout`: http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/config-idle-timeout.html

0 commit comments

Comments
 (0)