Skip to content

Commit f48b5da

Browse files
committed
docs(*): add load balancer info to EC2 and Rackspace
1 parent d3e7498 commit f48b5da

3 files changed

Lines changed: 33 additions & 5 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ You'll need to create two load balancers on Rackspace to handle your cluster.
8181
Health Monitoring -
8282
Monitor Type HTTP
8383
HTTP Path /health-check
84-
84+
8585
Load Balancer 2
8686
Virtual IP Shared VIP on Another Load Balancer (select Load Balancer 1)
8787
Port 2222
88-
Protocol TCP (this can probably be anything, but TCP worked for me)
88+
Protocol TCP
8989

9090
### Use Deis!
9191
After that, register with Deis!

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)