Den tis 6 okt. 2020 kl 08:37 skrev Szabo, Istvan (Agoda) <
Istvan.Szabo(a)agoda.com>gt;:
Hi,
Is there anybody tried consul as a load balancer?
Any experience?
For rgw, load balancing is quite simple, and I guess almost any LB would
work.
The only major thing we have hit is that for AWS4 auth, you need to make
sure that the requests to the backends* actually use the hostname sent by
the client, but apart from that, I can't think of a LB that can handle
http(s) that would not work for S3/RGW.
*) some LBs, when they see a pool of backends as a list of ips like
10.1.2.1, 10.1.2.2, 10.1.2.3 will make the inner request against
http://10.1.2.3:80 instead of
http://mybucket.s3.example.com and since the
request hostname is a part of the hash used for auth, the rgw will
calculate it against 10.1.2.3 but the client will of course use
mybucket.s3.example.com.
--
May the most significant bit of your life be positive.