You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Before you get started, read about Deis core [concepts](http://docs.deis.io/en/l
38
38
* What is a [Formation](http://docs.deis.io/en/latest/gettingstarted/concepts/#formations) and how does it relate to an application?
39
39
* What are [Layers and Nodes](http://docs.deis.io/en/latest/gettingstarted/concepts/#layers), and how do they work with Chef?
40
40
* How does the [Build, Release, Run](http://docs.deis.io/en/latest/gettingstarted/concepts/#build-release-run) process work?
41
-
* How do I connect a Formation to [backing services](http://docs.deis.io/en/latest/gettingstarted/concepts/#backing-services)?
41
+
* How do I connect an application to [backing services](http://docs.deis.io/en/latest/gettingstarted/concepts/#backing-services)?
42
42
43
43
Follow the steps below to install your own Deis platform on EC2. To complete the installation process, you will need [Git](http://git-scm.com), [RubyGems](http://rubygems.org/pages/download), [Pip](http://www.pip-installer.org/en/latest/installing.html), the [Amazon EC2 API Tools](http://aws.amazon.com/developertools/351), [EC2 Credentials](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SettingUp_CommandLine.html#set_aws_credentials_linux) and a Chef Server with a working [Knife](http://docs.opscode.com/knife.html) client.
Cloning the default master branch will provide you with the latest development version
55
-
of Deis. If you want to deploy the latest stable release, make sure you checkout the
56
-
most recent tag using ``git checkout vX.Y.Z``.
54
+
Cloning the default master branch will provide you with the latest development version of Deis. If you want to deploy the latest stable release, make sure you checkout the most recent tag using ``git checkout vX.Y.Z``.
Use the Deis client to create a new formation named "dev" that
102
101
has a default layer that serves as both runtime (hosts containers)
103
102
and proxy (routes traffic to containers). Scale the default layer
104
-
up to two nodes.
103
+
up to one node.
105
104
106
105
```bash
107
-
$ deis formations:create dev --flavor=ec2-us-west-2
106
+
$ deis formations:create dev --flavor=ec2-us-west-2 --domain=deisapp.com
108
107
Creating formation... done, created dev
109
-
110
108
Creating runtime layer... donein 1s
111
109
112
110
Use `deis nodes:scale dev runtime=1` to scale a basic formation
113
111
114
-
$ deis nodes:scale dev runtime=2
112
+
$ deis nodes:scale dev runtime=1
115
113
Scaling nodes... but first, coffee!
116
114
...done in 251s
117
115
@@ -123,18 +121,20 @@ Use `deis create --formation=dev` to create an application
123
121
Change into your application directory and use ``deis create --formation=dev``
124
122
to create a new application attached to the dev formation.
125
123
126
-
To deploy the application, use `git push deis master`.
127
-
Deis will automatically deploy Docker containers
128
-
and configure Nginx proxies to route requests to your application.
124
+
To deploy the application, use `git push deis master`. Deis will automatically deploy Docker containers and configure Nginx proxies to route requests to your application.
129
125
130
-
Once your application is deployed, you use ``deis scale web=4`` to
126
+
Once your application is deployed, use ``deis scale web=4`` to
131
127
scale up web containers. You can also use ``deis logs`` to view
132
-
aggregated application logs, or ``deis run`` to run one-off admin
128
+
aggregated application logs, or ``deis run`` to run admin
133
129
commands inside your application.
134
130
135
131
To learn more, use `deis help` or browse [the documentation](http://docs.deis.io).
136
132
137
133
```bash
134
+
$ deis create --formation=dev
135
+
Creating application... done, created peachy-waxworks
Copy file name to clipboardExpand all lines: docs/gettingstarted/installation.rst
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
:title: Installation
2
-
:description: Install your own Deis platform on EC2. Configure the Chef server, provision a Deis controller, install the Deis Client and create & scale a formation.
2
+
:description: Install your own Deis platform on EC2. Provision a Deis controller, Install the Deis Client, Create & Scale a Formation, Deploy & Scale an Application.
3
3
4
4
.. _installation:
5
5
@@ -89,6 +89,7 @@ Registration will discover SSH keys automatically and use the
89
89
$ deis register http://my-deis-controller.fqdn
90
90
username: myuser
91
91
password:
92
+
password (confirm):
92
93
email: myuser@example.com
93
94
Registered myuser
94
95
Logged in as myuser
@@ -109,13 +110,12 @@ Registration will discover SSH keys automatically and use the
109
110
Use the Deis client to create a new formation named "dev" that
110
111
has a default layer that serves as both runtime (hosts containers)
111
112
and proxy (routes traffic to containers). Scale the default layer
112
-
up to two nodes.
113
+
up to one node.
113
114
114
115
.. code-block:: console
115
116
116
117
$ deis formations:create dev --flavor=ec2-us-west-2
117
118
Creating formation... done, created dev
118
-
119
119
Creating runtime layer... done in 1s
120
120
121
121
Use `deis nodes:scale dev runtime=1` to scale a basic formation
@@ -138,9 +138,9 @@ To deploy the application, use ``git push deis master``.
138
138
Deis will automatically deploy Docker containers and configure Nginx proxies
139
139
to route requests to your application.
140
140
141
-
Once your application is deployed, you use ``deis scale web=4`` to
141
+
Once your application is deployed, use ``deis scale web=4`` to
142
142
scale up web containers. You can also use ``deis logs`` to view
143
-
aggregated application logs, or ``deis run`` to run one-off admin
143
+
aggregated application logs, or ``deis run`` to run admin
144
144
commands inside your application.
145
145
146
146
To learn more, use ``deis help`` or browse `the documentation`_.
@@ -150,6 +150,7 @@ To learn more, use ``deis help`` or browse `the documentation`_.
150
150
$ deis create --formation=dev
151
151
Creating application... done, created peachy-waxworks
152
152
Git remote deis added
153
+
153
154
$ git push deis master
154
155
Counting objects: 146, done.
155
156
Delta compression using up to 8 threads.
@@ -169,9 +170,9 @@ To learn more, use ``deis help`` or browse `the documentation`_.
0 commit comments