如何向网络负载平衡器后面的Web服务器提出HTTP请求(第3层)?
我只是在讨论一些Udemy AWS考试问题。在有用情况下,消费者VPC希望通过VPC端点服务连接到服务提供商VPC。因此,我们必须使用网络负载平衡器(第3层),而不是服务提供商VPC中的应用程序负载平衡器(第7层) - 请参见图片。
如您所见,有一个网络负载平衡器,后面有Web服务器。我想知道消费者如何向位于3层加载平衡器后面的Web服务器提出HTTP(第7层)请求?网络负载平衡器不会删除HTTP请求吗?
另一方面,TCP(第3层)请求不会向您提供网站网站,不是吗?
谢谢!
I was just going through some Udemy AWS exam questions. There was a use case where a consumer vpc wants to connect to a service provider VPC via a vpc endpoint service. Therefore, we must use a Network load balancer (layer 3) instead of an Application load balancer (layer 7) in the service provider vpc - see picture.
As you can see, there is a Network Load Balancer with a web server behind. I'm wondering how a consumer can make a HTTP (layer 7) request to a web server that is sitting behind a layer 3 load balancer? Would that HTTP request not being dropped by the Network load balancer?
On the other hand, a TCP (layer 3) request would not provide you a website from a webserver, doesn't it?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
HTTP(第7层)在TCP(第3层)的顶部工作。因此,通过NLB的HTTP请求没有问题。
HTTP (layer 7) works on top of TCP (layer 3). So there are no issues for HTTP requests going through NLB.