Currently, we are working on a way to set up session affinity for our shop.
In the Google Console, we have the following current setup:
Load Balancer type: Regional External Application Load Balancer
Session Affinity: On
Routing rules: Weighted Backend Services
Locality load balancing policy: Ring hash
Now, we expect the following:
After the first visit to the site https://www.expert.de/noc/status.html, we want to find a newly generated cookie named GCILB.
Once we have that cookie, we want every subsequent request to return to the same backend node. (This can be verified by the "WhoAmI (nodeName)" field.)
I followed the instructions based on this documentation: https://cloud.google.com/load-balancing/docs/backend-service#session_affinity
This corrected version should be clearer and free of spelling errors.
Hi,
Based on the documentation[1] once you configure a Regional External Application Load Balancer under session affinity you must choose the correct session affinity, in this case the proper session affinity that associates with GCILB is “Generated cookie affinity.
For weighted backend service the best guidance to follow the correct settings can found on this link[2]. For the guidance of the regional load balancer you can use this link[3] wherein there is a sample configuration to test your load balancer.
[1]https://cloud.google.com/load-balancing/docs/backend-service#generated_cookie_affinity
[2]https://cloud.google.com/load-balancing/docs/network/configure-weighted-netlb
[3]https://cloud.google.com/load-balancing/docs/https/setting-up-reg-ext-https-lb
Thanks for your work I might look into it but currently we set this attempt on ice because we needed a quick solution.