AWS S3 Integration

AWS S3 Configuration

  1. Log in the Amazon S3 management console:
    https://s3.console.aws.amazon.com/s3/home

  2. Create bucket.

  1. Edit access policy.

3.1 Access policy.

{ "Version": "2012-10-17", "Id": "S3PolicyId1", "Statement": [ { "Sid": "statement1", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::puteyun.cc-dev/*" } ] }

Note: Only need to modify the Resource node.

 

3.2 Edit CORS.

[ { "AllowedHeaders": [ "*" ], "AllowedMethods": [ "PUT", "POST", "DELETE", "GET", "HEAD" ], "AllowedOrigins": [ "*" ], "ExposeHeaders": [] } ]

 

  1. Configure authorization key.

4.1 Enter the IAM management console: https://us-east-1.console.aws.amazon.com/iamv2/home?region=us-west-1#/home

 

4.2 Add users.

4.3 Select S3 management permissions.

4.4 Generate key.

Configure AWS S3 integration

Log in to the system administrator portal, click "Advance"-> "Connector Hub Setting"-> "File Server" and then select the type with “AwsS3” to enter the AwsS3 settings page.

Enter the previously created bucket’s name, Region, Access Key, and Secret Key in the corresponding configuration:

a. Bucket: Configured bucket name.

b. Region:

c. Access Key: The key generated in step 4.4-Generate key.

d. Secret Key: The key generated in step 4.4-Generate key.