Linode's LoadBalancer + Cloudflare + Sticky sessions

Hi,

I'm designing the infrastructure for my project and there is one issue that I can't find much information on.

I will be using Cloudflare as the reverse proxy and will send the requests to Linode's Loadbalancer which will distribute over my linodes.

I want to enable session stickiness on Linode's LB but I'm not sure it will work correctly with Cloudflare in front of it.

So this is the question: Is Linode's LB capable of detecting that the real client's IP comes from CF custom http header (See here) and enable sticky sessions properly or this combination wont work at all?

Thanks,

2 Replies

why not just use Cloudflare's load balancing https://www.cloudflare.com/load-balancing/ ?

Been thinking of migrating my setup to Cloudflare's load balancer/traffic manager myself https://community.centminmod.com/thread … are.11563/">https://community.centminmod.com/threads/thinking-of-moving-from-aws-route53-dns-to-cloudflare.11563/

there's a problem with cloudflare loadbalance. the affinity session (cookie) not working properly with mobile browser.

if your users require to login and store session, then this will definitely be a problem.

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