Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instance Group : Exceeded limit 'QUOTA_FOR_INSTANCES' on resource 'us-instance-group-1'. Limit: 8.0

I am using GCE on Asia-Southeast-b with 2vCPU 10GM for my website I am trying to test CDN and LB, so was halfway to create an instance group in the US but it threw me an error no matter how.

Instance Group : Exceeded limit 'QUOTA_FOR_INSTANCES' on resource 'us-instance-group-1'. Limit: 8.0

https://prnt.sc/tzyyrk

This document from https://cloud.google.com/compute/quotas leads me to think it could be due to the zone that I choose, so I have tried to choose all multi zones in different regions and even single zone but didn't allow me to create one no matter how I select it seems (I can't say I tried all different combinations but almost all).

I chose the Instance template with the lowest spec N1-standard with CentOS7 + 20G standard disk.

Under this project, I have the 4 following service accounts associated with this.

Compute Engine default service account, Google APIs Service Agent, Compute Engine Service Agent, Myself as Owner

I went to IAM & Admin > Quotas > All green checked

  1. Is it because I am building this with free 300 credit?
  2. How do I check which zone available I should create the instance group on?
  3. What could be the reason? What did I do wrong?

Thank you

like image 601
futureyoon Avatar asked Mar 03 '23 04:03

futureyoon


1 Answers

It seems to be the configuration you're setting in the Maximum number of instances.

For example, when you create an Instance Group, you set the Minimum number of instances and the Maximum number of instances. Even if you set as minimum 1 instance and you left the default value for Maximum number of instances (which is 10), it will always fail since it checks the pre-condition that the Maximum number of instances never exceeds the Quota for a region.

I reproduced this by setting Maximum number of instances to a value greater than my quota limit.

I suggest to change the value of Maximum number of instances to 3 and check if you can deploy the instance group.

like image 80
Ferregina Pelona Avatar answered Apr 26 '23 11:04

Ferregina Pelona