How to set a health check on my single VM on GCP?

2019-08-02 21:28发布

I've created a health check, but it seems that it's not being applied to my VM instance. I read the documentation, must I use load balancing first?

1条回答
爷的心禁止访问
2楼-- · 2019-08-02 21:55

The health checks in the linked documentation are specifically for Load Balancing.

However, it is possible to set up health checks for managed instance groups (without Load Balancing) so if your Compute Engine instance is part of a managed instance group, then you can add a health check.

If a health check detects that a service has failed on an instance, the group will automatically re-create the instance.

You can find detailed information on these instance group health checks here.

查看更多
登录 后发表回答