|
|
|
|
|
by tpg
4000 days ago
|
|
The simplest option I'm aware of is to point CloudFlare to your load balancer, and have it handle removal of failed backend nodes. The only big downside is that on AWS you can't have an elastic IP associated with an elastic load balancer, so you either have to run your own HA haproxy/nginx/whatever cluster in EC2 in order to have a single IP to point CloudFlare to. If you can live with a subdomain you can point that cname to an ELB. Alternatively, CloudFlare's API is pretty reasonable, so you could home-brew health checks that de-register dead nodes from CloudFlare. Even a simple nagios check handler could do that. |
|
https://support.cloudflare.com/hc/en-us/articles/200169056-C...