Amazon S3 Setup for Large Downloadable Products

Amazon S3 is storage for the Internet. It is designed to make web-scale computing easier for developers. Amazon S3 provides a simple web-services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, secure, fast, inexpensive infrastructure that Amazon uses to run its own global network of web sites. The service aims to maximize benefits of scale and to pass those benefits on to developers. Learn more here: Amazon S3’s Website

Steps For Integration

  1. Sign up for an account at the Amazon Web Services Site or login there.
  2. Go to the Amazon Web Services dashboard
  3. Setup your connection key and secret by clicking your name in the top right and from the drop down select My Security Credentials.
  4. Select Users from the left menu of the AWS Dashboard.
  5. Click Add User from the top left of the users panel.
  6. Setup User Details you can enter any user name here, but MUST check the Programmatic access box.
  7. Click Create Group in the middle of the screen. We want to setup a group so that the permissions of your key are as secure as possible and prevent unauthorized access within your AWS account.

  8. Setup Your Group by entering any group name and selecting ONLY the AmazonS3ReadOnlyAccess from the policy list. Click Create group once you have selected this option.
  9. Select your new group and click Next: Review
  10. Click Create user to complete the user setup.
  11. Click Show to see your secret access key
  12. Save your Access Key ID and Secret Access Key for Later
  13. Return to the main S3 management page by selecting this from the top left Services menu under storage
  14. Create a new bucket by clicking ‘create bucket’
  15. Enter a bucket name any name will work and click next
  16. Set Properties – nothing needed here unless you feel these properties will help you with your system (optional), click next in most cases.
  17. Set Permissions – The default permissions are correct. Important that the owner has Read/Write and your public permissions are set to ‘Do not grant public read access to this bucket (Recommended)’ and system properties to ‘Do not grant Amazon S3 Log Delivery group write access to this bucket’. Keep in mind although we have NO public access, the security we setup previously will allow the cart to access and provide the file to users that purchase your download.
  18. Create Bucket – Click create bucket to finish setup.
  19. Return to the WP EasyCart Settings and add your Key, Secret, Bucket, and Bucket Region to your system settings. This is found in the WP EasyCart -> Settings -> Third Party.

That’s it! You can now upload your downloadable goods to your new bucket. Read below for more info on adding/uploading files.

Adding/Uploading a File

  1. Navigate to your bucket by clicking the bucket name in the list of buckets. If you just created the bucket then you are already there.
  2. Click the Upload button (do not create a folder for WP EasyCart files, this may cause issues on the product setup side in EasyCart).
  3. Click Add Files and select the files you wish to upload. Once you add those files, just click next.
  4. Set Permissions – You do not need to do anything here, the default settings are correct! The Owner should have read/write permissions and public permissions are set to ‘Do not grant public read access to this object(s) (Recommended)’. This is important so that the public does not access your files without first purchasing. EasyCart uses your security credentials to provide access to the appropriate files after purchase.
  5. Set Properties – This is up to you, but standard and none should be fine and click next to continue.
  6. Review – Click upload if you are happy with the settings.

That’s it! Now your uploads will be available for you to choose in the product setup. Read more below to see how to make the connection.

Setting Up a Downloadable Product

You can create or edit any product and navigate to the ‘Download Options’ section. In this section, choose Download Product, Download Location is Amazon S3, and you can choose any file from the S3 File box that is in the bucket you have setup. If your setup is wrong, it will have an error in this area and you will need to correct the setup to fix this issue.

You can get information about setting up a downloadable product by visiting here and reading about downloadable products in the administration console.

© Copyright - WP EasyCart - Proudly Developed & Supported by the L4 team in the USA