Cloud Zone is brought to you in partnership with:

I am the API Evangelist. Not in the sense that I’m evangelizing a single API to you--In the sense that APIs are important for everyone to be aware of. I’m paying attention to not just the technical, but the business and politics of the web API movement. I share my insights by blogging on the business of APIs at apievangelist.com, politics of APIs at apivoice.com and you can find more information about me at kinlane.com. Kin is a DZone MVB and is not an employee of DZone and has posted 72 posts at DZone. You can read more from them at their website. View Full User Profile

Making an Amazon S3 Bucket Public

03.28.2011
| 1471 views |
  • submit to reddit
Audrey Watters @audreywatters - I don’t know how to manage my bucket policies cc @kinlane
Kin Lane @kinlane - @audreywatters go to aws console -> find folder -> edit properties -> permissions -> edit bucket policy. I will email policy to you.

Paste this bucket policy with [bucket name] changed to your bucket name.

{
"Version": "2008-10-17",
"Id": "57eafc04-1a5c-479b-8106-01828c991cd3",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject*",
"Resource": "arn:aws:s3:::[bucket name]/*"
}
]
}

 

References
Published at DZone with permission of Kin Lane, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)