scripting / feedlandInstall

Instructions for setting up a FeedLand server.
GNU General Public License v3.0
3 stars 1 forks source link

Documenting AWS permissions #43

Open scripting opened 11 months ago

scripting commented 11 months ago

I want to write something for this repo about the S3 permissions that we use for buckets that serve personal feeds and likes. Also for static public info that the server itself generates.

This is a screen shot of the top of the Permissions page that I use for data.feedland.org.

We don't block public access, and confirm that the content is publicly accessible.

The bucket policy is:

{
    "Version": "2008-10-17",
    "Statement": [
        {
            "Sid": "PublicReadForGetBucketObjects",
            "Effect": "Allow",
            "Principal": {
                "AWS": "*"
            },
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::data.feedland.org/*"
        }
    ]
}

Skimming the rest of the permissions page, everything else is set as you would expect. Basically the public has read-only access to all the content in this bucket.