AWS 中断重新路由

发布于 2025-01-16 20:24:48 字数 311 浏览 2 评论 0原文

对于我在 AWS 中遇到的问题,我陷入了可能的实施困境。

我有多个网站,这些网站在 us-east-1 中使用 CloudFront 通过 S3 托管。如果该区域出现中断,我想将流量从这些 UI 重新路由到另一个区域中使用 CloudFront 托管的 S3 网站(只是一个基本错误页面,来自 us-east-1 的所有 UI 都需要重新路由到相同的新区域中的一个错误页面)。

经过研究后,我看到了很多有关 Route 53 DNS 故障转移处理的文档。但是,我们不使用 Route 53 进行流量路由,因此我认为这些解决方案不适用于此特定问题。有人对可能的解决方案有任何建议吗?

I am stuck on a possible implementation for a problem I am facing in AWS.

I have multiple websites that are hosted with S3 using CloudFront in us-east-1. If there is an outage in that region, I want to reroute traffic from those UIs to a website hosted with S3 using CloudFront in another region (just a basic error page, all UIs from us-east-1 need to be rerouted to the same one error page in the new region).

After doing research, I am seeing a lot of documentation for Route 53 DNS Failover handling. However, we don't use Route 53 for traffic routing, so I don't think these solutions apply for this particular problem. Does anyone have any advice on possible solutions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

云淡风轻 2025-01-23 20:24:48

使用CloudFront 的源组功能,您可以对两个S3 端点进行分组,并配置CloudFront 何时应故障转移到辅助源的标准(例如,500-504 错误)。创建缓存行为时,您将使用源组作为源。详细信息:通过 CloudFront 源故障转移优化高可用性

Using CloudFront's Origin Groups feature, you can group the two S3 endpoints and configure the criteria for when CloudFront should failover to the secondary origin (e.g., 500-504 error). When you create your cache behavior, you'll use the Origin Group as your origin. Details: Optimizing high availability with CloudFront origin failover

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文