GCP no resources available in asia-south1-c since a month

google-cloud-platformgoogle-compute-engine

I'm trying to create a VM on GCP since last month, but have not been able to do so.

I'm getting below error-

The zone 'projects/xxxxxxxxxxx/zones/asia-south1-c' does not have enough resources available to fulfill the request. Try a different zone, or try again later.

Best Answer

At first, there's no error on your side. Situation like this happened from time to time and usually it didn't take as long to add resources to zone and fix it.

In case you need resources urgently you can use different zone if you're able.

EDIT ZONE_RESOURCE_POOL_EXHAUSTED error means that you are encountered with the temporary resource stock-out issue at that particular zone. Have a look at this post by Paul Nash, who explained the resource stock-out issue at Google Cloud Platform.

The recommended workaround is to try a different zone or check that particular zone later.

I'd recommend you to follow this steps, if you need to request resources for that specific zone/region:

  1. open a ticket at Google Issue Tracker (more information here)
  2. contact Google Cloud Support (via email if you don't have a support contract)

Confirmation of the issue: You can check if you have ZONE_RESOURCE_POOL_EXHAUSTED error at Stackdriver -> Logging -> Logs Viewer by using this query:

resource.type="gce_instance"
"ZONE_RESOURCE_POOL_EXHAUSTED"

more information how to use Advanced logs queries you can find in the documentation.

EDIT2 More information about this issue you can find in the documentation:

If you receive a resource error (such as ZONE_RESOURCE_POOL_EXHAUSTED or ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS) when requesting new resources, it means that the zone cannot currently accommodate your request.

and possible solutions:

  • Because this situation is temporary and can change frequently based on fluctuating demand, try your request again later.
  • If possible, try to create the resources in another zone in the region or in another region.
  • If possible, change the shape of the VM you are requesting. It's easier to get smaller machine types than larger ones. A change to your request, such as reducing the number of GPUs or using a custom VM with less memory or vCPUs, might allow your request to proceed.
  • Use Compute Engine reservations to reserve resources within a zone to ensure that the resources you need are available when you need them.
  • If you are trying to create a preemptible instance, remember that preemptible VMs are spare capacity and so might not be obtainable at peak demand periods.
  • If you receive a notFound or does not exist in zone error when requesting new resources, it means that the zone does not offer the resource or machine type that you have requested. See Regions and zones to find out which features are available in each zone.
Related Topic