How do we serve images from multiple s3 buckets? #453
-
Cloudfront CDN is serving the first s3 bucket. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@slavoroi Thanks for your report. We will look at it this week and get back to you. |
Beta Was this translation helpful? Give feedback.
-
@slavoroi If you are sending Thumbor style requests or using custom requests (where the REWRITE_ Lambda environment variables are set), only the first bucket listed in the CloudFormation Source Buckets parameter will be used. This detail can be seen in the CloudFormation parameter description for the Source Buckets field (included below). This appears to be an omission in the Implementation Guide. We will create a backlog item to document this. We are sorry for any confusion that might be causing. If any additional clarification is needed let us know. Thanks for the report.
|
Beta Was this translation helpful? Give feedback.
-
There are 2 types of requests, Thumbor and Base64Encoded. The multiple bucket support is provided only for the Base64Encoded style requests.
The optionally deployed demo-ui shows an example of what this style of request looks like. More on Base64Encoded style requests can be found at https://docs.aws.amazon.com/solutions/latest/serverless-image-handler/solution-components.html If there are any other questions, please let us know. |
Beta Was this translation helpful? Give feedback.
@slavoroi If you are sending Thumbor style requests or using custom requests (where the REWRITE_ Lambda environment variables are set), only the first bucket listed in the CloudFormation Source Buckets parameter will be used. This detail can be seen in the CloudFormation parameter description for the Source Buckets field (included below).
This appears to be an omission in the Implementation Guide. We will create a backlog item to document this.
We are sorry for any confusion that might be causing.
If any additional clarification is needed let us know.
Thanks for the report.