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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠