How to set bucket policies for Amazon AWS S3?

In Amazon AWS S3 Console > Select your bucket > hit Properties tab on right-hand side > Edit bucket policies button

Public bucket policy:

{
“Version”:”2008-10-17″,
“Statement”:[{
“Sid”:”MyAllowPublicRead”,
“Effect”:”Allow”,
“Principal”: {
“AWS”: “*”
},
“Action”:[“s3:GetObject”],
“Resource”:[“arn:aws:s3:::YOUR_BUCKET/*”
]
}
]
}

 

 

Advertisements

One response

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: