Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
docs(applications): explain how to add user ssh key
Browse files Browse the repository at this point in the history
  • Loading branch information
rimusz committed Aug 1, 2016
1 parent d408817 commit 85d34d5
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/applications/using-buildpacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

Deis supports deploying applications via [Heroku Buildpacks][]. Buildpacks are useful if you're interested in following Heroku's best practices for building applications or if you are deploying an application that already runs on Heroku.

## Add SSH Key

For **Buildpack** based application deploys via `git push`, Deis Workflow identifies users via SSH keys. SSH keys are pushed to the platform and must be unique to each user.

- See [this document](../users/ssh-keys.md/#generate-an-ssh-key) for instructions on how to generate an SSH key.

- Run `deis keys:add` to upload your SSH key to Deis Workflow.

- ```
$ deis keys:add ~/.ssh/id_deis.pub
Uploading id_deis.pub to deis... done
```

Read more about adding/removing SSH Keys [here](../users/ssh-keys.md/#adding-and-removing-ssh-keys).

## Prepare an Application

If you do not have an existing application, you can clone an example application that demonstrates the Heroku Buildpack workflow.
Expand All @@ -12,7 +27,7 @@ If you do not have an existing application, you can clone an example application

## Create an Application

Use `deis create` to create an application on the [controller][].
Use `deis create` to create an application on the [Controller][].

$ deis create
Creating application... done, created skiing-keypunch
Expand Down
15 changes: 15 additions & 0 deletions src/applications/using-dockerfiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@
Deis supports deploying applications via Dockerfiles. A [Dockerfile][] automates the steps for crafting a [Docker Image][].
Dockerfiles are incredibly powerful but require some extra work to define your exact application runtime environment.

## Add SSH Key

For **Dockerfile** based application deploys via `git push`, Deis Workflow identifies users via SSH keys. SSH keys are pushed to the platform and must be unique to each user.

- See [this document](../users/ssh-keys.md/#generate-an-ssh-key) for instructions on how to generate an SSH key.

- Run `deis keys:add` to upload your SSH key to Deis Workflow.

- ```
$ deis keys:add ~/.ssh/id_deis.pub
Uploading id_deis.pub to deis... done
```

Read more about adding/removing SSH Keys [here](../users/ssh-keys.md/#adding-and-removing-ssh-keys).


## Prepare an Application

Expand Down

0 comments on commit 85d34d5

Please sign in to comment.