Scott Godfrey
Scott Godfrey

Reputation: 31

Google cloud Backend service is unhealthy - 502 error

I believe I have a pretty straight forward set up but I am receiving the dreaded "backend service is unhealthy" notification on my load balancer in google cloud. I will list out steps I have taken so far to provide as much info as possible as I know this could be many things.

It's worth mentioning at this point I tested I could access the web page stored on the VM without any issues.

At this point I tested again and could no longer access the site and I received the 502 error on the web page.

Now I am pretty stuck as I am not seeing any other potential steps I could take to resolve this issue.

I would be grateful for any potential solutions.

Cheers

Upvotes: 0

Views: 1667

Answers (1)

Scott Godfrey
Scott Godfrey

Reputation: 31

I managed to overcome this issue by following this guide. https://www.jiyuulife.net/google-cloud-cdn-for-gcp-wordpress/ In case anyone has similar issues.

There isn't a lot of good material out there for unmanaged IG's linked to existing VM's. I found even googles documentation to be a little light on the subject. Sometimes you do want to provide load balancing to existing VM's to make use of CDN without the redundancy or expense.

I welcome additional contributions here.

Upvotes: 1

Related Questions