Multi Level Nodebalancer

Avatar kurianjacob 4 months ago

Is it possible to set Nodebalancer at multiple network levels?

1) First Nodebalancer accepts external traffic and routes traffic to the nearest web server.

2) At second level, nodebalancer accept traffic from the web server in 1) and routes traffic between two app servers (redundancy).

Thanks.

1 Reply

A NodeBalancer can only route traffic to a private IP, and when you create a NodeBalancer, Linode will only tell you what its public IP is. As a result, you can't route traffic from one NodeBalancer to another.

Instead, you can set up load balancing software (like HAProxy or NGINX) on your own Linodes. Linode has a guide for setting up HAProxy here:

How to Use HAProxy for Load Balancing

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct