Configure S3 Bucket

After successfully creating a bucket, add these addtional features for your S3 bucket.

Step 1: Ensure that your Permissions -> Block Public Access settings look like this with all four options turned off.

Step 2: In the Permissions -> Cross-origin resource sharing (CORS) Configuration section, add the following CORS settings and click Save.

Copy paste these CORS settings to your bucket:

[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "POST",
            "PUT",
            "GET",
            "HEAD",
            "DELETE"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": [
            "ETag"
        ],
        "MaxAgeSeconds": 30000
    }
]

Step 3: Navigate to your newly created S3 Bucket, click on Permissions -> Object Ownership, and then click Edit.

Step 4: Select "ACLs enabled" and "Object writer," then click Save Changes.

Last updated