And accessing the service from inside the managed instance(using wget) is working.
when I try to access the page using the load-balancer IP I'm getting a text says "stream timeout" and I'm allowing all traffic from LB IP.
So, what is that I'm missing here? I added a health check for the port that service running at and it's working.
Solved! Go to Solution.
The issue was caused because I was using Regional external Application Load Balancer when I switched to Global external Application Load Balancer it was fixed/
Hi @her_I_am ,
Upon checking the details that you've provided, it seems to me that your backends were healthy.
@her_I_am wrote:
when I try to access the page using the load-balancer IP I'm getting a text says "stream timeout" and I'm allowing all traffic from LB IP.
The VPC firewall rules will have no effect on the Load Balancer IP as these rules are associated with the instances within your VPC, and they control the traffic to and from those instances.
Please refer to this documentation regarding how to correctly setup an external load balancer.
@her_I_am Did you create Firewall Rules to Allow Traffic and Health Checks to Backend Services? The GFE use the following CIDRs and you need to allow ingress tcp:80 traffic from these CIDRs to your backends.
The issue was caused because I was using Regional external Application Load Balancer when I switched to Global external Application Load Balancer it was fixed/
Hey, I encountered the same error, with a pretty similar setup. Main difference being that I have the backend configured as a NEG containing a single Pod in a single GKE cluster.
Unfortunately I can't use the Global external Application Load Balancer. So instead I'm trying to stick with the Regional one.
OK I managed to figure this out myself, so nevermind me. The issue is that for Regional external Application Load Balancers specifically, the firewall rule additionally needs to allow traffic from the proxy-only subnet associated with it. Actually the GCP docs say this: "Regional external Application Load Balancers require an additional firewall rule to allow traffic from the proxy-only subnet to reach the backends.".
Yes, this is well documented in the architecture of this type of ALB (figure 5-55) of my book.