linkedin
  • Become a Seller

How to use a single CloudFront web distribution to serve content from multiple origins by configuring multiple cache behaviors?

Vishal . May 05, 2023

A:

To use a single CloudFront web distribution to serve content from multiple origins by configuring multiple cache behaviors, follow these steps:

  • From CloudFront console, go to web distribution.
  • Select the Origins tab and create 2 origins, one for S3 bucket and another for the load balancer.
  • Select the Behaviors tab and create a behavior.
  • Specify a path pattern so that all the static content requests are routed to S3 Bucket.
  • Edit the path pattern behavior in Default (*), setting its Origin as the load balancer.

Aug 10, 2023

Was this helpful? upvote icon 0 downvote icon 0
img

Did not find the question you are looking for?

Get fast answers from real users and our software experts

menlaptop

Have a Question in Mind?

Get answers directly from verified users and our software experts

Software icon representing 20,000+ Software Listed 20,000+ Software Listed

Price tag icon for best price guarantee Best Price Guaranteed

Expert consultation icon Free Expert Consultation

Happy customer icon representing 2 million+ customers 2M+ Happy Customers