How do I get AWS_ACCESS_KEY_ID for Amazon?

I’m totally new to AWS. I downloaded some sample code from Amazon and I need to set a number of constants: AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY MERCHANT_ID MARKETPLACE_ID I just created an AWS account. I want some type of sandbox account so I can try out the code samples. What are the exact steps I have to take … Read more

AccessDenied for ListObjects for S3 bucket when permissions are s3:*

I am getting: An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied When I try to get folder from my S3 bucket. Using this command: aws s3 cp s3://bucket-name/data/all-data/ . –recursive The IAM permissions for the bucket look like this: { “Version”: “version_id”, “Statement”: [ { “Sid”: “some_id”, “Effect”: “Allow”, “Action”: [ “s3:*” … Read more

How to rename AWS S3 Bucket

After all the tough work of migration etc, I just realised that I need to serve the content using CNAME (e.g media.abc.com). The bucket name needs to start with media.abc.com/S3/amazon.com to ensure it works perfectly. I just realised that S3 doesn’t allow direct rename from the console. Is there any way to work around this? … Read more

S3 Bucket action doesn’t apply to any resources

I’m following the instructions from this answer to generate the follow S3 bucket policy: { “Id”: “Policy1495981680273”, “Version”: “2012-10-17”, “Statement”: [ { “Sid”: “Stmt1495981517155”, “Action”: [ “s3:GetObject” ], “Effect”: “Allow”, “Resource”: “arn:aws:s3:::surplace-audio”, “Principal”: “*” } ] } I get back the following error: Action does not apply to any resource(s) in statement What am I … Read more