Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

VM Instance to Instance Group to Load Balancer NOT WORKING

I don't know how to explain this properly. All I can share is what I experience right now. I'm not a network savvy so I'm trying my best to sort things out with Youtube tutorials. Nothing is working.

So I have external IP from VM instance with apache2 running in it, it works and shows Debian home page.

So I'm trying to learn load balancer, and as I follow through,

  1. I setup load balancer now has front end ip that I successfully see can be access via 443 (https) cause that's what I'm after after all (but this is what I get "Hmmm… can't reach this page").
  2. Then I connect its backend to the Instance Group I created.
  3. And from there, I added to the Instance group, the VM Instance.
  4. Also there's a settings that "port name" which has value 443 comes from instance group, I set it to LB's backend or somewhere there that I have to write the "port name" and that name is "https", like literally the word https.
  5. I tried to change a lot of settings to see if it works and just put it back if it has no luck

I tried a lot of times to access the LB ip but still nothing. I want to access the Debian Home page through LB ip so I tried a lot of changes to conditions and settings as per documentations and feeling dumber and dumber.

I don't know how to do this, I'm stuck for 3 days now. Sorry guys that I'm tired of watching and reading tuts and now asking as lazy as possible.

But for the last time, I'll try to create again a VM Instance and everything else new. So I can test it again. I might missed a single important default setting that I have change, say from the firewall etc. but my firewall, I set every port to allow, 80 443 22 except for 21.

 

I don't know what to say, I'm new here in the community and sound pretty much taking advantage of. I hope you understand, I'm also new to GCP.

Thank you guys so much in advance, I'll help people too whenever I got more stacks.

 

1 2 546
2 REPLIES 2

I would suggest to please review these following 2 documents[1] and [2] about internal HTTPS load balancing and External HTTPS load balancing. It would give you better understanding to implement your application using HTTPS load balancer. In your message it is not stated whether you are using internal or external HTTPS load balancer. Please review following documents for your implementation.

[1]https://cloud.google.com/load-balancing/docs/l7-internal

[2] https://cloud.google.com/load-balancing/docs/https

 

Thank you Shikar, I'll review these documents you share and will go back here for the updates to the problem. And so if I can solve it or explain it better. You're right. I should have a better understanding first. Thank you Shikar.