Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

136
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda