Pancake lets you use S3 to store all of your uploads, instead of (or in addition to) a local uploads folder. If you use both the uploads folder and S3, Pancake will keep them in sync, essentially automatically creating an off-site backup of all your upload data.
You can find the settings for this in Settings > General:
By default, your AWS S3 Credentials will have complete access to everything in your S3, so you won't have to do anything. However, if you want to lock things down and use a custom policy for your IAM identity, below is an example of an S3 policy that you can use to make sure Pancake works without problems (replace pancake
with the name of your bucket).
If you have any problems setting up S3 in your Pancake, let us know by starting a free support ticket.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1470045691001",
"Action": [
"s3:GetBucketLocation",
"s3:ListAllMyBuckets"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::*"
]
},
{
"Sid": "Stmt1470045691002",
"Action": [
"s3:GetBucketLocation",
"s3:ListBucket"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::pancake"
]
},
{
"Sid": "Stmt1470045691003",
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::pancake/*"
]
}
]
}