LYFT-17129 - cherry pick deregister, register and get_instance_health me...

...thods