2

I'm trying to setup http load balancer, with auto-scaling enabled managed instance group for the back-end service.

The problem occurs when I tried to add instance groups while creating backend service, I already made my managed instance group from an instance template, but I can't see it from adding instance group panel. I chose 'select from existing groups'(not sure it's exact phrase for I'm using foreign language) and I selected asia region, but I couldn't see/select the group i created.

It gives "no instance groups in this region" message when I choose other regions like US/EU, so I guess it recognizes my group but it just doesn't show up.

http load balancer doesn't support asia region or should I have to modify some other settings to see my group?

fyi, I tried all above action on the cloud console (not with command line)

Any helps would really be appreciated!

Best, JP

Grzenio
  • 35,875
  • 47
  • 158
  • 240
JP Kim
  • 743
  • 8
  • 26

1 Answers1

2

There's currently a bug preventing existing instance groups from appearing in the drop-down menu. Until it's fixed, you can add them via gcloud using this command: gcloud compute backend-services add-backend [backend-service-name] --instance-group [instance-group-name].

aknuds1
  • 65,625
  • 67
  • 195
  • 317
Ali
  • 548
  • 4
  • 5
  • I try to add my GKE created instance group to the L7 ingress backend service through your command, but it fails miserably: `Validation failed for instance 'projects/muzhack-1288/zones/europe-west1-d/instances/gke-production-default-pool-de24d27b-7ib1': instance may belong to at most one load-balanced instance group`. – aknuds1 May 06 '16 at 20:11
  • @aknuds1: I ran into this and was able to fix it by visiting https://console.cloud.google.com/networking/loadbalancing/advanced/backendServices/list and deleting a stray dangling backend service. – Gabe Kopley Oct 05 '16 at 21:31