summaryrefslogtreecommitdiffstats
path: root/README_AWS.md
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2014-10-28 11:03:14 -0400
committerThomas Wiest <twiest@redhat.com>2014-10-28 11:09:22 -0400
commit1e216d4d8b4610891bda9b55a83d08619837c6b6 (patch)
tree7aa6f76e5dc6f09b2319fd0777a10b9c237c1bb4 /README_AWS.md
parentb08cc0b87599bca63e8723de3fdcd2402e23c3fe (diff)
downloadopenshift-1e216d4d8b4610891bda9b55a83d08619837c6b6.tar.gz
openshift-1e216d4d8b4610891bda9b55a83d08619837c6b6.tar.bz2
openshift-1e216d4d8b4610891bda9b55a83d08619837c6b6.tar.xz
openshift-1e216d4d8b4610891bda9b55a83d08619837c6b6.zip
doc update
Diffstat (limited to 'README_AWS.md')
-rw-r--r--README_AWS.md40
1 files changed, 40 insertions, 0 deletions
diff --git a/README_AWS.md b/README_AWS.md
new file mode 100644
index 000000000..2602f9883
--- /dev/null
+++ b/README_AWS.md
@@ -0,0 +1,40 @@
+
+AWS Setup Instructions
+======================
+
+Get AWS API credentials
+-----------------------
+1. [AWS credentials documentation](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html)
+
+
+Create a credentials file
+-------------------------
+1. Create a credentials file (eg ~/.aws_creds) that looks something like this (variables must have have these exact names).
+```
+ export AWS_ACCESS_KEY_ID='AKIASTUFF'
+ export AWS_SECRET_ACCESS_KEY='STUFF'
+```
+
+1. source this file
+```
+ source ~/.aws_creds
+```
+
+1. Note: You must source this file in each shell that you want to run cloud.rb
+
+
+Install Dependencies
+--------------------
+1. Ansible requires python-boto for aws operations:
+```
+ yum install -y ansible python-boto
+```
+
+
+Test The Setup
+--------------
+1. cd openshift-online-ansible
+1. Try to list all instances:
+```
+ ./cloud.rb aws list
+```