Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

I have an error when creating a VPC-Connector with this community tutorial

I am following this guide https://cloud.google.com/community/tutorials/serverless-static-ip on how to create a VPC and a Cloud Nat in order to obtain a static IP address for my Google Functions instances.

I have billing enabled, and a new fresh project.

Everything goes great until the "Configure the network" step of the tutorial, particularly sub step 6:

gcloud compute networks vpc-access connectors create ${VPC_CONNECTOR} \
 
--network ${NETWORK_NAME} \
 
--region ${REGION} \
 
--range ${CONNECTOR_IP_RANGE}

 That commands make the Cloud Shell fail and throw the following error:

ERROR: (gcloud.compute.networks.vpc-access.connectors.create) {
"code": 9,
"message": "Operation failed: Insufficient CPU quota in region."
}

Now, I am 99.99% sure it is not an issue with how much I am using the platform, since everything I have in that project and in that region (us-central) is that tutorial, and that's it.

 

I tried doing it again, but this time using us-west4 as the Region, and the consequence is the same. I seem to not meet the quota.

When I go to increase the quota, it says I am not eligible to quota increasing.

What should I do?

Solved Solved
0 1 1,514
1 ACCEPTED SOLUTION

Hi @genAssistantQ ,

If you're getting error this error below,


@genAssistantQ wrote:

ERROR: (gcloud.compute.networks.vpc-access.connectors.create) {
"code": 9,
"message": "Operation failed: Insufficient CPU quota in region."
}


it means, your service utilization history didn't meet the required usage of your preferred project.

You'd have to contact GCP sales team by following these steps :

1. Click the link
2. Click I want to talk to Sales.
3. Click “Go to contact form” and then fill out the form or click “Chat online”.

View solution in original post

1 REPLY 1

Hi @genAssistantQ ,

If you're getting error this error below,


@genAssistantQ wrote:

ERROR: (gcloud.compute.networks.vpc-access.connectors.create) {
"code": 9,
"message": "Operation failed: Insufficient CPU quota in region."
}


it means, your service utilization history didn't meet the required usage of your preferred project.

You'd have to contact GCP sales team by following these steps :

1. Click the link
2. Click I want to talk to Sales.
3. Click “Go to contact form” and then fill out the form or click “Chat online”.