summaryrefslogtreecommitdiffstats
path: root/README_AWS.md
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2014-12-12 09:23:14 -0500
committerThomas Wiest <twiest@users.noreply.github.com>2014-12-12 09:23:14 -0500
commitffe702b2e85278d7a1625b9fae33695360aff3ed (patch)
treedff6a02b0883306ef42a7b1721298bc03962d710 /README_AWS.md
parent95ae631e6e5f2230a912d65d7add0178e7878079 (diff)
parentf929f3f94c7c89e40f9c8e2b85293f496101aebe (diff)
downloadopenshift-ffe702b2e85278d7a1625b9fae33695360aff3ed.tar.gz
openshift-ffe702b2e85278d7a1625b9fae33695360aff3ed.tar.bz2
openshift-ffe702b2e85278d7a1625b9fae33695360aff3ed.tar.xz
openshift-ffe702b2e85278d7a1625b9fae33695360aff3ed.zip
Merge pull request #32 from akram/master
Adding AWS support to openshift-ansible module
Diffstat (limited to 'README_AWS.md')
-rw-r--r--README_AWS.md16
1 files changed, 14 insertions, 2 deletions
diff --git a/README_AWS.md b/README_AWS.md
index 2602f9883..c0f2bce75 100644
--- a/README_AWS.md
+++ b/README_AWS.md
@@ -14,13 +14,25 @@ Create a credentials file
export AWS_ACCESS_KEY_ID='AKIASTUFF'
export AWS_SECRET_ACCESS_KEY='STUFF'
```
-
1. source this file
```
source ~/.aws_creds
```
+Note: You must source this file in each shell that you want to run cloud.rb
+
+
+(Optional) Setup your $HOME/.ssh/config file
+-------------------------------------------
+In case of a cluster creation, or any other case where you don't know the machine hostname in advance, you can use '.ssh/config'
+to setup a private key file to allow ansible to connect to the created hosts.
+
+To do so, add the the following entry to your $HOME/.ssh/config file and make it point to the private key file which allows you to login on AWS.
+'''
+Host *.compute-1.amazonaws.com
+ PrivateKey $HOME/.ssh/my_private_key.pem
+'''
-1. Note: You must source this file in each shell that you want to run cloud.rb
+Alternatively, you can configure your ssh-agent to hold the credentials to connect to your AWS instances.
Install Dependencies