Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Load Balancer

Tes
Bronze 1
Bronze 1

Hi 

I want to set up Load Balancer and use as a sense of Disaster Recovery I want to use 2 target servers and I want all traffic routed to the main target server until a consistent amount of 5xx errors rise then route traffic to secondary target server. 

How can I set this configuration up. Please and thank you. 

0 1 128
1 REPLY 1

Check the docs on TargetServer . You want to use the isFallback attribute.  It’s explained in the documentation.  Try it out, it should do exactly what you want.