【问题标题】:CloudFront 504 error: LB security group inbound restrictred only to CloudFront security groupsCloudFront 504 错误:LB 安全组入站仅限于 CloudFront 安全组
【发布时间】:2022-01-15 12:02:42
【问题描述】:

我已按照此链接设置 CloudFront SG:https://github.com/aws-samples/aws-cloudfront-samples/tree/master/update_security_groups_lambda。 之后编辑 LB SG 以仅从创建的 CloudFront SG 接收入站流量。 现在,它给出了 504 错误。 CloudFront 上增加的响应超时设置未修复错误。 有什么想法吗?

【问题讨论】:

  • 您的负载均衡器给出 504?
  • 不,错误来自 CloudFront。我认为 CloudFront 无法到达原点。

标签: amazon-web-services load-balancing amazon-cloudfront


【解决方案1】:

在将这些 SG 直接附加到 LB 时允许,而不是将它们作为 SG 规则嵌套在一个 SG 中。

【讨论】:

  • 正如目前所写,您的答案尚不清楚。请edit 添加其他详细信息,以帮助其他人了解这如何解决所提出的问题。你可以找到更多关于如何写好答案的信息in the help center
猜你喜欢
  • 2014-04-06
  • 2018-05-09
  • 1970-01-01
  • 2017-12-26
  • 2016-12-04
  • 1970-01-01
  • 2021-03-16
  • 2016-07-15
  • 2014-09-08
相关资源
最近更新 更多