Ivan
CDCloudflare Developers
•Created by Ivan on 10/7/2024 in #general-help
Load balancing for percentage rollout with two hosting providers
I have two versions of a website: the old and the new. The new is powered by Cloudflare Pages, while the old is using some other hosting provider, which I would like to switch away from. The domain name is managed by Cloudflare. Is there a way to have the traffic split between the two versions so that the proportions are controlled manually (to be able to gradually increase) and user sessions are maintained (so that the same user always comes to the same version)? Would creating a load balancer with session affinity be the right tool for the job? If so, how should the endpoint be configured?
6 replies