Skip to content

Commit 9d6a6d8

Browse files
committed
Merge pull request #2070 from mboersma/ec2-readme-update
docs(ec2): move "scale routers" section after platform installation
2 parents d1c5dc3 + fe25f72 commit 9d6a6d8

1 file changed

Lines changed: 19 additions & 9 deletions

File tree

contrib/ec2/README.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
```console
55
$ pip install awscli
66
Downloading/unpacking awscli
7-
Downloading awscli-1.3.6.tar.gz (173kB): 173kB downloaded
8-
...
7+
Downloading awscli-1.5.0.tar.gz (248kB): 248kB downloaded
8+
...
9+
Successfully installed awscli
910
```
1011

1112
## Configure aws-cli
@@ -36,15 +37,15 @@ For more information, see [optimal etcd cluster size](https://github.com/coreos/
3637

3738
Deis clusters of less than 3 nodes are unsupported.
3839

39-
## Choose number of routers
40-
By default, deisctl will provision 1 router. You can override this by scaling up:
41-
```console
42-
$ deisctl scale router=3
43-
```
44-
4540
## Customize user-data
41+
4642
Edit [user-data](../coreos/user-data) and add a new discovery URL.
47-
You can get a new one by sending a request to http://discovery.etcd.io/new.
43+
You can get a new one by sending a request to http://discovery.etcd.io/new, or automatically
44+
generate a fresh discovery URL with:
45+
46+
```console
47+
$ make discovery-url
48+
```
4849

4950
## Customize cloudformation.json
5051
Any of the parameter defaults defined in deis.template.json can be overridden
@@ -108,6 +109,9 @@ Your Deis cluster has successfully deployed.
108109
Please wait for all instances to come up as "running" before continuing.
109110
```
110111

112+
Check the AWS EC2 web control panel and wait until "Status Checks" for all instances have passed.
113+
This will take several minutes.
114+
111115
## Initialize the cluster
112116
Once the cluster is up, get the hostname of any of the machines from EC2, set
113117
DEISCTL_TUNNEL, and issue a `deisctl install`:
@@ -118,6 +122,12 @@ $ deisctl install platform && deisctl start platform
118122
```
119123
Deisctl will deploy Deis and make sure the services start properly.
120124

125+
## Choose number of routers
126+
By default, deisctl will provision 1 router. You can override this by scaling up:
127+
```console
128+
$ deisctl scale router=3
129+
```
130+
121131
## Configure load balancer
122132
The Deis provisioning scripts for EC2 automatically create an Elastic Load Balancer for your Deis
123133
cluster. However, ELBs on EC2 have a default timeout of 60 seconds, which will disrupt a ``git push``

0 commit comments

Comments
 (0)