0

Theoretically there are:

  • client
  • LB
  • SERVER A
  • SERVER B

Question: Is there a load-balancer solution (either by software or payed in the cloud) that can redirect the "clients" to "SERVER A" or "SERVER B" based on what network port did they connect to to the LB?

If software, probably there is a solution to have firewall rules on the LB, but I am mainly searching for a payed solution, ex.: AWS, GCP or Azure can do this kind of LBing to a SERVER which is not in their DCs?

1 Answer 1

0

What you mean calls reverse proxy. Both AWS and Google Cloud offer similar features in their Load Balancer services.

Anyway, bear in mind that technically speaking, Load Balancer and path-based or port-base routing are different things, although it's been implemented as a Load Balancer feature.

Load Balancer aims to monitor targets and redirect requests only to healthy ones.

Path-based or port-based routing aims to redirect different kinds of requests to different groups of targets.

1
  • many thanks for the answer! But I think I will buy the cheapest VM somewhere that has a good SLA and create a firewall rule :D and update the firewall rule with a script if health probes say
    – jim7475
    May 23 at 19:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.