1 個回答
- 最新
- 最多得票
- 最多評論
0
Lambda@Edge (on origin request event) is your answer to route requests to different website variations on an s3 bucket. however, it's up to you how do you want to do the routing logic itself. For ex:
- If you want to have stickiness, then you should use Lambda@Edge also on viewer response event to set a cookie. forward this cookie in Cloudfront and use your Lambda@Edge router function to select the correct version.
- In the Lambda@Edeg router, you can make a network call to an external georgraphy replicated endpoint to to decide about the load balancing percentage. Replicated endpoints possibilities: dynamoDB global tables or Route 53 TXT records.
相關內容
- 已提問 6 個月前
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前