Bucket Public Access

0

Hi, I am totally new to this and really am not sure where I'm going wrong. My AWS needs are basic. I am creating buckets only for storage, nothing else. My issue is this. I have created a bucket that needs to be public. I followed the instructions and turned off the 'block all public access' and saved everything. I also addeed CORS settings as set by my developers and again saved everything. Now when I look at the bucket list I see that under 'Access' it says - Objects can be public. When I click on it , it says 'This bucket isn't public, but anyone with the appropriate permissions can grant public access to its objects.' How do I make this bucket fully public? Thanks for any help. regards, Sean

Sean
asked 8 months ago258 views
2 Answers
0
Accepted Answer

For secure access with internal and external users, check Nirvashare https://aws.amazon.com/marketplace/pp/prodview-hcqszucfxsvye

answered 8 months ago
0

Hi,

There are several ways to make buckets public: using ACL or Policy.

The next step is to modify the bucket policy to allow public access. You can do this by adding a new statement to the policy that grants the “s3:GetObject” permission to everyone. Here’s an example of what the policy should look like:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "PublicReadGetObject",
            "Effect": "Allow",
            "Principal": "*",
            "Action": [
                "s3:GetObject"
            ],
            "Resource": [
                "arn:aws:s3:::bucket-name/*"
            ]
        }
    ]
}

In the above example, we’re granting the “s3:GetObject” permission to everyone by setting the “Principal” field to “*”. We’re also specifying that this policy applies to all objects within the bucket by using the wildcard character () in the “Resource” field.

profile picture
EXPERT
answered 8 months ago
profile pictureAWS
EXPERT
reviewed 8 months ago
  • Hi, that course doesn't exist anymore. Thanks anyway.

  • Hmm, the link to it is on the AWS site. Sorry.

  • Ok, I see. It's outdated.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions