AWS S3
This takes about 10 minutes to set up end-to-end.
This guide explains how to connect AWS S3 to use the Weekerp API.
It covers the full process of issuing credentials and registering them in Weekerp.
Required information for connecting
To allow Weekerp to access your images, you need to provide the following:
Access Key ID
Secret Access Key
Bucket name
Getting credentials
If you’re not familiar with AWS, we recommend creating a dedicated IAM user so Weekerp can access your images.
Open the Amazon IAM (Identity and Access Management) console.
Go to Users ⟶ Create user.
Make sure to enable Programmatic access.
In the Permissions step, select Attach existing policies directly.
Search for and select the AmazonS3ReadOnlyAccess policy.
After completing the steps, you’ll receive an Access Key and Secret Access Key.
Then log in to Weekerp.
Go to Sources ⟶ Add Source ⟶ Amazon S3.
Enter the credentials you obtained above.
Below is the same guide shown in images.
1. In the AWS Management Console, search for IAM

2. In the left navigation, click Users, then click Create user
Click Users in the left navigation
Click Create user (bottom-right)

3. Enter a user name and click Next
Enter
weekerp-cdn-readerClick Next

4. Attach a policy
Search for AmazonS3ReadOnlyAccess
Select it from the results
Click Next

If you prefer attaching a custom policy directly, you’ll need permissions like the following:
5. Verify the creation result
Confirm the created user
Click View user

6. On the user details page, open the Security credentials tab

ㅡ
7. Scroll down and click Create access key
Scroll down
Click Create access key

8. Add a description and create the key
Enter a Description tag value
Click Create access key

9. Confirm the result and download the CSV file
Verify the keys
(Recommended) Download the CSV file

10. Make sure you have the following ready:
Bucket Region (Step #1)
Access Key ID (Step #9)
Secret Access Key (Step #9)
Bucket Name (Step #4)
11. In Weekerp, click Add Source (top-right)
Click the Source tab
Click Add Source

12. Select Amazon S3

13. Enter credential information
Select Region
Enter Access Key ID
Enter Secret Access Key
Enter Bucket Name

If your files are stored like below, you can set BasePath to / or /assets.
/dog.jpg
/assets/cat.png
Request example
cdn.weekerp.com/image/{alias}/dog.jpg
Origin request
With BasePath set: https://static.example.com/
assets/dog.jpgWithout BasePath: https://static.example.com/dog.jpg
For more details, please refer to BasePath.
14. Enter the source alias
Enter the alias you want to use
Create the alias

15. Verify the created data source

Use it like this:
cdn.weekerp.com/image/weekerp-assets/dog.jpg
cdn.weekerp.com/image/weekerp-assets/dog.jpg?ai=Rotate the image to the right
cdn.weekerp.com/video/weekerp-assets/test-video.mp4
All settings are complete.
In general, it takes about 5–10 minutes to propagate the connection across all global environments.
Last updated