NOTE: This will cost you money. This is an advanced method for developers only. Most vendors will use the built in product storage and delivery in DPD that does not charge you for space or bandwidth and is included in your plan.
This guide assumes you have already created your Amazon Web Services (AWS) account. If you have not already created your account, please go to the AWS homepage and sign up now.
Note: You are responsible for all charges associated with delivering the file from S3. Please review Amazon's S3 pricing page for a current list of fees.
We recommend setting up an AWS billing alert to monitor your S3 usage.
Create Your Bucket
- Login to your AWS S3 Console
- Click on the Actions button and then Create Bucket...
- Enter your bucket name. Do not use a dot (.) in the bucket name. Using a dot will cause a SSL warning when your customers attempt to download the file.
- Click on Create
Upload Your File
- Click on the bucket you wish to use
- Click on the Actions button and then Upload
- Click on Add Files and then choose the files to add
- Click on Set Details >. If you would like to use reduced redundancy storage, click on the Use Reduced Redundancy Storage checkbox
- Click on Set Permissions >
- Verify that the Make everything public checkbox is unchecked
- Click on Set Metadata >
- (Recommended) If you would like to force the file be downloaded instead of opened in browser, click on Add more metadata. For Key choose Content-Disposition and for Value choose attachment
- Click on Start Upload
Get Your File URL
- Click on the file you wish to use
- Click on the Properties button at the top right of the page
- Important: Verify that there is a lock icon next to the URL displayed next to the Link heading. Clicking on the link should generate an access denied error page. If you are able to access the file then you need to click on the Permissions heading and remove the permissions given to the Everyone user.
- Copy the URL given next to Link
Configure the Deliver File from S3 Purchase Action
Product -> Detail -> Add Purchase Action, paste in access key, secret key, and file url. Click Save.
If you do not already have an S3 access key and secret key, you will need to create a new IAM User which can be found in Amazon's Identity and Access Management Console. You can follow Amazon's instructions on how to do this from their documentation.