How do I define a health check endpoint?

Posted October 11, 2019 2.6k views
Load Balancing


I’m going through the documentation for how to setup load balancing with DO ( and I read there’s a possibility to define my own health check endpoints.

Is this something that I need to configure while setting up the LB?


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers


You can setup the health checks during the setup of the Load Balancer, but you could also set that up even after the Load Balancer has been created. You would be able to change all of the settings at any time.


Thanks! I may have asked the wrong question.

What I need to know is what constitutes a sane healthcheck.

For instance, I just created a LB, set it to use two instances configured via a tag.

It recognized them just fine but it’s saying they’re both down when in fact they’re perfectly healthy.

I didn’t change anything about the default config which reads

Should I just use any URL which will return 200?