繁体   English   中英

如何使用 aws 网络负载均衡器将流量发送到非 aws 端点

[英]How to use aws network loadbalancer to send trafic to a non aws endpoint

我想我有一个非常不寻常的要求。 我们想使用 AWS 网络负载均衡器将流量发送到 NONE AWS 环境中的 2 个端点。 因此端点不在 AWS VPC 中。 要求是对 2 个端点的调用必须是循环的。 两个端点都是 HTTP POST 端点,它们的主机名不同,但 URL 前缀是相同的。 像这样的东西。 端点 1 = http://www.example1.com/test/uri和端点 2 = http://www.example2.com/test/uri I am struggling in the AWS console and tried things with the AWS network loadbalancer and create a targetgroup and a api gateway with a http API and a Rest API but I can't get it working.

我认为在 AWS 中实现这样的配置是不可能的,但也许有人知道如何解决这个问题?

你不能直接这样做。 AWS 文档中对此进行了解释:

不能指定可公开路由的 IP 地址。

您必须在 AWS 上设置VPN或其他类型的代理来粗略连接到这些公共端点。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM