AWS 中断重新路由
对于我在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用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