I have been trying to do this simple thing of copying a file from my centos linux machine (outside AWS) to S3 bucket. I wanted it simple - have followed below steps -
1) Created S3 bucket
2) Created IAM user and assigned a policy to give full rights on above bucket only
3) Installed and configured s3cmd on centos machine as mentioned here - https://rbgeek.wordpress.com/2013/08/20/backup-to-amazon-s3-bucket-from-centos-6-4/
4) Kept configuration very simple - provided access and secret key with no encryption, no https
5) tried to put a file with below command s3cmd put test.txt s3://bucketname/
but it keeps on giving Access denied with debug says the reason is "forbidden"....
I have seen some other posts however all of them is lacking clear instruction on whether I should change my policy or s3cmd config. I would like to know if there is anyone aware what should be changed here.