Health checks can probe my instance on specific http requests and determine if it is unhealthy.
From the documentation I undertsand that autohealing only works for managed instance group, which means that an instance which is unhealthy will not be restarted but shut down and another instance will be created from the template. So it means statefull data on the disk will be lost.
Is there a way to trigger a instance restart from health checks without using templates (and therefore only rebooting and keeping disk data).