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 and Bucket Settings
- Replace
YOUR-BUCKET
in below policy 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. This can cause broken public access assets such as Zoomable images and HLS video transcodes if they are expected to be public.
IMPORTANT - S3 Buckets & ACL Settings
Please note that if you are using different S3 buckets for Originals, Derivatives and Transcodes, all the buckets must be in the same region.
Please ensure the bucket used has
ACLs enabled in Object Ownership
andBlock all public access is OFF
.
{
"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": "Stmt1295042087539",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::103679559772:root"
},
"Action": "s3:DeleteObject",
"Resource": "arn:aws:s3:::YOUR-BUCKET/*"
},
{
"Sid": "Stmt1295042087540",
"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.