Skip to content

Commit 84e2388

Browse files
author
Matthew Fisher
committed
Merge pull request #853 from deis/ec2-keypair
docs(contrib/ec2): use ~/.ssh/deis instead
2 parents e5500d4 + ac0ae39 commit 84e2388

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

contrib/ec2/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ Default output format [None]:
1919
```
2020

2121
## Upload keys
22-
Upload a new keypair to AWS, ensuring that the name of the keypair is set to "deis".
22+
Generate and upload a new keypair to AWS, ensuring that the name of the keypair is set to "deis".
23+
```console
24+
$ ssh-keygen -q -t rsa -f ~/.ssh/deis -N '' -C deis
25+
```
2326

2427
## Customize cloudformation.json
2528
Edit [cloudformation.json][cf-params], ensuring to add a new discovery URL.
@@ -50,7 +53,7 @@ Please wait for all instances to come up as "running" before continuing.
5053
Once the cluster is up, get the hostname of any of the machines from EC2, set
5154
FLEETCTL_TUNNEL, and issue a `make run` from the project root:
5255
```console
53-
$ ssh-add ~/.ssh/id_rsa
56+
$ ssh-add ~/.ssh/deis
5457
$ export FLEETCTL_TUNNEL=ec2-12-345-678-90.us-west-1.compute.amazonaws.com
5558
$ cd ../.. && make run
5659
The authenticity of host '54.215.248.50:22' can't be established.

0 commit comments

Comments
 (0)