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
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
Thank you
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.