Cloud Storage for asset files
Amazon S3
You may use FileSpin's storage or alternately use your own AWS S3 storage for storing assets and conversions.
If you are using your own S3 storage, please add the policy shown below to all the S3 Buckets you use in your FileSpin Storage settings. This policy allows FileSpin to store assets and processed files into your bucket.
FileSpin.io S3 Bucket Policy
- Replace
YOUR-BUCKET
below with your actual bucket name while applying the policy. YOUR-BUCKET
must have ACLs enabled in Object Ownership settings to allow FileSpin to assign object ownership to bucket owner.YOUR-BUCKET
must haveBlock all public access
setting turned OFF. If this is not done,Make Public
API will fail to set public access.
{
"Id": "FileSpinBucketPolicy",
"Statement": [
{
"Sid": "Stmt1295042087538",
"Effect": "Allow",
"Principal": {
"AWS": ["arn:aws:iam::103679559772:root"]
},
"Action": [
"s3:GetObject",
"s3:PutObjectAcl",
"s3:ListMultipartUploadParts",
"s3:PutObject"
],
"Resource": "arn:aws:s3:::YOUR-BUCKET/*"
},
{
"Sid": "Stmt1295042087538",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::103679559772:root"
},
"Action": "s3:DeleteObject",
"Resource": "arn:aws:s3:::YOUR-BUCKET/*"
},
{
"Sid": "Stmt1295042087538",
"Effect": "Allow",
"Principal": {
"AWS": ["arn:aws:iam::103679559772:root"]
},
"Action": [
"s3:GetBucketAcl",
"s3:ListBucket",
"s3:ListBucketMultipartUploads",
"s3:GetBucketLocation"
],
"Resource": "arn:aws:s3:::YOUR-BUCKET"
}
]
}
FileSpin expects the assets stored within your bucket to remain unaltered by other applications in order to maintain data consistency. If any other application requires access to FileSpin assets within the FileSpin storage bucket, please use FileSpin API to provide access.