GCP API gateway to microservices deployed on Compute Engine

Hi All,

This is my first time on GCP. Ive deployed my microservices on Compute Engine which is on private vpc and not trying to access the apis through GCP API gateway but I'm getting '503 unhealthy stream'

Just checked one 2020 thread on internet and it mentioned it's not possible..youve to use Cloud Run to perform similar activities...

Regards,

Sanj

0 1 377
1 REPLY 1

As i know if you are encountering a "503 unhealthy stream" error while trying to access APIs through GCP API Gateway in a private VPC network, it's important to note that GCP API Gateway does not directly support Compute Engine instances as backend services. Set up a load balancer (such as Google Cloud Load Balancing) in front of your Compute Engine instances. This can help distribute incoming traffic and provide health checks for the instances, ensuring they are healthy before forwarding requests to them. The load balancer can be configured to work with GCP API Gateway. 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TargetPayandBenefits Login