0

When I am going to delete the group instance it always failed. The notification is that, but the problem is that I can not find the 'projects/windowtrafic/global/backendServices/backend' in google console.

The notification message:

The instance_group_manager resource 'projects/windowtrafic/regions/asia-east1/instanceGroupManagers/instance-group-cchatty' is already being used by 'projects/windowtrafic/global/backendServices/backend'

Sunny J
  • 607
  • 3
  • 14
TINA
  • 1
  • 1
  • 3

2 Answers2

1

Try to delete the Load Balancer that is using the groups instance.

Very important thing when you delete the LB don't forget to delete service backend, you can do that by checking the box during the LB deleting.

-1

If you ARE getting the following error:

ERROR: (gcloud.compute.instance-groups.managed.delete) Could not check if 
the Managed Instance Group is Autoscaled.
 - Insufficient Permission

Check to make sure you are not attempting to delete the instance group from a VM instance that is a member of the instance group. The best approach is to use the Google Cloud Shell to delete the instance group. Your prompt will look similar to the following:

USER-NAME@PROJECT-NAME:~$ gcloud compute instance-groups managed delete [INSTANCE-GROUP-NAME] --zone [ZONE-NAME]

Alternatively, you can delete it delete the instance group from your project console. From the Instance Group page, check the checkbox in front of the instance group name that you would like to delete, click on delete option on the top right menu.

Sunny J
  • 607
  • 3
  • 14