diff options
author | Thomas Wiest <twiest@gmail.com> | 2014-10-28 11:24:44 -0400 |
---|---|---|
committer | Thomas Wiest <twiest@gmail.com> | 2014-10-28 11:24:44 -0400 |
commit | 5cb6943831dcc628c84614c3a1747dcbf2b754ae (patch) | |
tree | 7aa6f76e5dc6f09b2319fd0777a10b9c237c1bb4 /README_AWS.md | |
parent | b08cc0b87599bca63e8723de3fdcd2402e23c3fe (diff) | |
parent | 1e216d4d8b4610891bda9b55a83d08619837c6b6 (diff) | |
download | openshift-5cb6943831dcc628c84614c3a1747dcbf2b754ae.tar.gz openshift-5cb6943831dcc628c84614c3a1747dcbf2b754ae.tar.bz2 openshift-5cb6943831dcc628c84614c3a1747dcbf2b754ae.tar.xz openshift-5cb6943831dcc628c84614c3a1747dcbf2b754ae.zip |
Merge pull request #16 from twiest/pr
doc update
Diffstat (limited to 'README_AWS.md')
-rw-r--r-- | README_AWS.md | 40 |
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 +``` |