To configure the Simple Cloud Files plugin, you will need an Amazon S3 Bucket.
You can use an existing bucket if you already have one, or follow these steps:
Log into your Amazon AWS Account, and navigate to the S3 Management Console.
From there, click on "Create Bucket", fill out the dialog, and click the "Next" button.
Once your bucket is created, you will need to allow the Simple Cloud Files addon
to communicate with your bucket. To do so, you need to edit the CORS Configuration of the bucket.
Select the bucket in the list, and click on the Permissions tab to show the bucket permissions.
In the permissions tab, click on the CORS Configuration button, which will bring up the
"CORS Configuration editor".
In the CORS Configuration editor, replace the existing configuration with this one:
<?xml version="1.0" encoding="UTF-8"?>
The contents of the dialog should look like this:
This accomplishes the following:
1) it allows our addon (which lives at https://*.tss.io) to communicate with your bucket
This is the pre-cursor to us being able to do anything with your bucket
2) it allows our addon to make GET / PUT / POST / HEAD / DELETE requests to your bucket
This is needed to retrieve files, upload new files, or delete files
3) it provides our addon with the ETag header in responses
This is needed for things like multi-part uploads of larger files
WHAT IS 'CORS' AND WHY DO I NEED IT?
'CORS' stands for Cross-Origin Resource Sharing.
For security reasons, browsers restrict requests coming from a different domain.
In this case, AWS keeps your bucket safe from others, and doesn't allow anyone (including us)
to communicate with your bucket from the browser. The above settings tell AWS that it's okay
for our addon to communicate with your bucket.