跳至内容

How does it work differently per target group?

0

Hello? Experts

As I know, NLB has two different target group as below;

instance The targets are specified by instance ID.

ip The targets are specified by IP address.

Q1) Does backend instances will establish connection with client ip address when target group is instance?

Q2) Does backed instances will establish connection with NLB private ip address when target group is ip?

Q3) If Q1 & Q2 are right, why it connects differently base on target group?

已提问 8 年前1007 查看次数

1 回答
0
已接受的回答

Q1: If you specify targets using an instance ID, the source IP addresses of the clients are preserved and provided to your applications. Q2) If you specify targets by IP address, the source IP addresses are the private IP addresses of the NLB nodes. If you need the IP addresses of the clients, enable Proxy Protocol and get the client IP addresses from the Proxy Protocol header. Q3) different target groups for different types of requests

AWS
专家

已回答 8 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

相关内容