Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

135
Views
AWS CloudFront failover to backup bucket

I setup this website (www.s3post.cf) which uses a Node.js server to get this json file from CloudFront and display its content on the site.

The Cloudfront distribution uses this US EAST (N. Virginia) bucket (cloudfront.s3post.cf) as the origin. I will be creating a new bucket in US WEST (N. California) and enable cross-replication between the two buckets.

What I want to do is, when the US EAST bucket becomes unavailable, I need CloudFront to point to the backup bucket in US WEST. So basically an origin failover. How would I go about doing this?

I realize that I can code my application to failover to the backup bucket when the file becomes unavailable, but is there a way to get CloudFront to use another origin instead?

Also, is there a better way of doing this than what I have in mind with minimal downtime? I was able to use Route 53 for failover previously, but that was for a website being hosted statically on S3 without a backend server like in the current scenario.

P.S. - This is a test website that I setup to test failover scenarios.

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!