For each request that a client makes through a load balancer, the load balancer maintains two TCP connections. One connection is with the client and the other connection is to a back-end instance. GCE LoadBalancer is creating lots of TCP connections with my backend instance, how can i control this ?
GCP docs says
"Traffic from the load balancer to your instances has an IP address in the range of 22.214.171.124/22. When viewing logs on your load balanced instances, you will not see the source address of the original client. Instead, you will see source addresses from this range."
That means ideally LB can open max 2 pow 10 * 2 pow 16 = 67108864 TCP connections with backend instance. Here 2 pow 10 for IP range 2 pow 16 for port range per IP.
How can I control GCE LB to create max N TCP connections with my backend instance?