cloudfront distribution with several origins

0

Hi, I have a CloudFront distribution that I want to links to 3 origins (buckets ) and be able to serve content from those buckets using 1 Alternate domain name. Is it possible? and how do I set it up?

mm-tech
質問済み 2年前416ビュー
1回答
1
承認された回答

Of course, it is possible.

You need to define 3 origins and then assign them to proper behaviours using regex to create path patterns.

It means for example

  • example.com/bucketA -> serve BucketA - pathPattern: /bucketA*
  • example.com/bucketB -> serve BucketB - pathPattern: /bucketB*
  • example.com -> serve BucketC - pathPattern: Default (*)
profile picture
MG
回答済み 2年前
  • I used the name of a folder in the root of each bucket in the path pattern and it worked. Thanks

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ