Skip to content

Commit 1286afc

Browse files
author
Gabriel Monroy
committed
docs(ec2): add CLI key import, explicit chdir
1 parent 5bdd79a commit 1286afc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

contrib/ec2/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Default output format [None]:
2222
Generate and upload a new keypair to AWS, ensuring that the name of the keypair is set to "deis".
2323
```console
2424
$ ssh-keygen -q -t rsa -f ~/.ssh/deis -N '' -C deis
25+
$ aws ec2 import-key-pair --key-name deis --public-key-material file://~/.ssh/id_rsa.pub
2526
```
2627

2728
## Customize cloudformation.json
@@ -41,6 +42,7 @@ read more on how you can customize this cluster by looking at the
4142
## Run the provision script
4243
Run the [cloudformation provision script][pro-script] to spawn a new CoreOS cluster:
4344
```console
45+
$ cd contrib/ec2
4446
$ ./provision-ec2-cluster.sh
4547
{
4648
"StackId": "arn:aws:cloudformation:us-west-1:413516094235:stack/deis/9699ec20-c257-11e3-99eb-50fa01cd4496"

0 commit comments

Comments
 (0)