I have an application which has this feature:
1. Public API
2. A connection to connect with a socket server (me as client) which will make inbound and outbound requests. The connection between me as a client and the socket server must only use 1 IP Address.
How should scale I my instance?
I am thinking about using 2 load balancer which is, HTTP load balancer and TCP load balancer. However I am concerned about the outbound requests from TCP load balancer, if some instances created from the TCP or HTTP load balancer, can it connect to the socket server as the IP address from main instance?