Questions tagged [gce-instance-group]

GCE Instance Group and Managed Instance Group (MIG, InstanceGroupManager)

Official documentation

71 questions
0
votes
1 answer

GCE instance get recreated by Instance Group Manager with Reason: Instance eligible for autohealing: instance unhealthy

We have MIG, where only one GCE is present (as our current application does not support auto scaling) , as part of health check policy we use to do TCP on port 22 with 30 sec interval and if consecutive 3 checks failed instance will be treated as…
0
votes
1 answer

Apollo studio is not working after running Apollo server with google cloud load balancing

I am unable to connect to my Apollo (graphql) server through Apollo Studio (https://studio.apollographql.com/sandbox/explorer) OR Apollo Client library on frontend. But the server is working fine when a request is sent through Postman,…
0
votes
1 answer

Binding the roles/iap.tunnelResourceAccessor role to Google Cloud MIG instances with Terraform

I have created a Google Cloud Compute Engine managed instance group (MIG) in Terraform using the google_compute_instance_template and google_compute_instance_group_manager resources and would like to set up access via the identity aware proxy…
0
votes
0 answers

Instance Groups do not Initate when Existing Disk Attached

First of all this setup is for a proof of concept. The existing disk is ext4 formatted. A total of 4 instance groups created to troubleshoot. The status of 3/4 instance groups has been "Group is Resizing," some for over 4 hours. A minimum-2 and…
0
votes
1 answer

Specifying Custom Network on Regional Managed Instance Groups on GCP

I am exploring managed instance groups on GCP, and I am trying to create a multi-zone (regional) MIG. However, it always selects the default network, and I don't see any way to change it (I know it can change if the MIG is zonal). Is it possible to…
0
votes
0 answers

i want to know the right usage of gce instance group

[what happened] I am using GCP's instance-group, load-balancer, and cloudDNS. I installed nginx and deployed tomcat app into the instance that was created when i first assigned empty instance-template to the instance-group. It seems it had been…
0
votes
1 answer

google cloud Stackdriver Metrics to scale an Manage instance group - Regional

What are the Stackdriver Metrics we can use to autoscale Regional Manage instance groups ? When i check the docs it says Regional managed instance groups do not support filtering for per-instance metrics. Regional managed instance groups do not…
0
votes
1 answer

Google Cloud Instance Group Autoscaler can not see my custom log-based metric

In google cloud I created a custom log-based metric to use for my instance group autoscaler. I can view the metric in the metrics explorer. The metrics explorer clearly shows that google added the requred "instance-id" and "zone" labels for me…
0
votes
1 answer

Unable to communicate between 2 GCP instance in the same instance group

i have created 3 instance in a GCP instance group with the same VPC. I am trying to move files between them using scp however it is not working. Neither gets any output nor any error message. I have already added the machines in their respective…
0
votes
1 answer

Alpha access to instance group method

I need to create one new instance in a Managed Instance Group in Google Cloud. But I want to set the name on creation, there is a new function in the SDK to do that - but that is an Alpha-function. How can our Google Cloud project get access to that…
0
votes
1 answer

How to scale Instance Group basing on the number of instances inside another instance group

How to setup GCE autoscaling for instance group basing on the amount of running VMs in another instance group. I have 'main-instance-group' with its own scaling policies. I want the second instance group 'additional-instance-group' to scale from 0…
0
votes
1 answer

GCE: Health check for an unmanaged instance group or a single instance?

is it possible to create a health check for an individual instance (GCE), which is not part of any instance group? If I look at adding it to a "unmanaged instance group", is it then possible to create a health check for it? Thanks in advance.
0
votes
2 answers

Instance Group won't create an instance with GPU: Not enough resources

I'm able to create an instance with NVIDIA-K80 manually, however my instance group shows a warning on the instance: Instance 'instance-6lqk' creation failed: The zone 'projects/my-project/zones/us-central1-a' does not have enough resources available…
0
votes
1 answer

Google Cloud Platform: Using VPC with managed instance groups

In the last two weeks I had huge problems with Google Cloud Platform. Restarting the server resulted very very often in: "Starting VM instance "foobar-controller" failed. Error: The zone 'projects/demoday-zollhof/zones/europe-west3-b' does not…
0
votes
1 answer

Hosting a web app using GCE managed instance groups

I have NGINX setup on Google Cloud Compute Engine using a managed instance group setup [powered by managed instance templates]. I simulated a cpu load on one of the servers and that spawned a couple of additional servers, each running NGINX. So…
ObiHill
  • 11,448
  • 20
  • 86
  • 135