How do I Set Up an Amazon S3 Bucket?

1. Sign Up for an Amazon S3 Account

To use S3 buckets, you first need an Amazon S3 account. To sign up, go to the S3 Service Page, and click the "Get started with Amazon S3" button.

2. Locate Your Credentials

To locate credentials for your account:

  • Go to the AWS Management Console.
  • Hover over your company name in the right top menu and click "My Security Credentials".
  • Scroll to the "Access Keys" section.
  • Click on "Create New Access Key".
  • Take note of both the Access Key ID (YOUR_AMAZON_S3_KEY) and Secret Access Key (YOUR_AMAZON_S3_SECRET).

Important for security reasons, we recommend setting up an IAM user with limited permissions as documented in our /s3/store Robot documentation.

3. Create a Bucket

To create an S3 bucket, use the S3 Management Console online, or use a local client that supports the S3 API. We recommend any of the following:

Make sure to take note of the name of your Bucket Name (YOUR_AMAZON_S3_BUCKET) after you create it.

4. Use the Bucket with Transloadit Templates

Assuming you have signed up for Transloadit you can create a Template here.

The following is a simple Template for testing the connection to your S3 account.

{
  steps: {
    store: {
      robot : "/s3/store",
      bucket: "YOUR_AMAZON_S3_BUCKET",
      key   : "YOUR_AMAZON_S3_KEY",
      secret: "YOUR_AMAZON_S3_SECRET",
    }
  }
}

To see if it works, upload an image in the Template's "test" tab.

More

View more FAQs