Backup to S3

We strongly recommend our clients to back their data up to S3. S3 storage is a cheap and safeway to store copies of files you have at Uploadcare.

The backup is fully managed on the Uploadcare side, you only have to enable it in settings. It can take up to 10 minutes for the new files to appear on s3 after the store request (they, however, available from our CDN right away). This feature is only available for the paid accounts.

Step 1

First you have to create a new bucket. It's a good idea to use a separate S3 bucket for every Uploadcare project you have, and never use these buckets for other things apart from Uploadcare backups.

To create a new bucket, just use the Amazon Management Console. Click on "Create Bucket" button and enter a new of your new bucket:

Create Bucket

Use US Standard as a region. Logging is not at all necessary for backup buckets.

Step 2

After you created a bucket, select the Permissions section in its settings. Click the Add bucket policy button, and add this policy there, replacing [bucket-name] with the bucket name.

{
  "Version": "2008-10-17",
  "Statement": [
    {
      "Sid": "AllowUploadcareAccess",
      "Effect": "Allow",
      "Principal": {
        "AWS": "arn:aws:iam::899746369614:user/bucket-consumer"
      },
      "Action": "s3:*",
      "Resource": ["arn:aws:s3:::[bucket-name]",
                   "arn:aws:s3:::[bucket-name]/*"
      ]
    }
  ]
}

Bucket Policy

Step 3

As soon as it's done, you can enable the Uploadcare S3 backup for any project in your dashboard:

Dashboard

In a few of minutes, you'll see the files in your S3 bucket.

If you haven't found what you were looking for in these docs, try looking in our Knowledge Base.