downloadable digital assets logo
Tutorials

How To Connect Your Own Amazon S3 Server

configure custom s3

Last updated on 25 September 2022

Digital Assets allows you to attach your own Amazon S3 server. Doing this allows you to have full control over your storage and bandwidth settings. This means that you will be in control of the pricing for those settings too, while our app is simply the control tool between your store and your server.

If you’re selling large digital files on Shopify, then this is one of the best routes to take.

These are advanced settings. Please only change these if you are familiar with AWS and S3.

Which plan do I need for this feature?

You will need the Scale plan or above.

Connecting your own S3 means that you control the storage and bandwidth costs via your Amazon account.

Step 1 – Go to the ‘Settings’ page

Once you are on the ‘Settings’ page, click on the button ‘Configure custom S3‘.

configure s3

Step 2 – Create a bucket

Go to AWS and create your bucket. Enter a bucket name and a region.

create a bucket aws

Step 3 – Configure bucket, copy & paste CORS

Go to Permissions tab > scroll down to CORS and click ‘Edit‘.

Copy the CORS config text from the Downloadable Digital Assets app and paste it into AWS.

copy cors

Paste the CORS config in the box below, then press ‘Save changes’:

image

Step 4 – Setup API access to the bucket & assign permissions

Add a user to generate your API keys.

add user

Assign the user permissions to manage the S3 bucket.

assign permissions

Step 5 – Copy & paste the API keys into the app

You will be given API keys:

copy api

Copy and paste the Key and the Secret from AWS to the Downloadable digital Assets app.

  • The ‘Access key ID’ goes into ‘S3 Key’
  • The ‘Secret access key’ goes into ‘S3 Secret’.
paste keys api aws

Step 6 – Copy & paste the bucket details

Find the bucket name and region in the URL (underlined in red below) then copy them into the app.

copy region

Paste them as instructed:

  • The bucket name (1) goes into ‘S3 Bucket’
  • The region (2) goes into ‘S3 Region’
enter region

Then press ‘Save’.

Step 7 – Test uploading

You should test uploading an asset by going to the ‘Assets’ page and then clicking ‘Upload new asset’.

If everything uploads without any warning or issues, then you have been successful. If you get any errors, please check over the steps again to make sure you have done everything correctly.

Ensure the file has been uploaded by checking in your S3 bucket.