Please follow the below steps to setup Amazon – S3 in XFilesPro.
Login to Amazon S3 – https://aws.amazon.com/s3/
If you have not registered, you can register using the Signup option.
After successful login, you will receive the below screen –
Click on S3 under Storage. You will receive the below screen –
Click on “Create Bucket” and enter Bucket Name, Region & Copy Settings from an existing bucket details as shown in the below screenshot –
Step 5: After entering Bucket Name and Region,click on Create button.This bucket creation is similar to a new folder creation on your computer. All your files will go into this bucket(folder).
After creating the bucket, click on the name of the bucket.
When the bucket details open up, click on Permissions tab.
Under Manage Public Permissions,click on Everyone.
Check all the boxes under Object Access & Permissions Access and click SAVE
You will receive the below screen –
Click on the “Add CORS Configuration” under Permissions.
You will see a set of codes under CORS configuration editor.
Change the parameters inside the Editor to the following and press SAVE and CLOSE:
<?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <AllowedMethod>POST</AllowedMethod> <AllowedMethod>PUT</AllowedMethod> <AllowedMethod>DELETE</AllowedMethod> <MaxAgeSeconds>3000</MaxAgeSeconds> <ExposeHeader>ETag</ExposeHeader> <AllowedHeader>*</AllowedHeader> </CORSRule> </CORSConfiguration>
After saving the code in CORS Configuration Editor, click on your profile name – My Security Credentials then click on Continue to Security Credentials button.
Expand the Access Keys (Access Key ID and Secret Access Key) option.
You will see the list of your active and deleted access keys.
- To generate new access keys, click the Create New Access Key button.
- After clicking the Create new access key button the screen will appear like the following.
- Click Show Access Key to have it displayed on the screen. Note, that you can download it to your machine as a file and open it whenever needed. To download it, just click the Download Key File button.
Attention! If you do not write down the key or download the key file to your computer before you press “Close” or “Cancel” you will not be able to retrieve the secret key in future. Then you’ll have to delete the keys which you created and start to create new keys.
Keep a note of this key details as it is required for setting up the XfilesPro app
Access Key ID
Secret Access Key
Please keep access key and secret key handy when you are configuring S3 as your external storage. Know more on how to configure S3 as your external storage with the help of this access key and secret key.