From 10323a018f73f91370e9aa611e2825eb3ba1bd12 Mon Sep 17 00:00:00 2001 From: Daniel Olshansky Date: Sat, 30 May 2015 19:20:08 -0700 Subject: [PATCH 1/2] Add debugging section to README The purpose of the debugging section is to create centralized location where anyone can contribute workarounds around issues they were having while going through the tutorial. The first subsection in the debussion section is "Access Denied". This is a result of IAM misconfiguration when the access keys being used to do not administrator access. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 0f93195..bf65aa2 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,20 @@ bucket name and file for you. All you need to do is run the code: The S3 documentation has a good overview of the [restrictions for bucket names](http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html) for when you start making your own buckets. +## Debugging + +### Access Denied +If you are seeing an __Access Denied__ error when the sample script tries to crete a new bucket, +it is most likely because their is an issue with your AWS IAM (Idenity and Access Management). +Follow the steps below to work resolve this issue: +1. Visit your [AWS IAM Console](https://console.aws.amazon.com/iam/home) +2. Select "Users" on the right hand side and follow the instructions to create a new user + + Retrieve the access keys for this user and put them under ~/.aws/console +3. Select "Groups" on the right and side and follow the instructions to crete a new group + + Make sure it has the __AdministratorAccess__ policy added + + Add the user you created in step 2 to the group you create in step 3 +4. Try re-running the script + ## License This sample application is distributed under the From 45de0d105e97d090d4232bfba528c0235985c62a Mon Sep 17 00:00:00 2001 From: Daniel Olshansky Date: Sat, 30 May 2015 19:23:29 -0700 Subject: [PATCH 2/2] Update README.md List fix. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bf65aa2..0c259f9 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ for when you start making your own buckets. If you are seeing an __Access Denied__ error when the sample script tries to crete a new bucket, it is most likely because their is an issue with your AWS IAM (Idenity and Access Management). Follow the steps below to work resolve this issue: + 1. Visit your [AWS IAM Console](https://console.aws.amazon.com/iam/home) 2. Select "Users" on the right hand side and follow the instructions to create a new user + Retrieve the access keys for this user and put them under ~/.aws/console