Backup files to S3 bucket

Uploadcare allows you to connect an AWS S3 bucket to your Uploadcare project for seamless file backup. Connect the storage once, and the system will do backups.

Note: Only one S3 bucket can be connected to one Uploadcare project.

AWS S3 bucket must be configured as described in the Setting up S3 Bucket.

Only file originals are backed up.

Setting up S3 bucket

You need an Amazon Web Services account with creating a new or selecting an existing bucket in S3 bucket management.

Select a storage settings in your Dashboard, go to “Copy uploads to S3 bucket” and click “Connect bucket” to connect your AWS S3 bucket to Uploadcare project.

  1. Enter your AWS S3 console and go to Buckets.
  2. Open an existing bucket or create a new one. Use DNS-compliant lowercase bucket names such as johnsbucket1.
  3. Set up access control according to your AWS bucket ACL settings. You can allow anyone to read objects from your s3 bucket by enabling the “Make copies public” rule.
  4. Go to the Permissions tab on your bucket’s properties pane and add the following settings to your Bucket Policy (where replace <bucket> with the name of your AWS S3 bucket):
    1{
    2"Version": "2008-10-17",
    3"Statement": [
    4 {
    5 "Sid": "AllowUploadcareAccess",
    6 "Effect": "Allow",
    7 "Principal": {
    8 "AWS": "arn:aws:iam::899746369614:user/bucket-consumer"
    9 },
    10 "Action": [
    11 "s3:GetBucketLocation",
    12 "s3:ListBucket",
    13 "s3:PutObject",
    14 "s3:GetObject",
    15 "s3:GetObjectVersion",
    16 "s3:DeleteObject",
    17 "s3:DeleteObjectVersion",
    18 "s3:GetBucketAcl"
    19 ],
    20 "Resource": [
    21 "arn:aws:s3:::<bucket>",
    22 "arn:aws:s3:::<bucket>/*"
    23 ]
    24 },
    25 ]
    26}
  5. Save your Bucket settings and Connect.
    Uploadcare will run tests to ensure it can connect and upload the files to the bucket. Once the bucket has been connected, you can remove these actions from your S3 Bucket Policy:
    s3:GetObject
    s3:GetObjectVersion
    s3:DeleteObject
    s3:DeleteObjectVersion

To disable backup S3 bucket, write to our support.