Skip to content

Commit 54403a5

Browse files
author
Gabriel Monroy
committed
Merge pull request #865 from deis/fix-ec2-readme
docs(ec2): add CLI key import, explicit chdir
2 parents 5bdd79a + cbeca5a commit 54403a5

3 files changed

Lines changed: 7 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/deis
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"

contrib/ec2/cloudformation.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
{
33
"ParameterKey": "KeyPair",
44
"ParameterValue": "deis"
5+
},
6+
{
7+
"ParameterKey": "DiscoveryURL",
8+
"ParameterValue": "https://discovery.etcd.io/06f9b54a2ffe65f072109924604b4cd7"
59
}
610
]

contrib/rackspace/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Edit [user-data](../coreos/user-data) and add a discovery URL. This URL will be
3737
Run the [Rackspace provision script](provision-rackspace-cluster.sh) to spawn a new CoreOS cluster.
3838
You'll need to provide the name of the key pair you just added. Optionally, you can also specify a flavor name.
3939
```console
40+
$ cd contrib/rackspace
4041
$ ./provision-rackspace-cluster.sh
4142
Usage: provision-rackspace-cluster.sh <key pair name> [flavor]
4243
$ ./provision-rackspace-cluster.sh deis-key

0 commit comments

Comments
 (0)