GCE Instance Group and Managed Instance Group (MIG, InstanceGroupManager)
Questions tagged [gce-instance-group]
71 questions
1
vote
0 answers
Why is GCE image/instance group performing more slowly than a single instance?
I installed wordpress on a single instance. (NGINX, Wordpress & Redis). Then created an instance group for that single instance.
I made an image of that instance, then made an instance template. Then created an instance group for that single…

Jordan
- 1,422
- 1
- 11
- 21
1
vote
1 answer
Autoscaling GCE Instance groups based on multiple Cloud pub/sub queues
I found in the docs to autoscale based on number of undelivered messages in a topic. (Autoscaling GCE Instance groups based on Cloud pub/sub queue).
I want to know if the following scenario is possible:
I have two pub/sub queues and I want to write…

amulya349
- 1,210
- 2
- 17
- 26
1
vote
1 answer
Why would GCE instance group manager recreate a VM?
The recreated VM instance got assigned a new external IP and caused other issues(e.g. couldn't connect to remote servers because the new IP was not being whitelisted...)
Why would the instance group manager recreate a VM instance? Is there any way…

twimo
- 4,061
- 5
- 29
- 32
1
vote
1 answer
What is the kill behaviour for resizing an instance group in Google Cloud Platform?
If I have an instance group with 10 machines and I resize the instance group to 9 machines. What determines which instance will go down? Is it FIFO, LIFO, RANDOM? Is it possible to configure this behaviour?

user3325789
- 393
- 1
- 12
1
vote
2 answers
How to delete an instance group from Google Cloud Compute for all zones
I need to create a script that deletes instance groups from Google Cloud Platform.
This group can be in any zone.
When I run command:
gcloud compute instance-groups managed delete [instance-group-name]
(without zone or region)
I get prompted to…

Yivgeny
- 11
- 1
- 2
1
vote
2 answers
GCE: Enable CDN for an existing VM instance / Adding an existing VM instance to a new regional instance group
I have an GCE VM instance running a WP site installed with click-to-deploy. Runs quite well, I managed to get 600ms from Stockholm on pingdom-tools for a page. From US Dallas is not that great: ~4s and from Australia... >6s.
All optimizations are…

SharpBCD
- 547
- 1
- 7
- 25
1
vote
0 answers
Google Compute Engine: How to recreate existing instances after instance templates updated, without having any downtime
I am looking at this document to create existing instances after I updated instance group with new instance template.
https://cloud.google.com/sdk/gcloud/reference/compute/instance-groups/managed/recreate-instances
I think, if I do this, existing…

texan2018
- 21
- 4
1
vote
2 answers
How do you add health checks on instance-groups using gcloud?
The only way I see to add a health check to an instance group is to create an instance pool then add the health check. Is there any way to directly add the health check to the instance group? The create and autoscaling gcloud group don't have…

ForeverConfused
- 1,607
- 3
- 26
- 41
1
vote
0 answers
How autoscaling works in Google compute engine vm instance group
I have created instance group for windows in google compute engine based on CPU Utilization(60%) and I executed simple while loop program to make use CPU more than 60% on first instance in group.
As CPU load increases in first instance,…

Srikanth M
- 31
- 5
1
vote
2 answers
determining which nodes were added in a managed instance group resize operation in google compute engine
i want to write tests for an adapter over google compute engine and google container engine.
for example:
node = gce.managedInstanceGroup("myGroup").createNode()
//do something with node
node.delete()
when i try to use the resize operation on a…

nathan g
- 858
- 9
- 17
1
vote
0 answers
Instance in instance group sending unwanted requests
I have set up an Nginx server to proxy requests between certain IP and an App Engine app. With one instance everything worked as expected, the requests when through etc.
But, when I setup an Instance Group using the image as before to create the…

MeLight
- 5,454
- 4
- 43
- 67
1
vote
0 answers
Compute Engine VM instance group got wiped out?
I'm new to GCE and want to migrate my web site there. I created a VM instance group hoping. I installed all the packages and set it up a couple days ago. But today I noticed my VM instance group has a different name (postfix, to be exact), and the…

cactucy
- 11
- 2
0
votes
1 answer
Health check never firing for UDP load balancer
I have a load balancer for two VM instances in an instance group that load balances UDP ports 162 and 514. I created a health check for the instance group, but the health check is never firing based on my review of the logs.
The VM instances support…

Dshiz
- 3,099
- 3
- 26
- 53
0
votes
3 answers
Managed Instance Group in Google Cloud stuck in failed state after deletion attempt
A few days ago, I attempted to delete an outdated instance group from the Google Cloud console / online interface, and since then, its been permanently stuck displaying a red circle with an exclamation mark (instead of a green circle with a check…

Charlie Moody
- 37
- 5
0
votes
0 answers
Get GCP instance group instances data
Hi I am trying fetch the name and the public IP address of the the compute instances created by google_compute_instance_template using terraform, but I am getting an empty list at the first time read after the first terraform apply.
Please note that…

Mahmoud Alsheikh
- 11
- 1
- 3