Resource Quotas

Compute Engine enforces quotas on resource usage for a variety of reasons. For example, quotas protect the community of Google Cloud Platform users by preventing unforeseen spikes in usage. Google Cloud Platform also offers Free trial quotas that provides limited access for projects that are just exploring Google Cloud Platform on a free trial basis.

Not all projects have the same quotas. As your use of Google Cloud Platform expands over time, your quotas may increase accordingly. If you expect a notable upcoming increase in usage, you can proactively request quota adjustments from the Quotas page in the GCP Console.

Checking your quota

To check the available quota for resources in your project, go to the Quotas page in the Google Cloud Platform Console.

If you are using the gcloud command-line tool, run the following command to check your quotas. Replace myproject with your own project ID:

gcloud compute project-info describe --project myproject

To check your used quota in a region, run:

gcloud compute regions describe example-region

Requesting an increase or decrease to quota

Request changes to quota from the Quotas page in the GCP Console.

Permission for editing quota

In order to change your quotas, you must have serviceusage.quotas.update permission. This permission is included by default for the following predefined roles: Owner, Editor, and Quota Administrator.

Request a change to quota

  1. Go to the Quotas page.

    Go to the Quotas page

  2. In the Quotas page, select the quotas you want to change.
  3. Click the Edit Quotas button on the top of the page.
  4. Check the box of the service you want to edit.
  5. Fill out your name, email, and phone number and click Next.
  6. Enter your request to increase or decrease quota and click Next.
  7. Submit your request.

You will receive a response from the Compute Engine team within 24 to 48 hours of your request.

Plan and request additional resources at least a few days in advance to ensure that there is enough time to fulfill your request.

Quotas and Resource Availability

Resource quotas are the maximum number of resources you can create of that resource type, if those resources are available. Quotas do not guarantee that resources will be available at all times. If a resource is not available, or if the region you choose is out of the resource, you will not be able to create new resources of that type, even if you have remaining quota in your region or project. For example, you might still have quota to create new external IP addresses in us-central1, but there might not be available IP addresses in that region.

Similarly, even if you have a regional quota, it is possible that a resource might not be available in a specific zone. For example, you might have quota in region us-central1 to create VM instances, but might not be able to create VM instances in the zone us-central1-a if the zone is depleted. In such cases, try creating the same resource in another zone, such as us-central1-f.

Situations where a resource might be depleted on a regional level are rare. To learn more about your options during these occasions, review the Compute Engine SLA.

Understanding VM, CPU, and IP address quotas

When planning your virtual machine (VM) instance needs, there are a number of quotas to consider that affect how many VM instances you can create.

Regional and global quotas

VM quotas are managed at the regional level. VM instance, instance group, CPU, and Disk quotas can be consumed by any VM in the region, regardless of zone. For example, CPU quota is a regional quota so there is a different limit and usage count for each region. To launch an n1-standard-16 instance in any zone in the us-central1 region, you will need enough quota for at least 16 CPUs in us-central1.

Networking and load balancing quotas are required to create firewalls, load balancers, networks, and VPNs. These are global quotas that do not depend on a region. Any region can use a global quota. For example, in-use and static external IP addresses assigned to load balancers and HTTP(S) proxies consume global quotas.

CPUs

CPU quota refers to the total number of virtual CPUs across all running VM instances in a region. CPU quota apply only to running instances. Both normal and preemptible instances consume this quota.

To protect Compute Engine systems and other users, some new accounts and projects will also have a global CPUs (All Regions) quota that applies to all regions and is measured as a sum of running vCPUs in all regions.

For example, if you have 48 vCPUs remaining in a single region such as us-central1 but only 32 vCPUs remaining for the CPUs (All Regions) quota, you can launch only 32 vCPUs in the us-central1 region, even though there is remaining quota in the region. This is because you will reach the CPU (All Regions) quota and need to delete existing instances to be able to launch new instances.

GPUs

Similar to virtual CPU quota, GPU quota refers to the total number of virtual GPUs in all VM instances in a region. Check the quotas page to ensure that you have enough GPUs available in your project, and to request a quota increase. In addition, new accounts and projects have a global GPU quota that applies to all regions.

When you request a GPU quota, you must request a quota for the GPU models that you want to create in each region, and an additional global quota for the total number of GPUs of all types in all zones.

VM instances

The VM instances quota is also a regional quota and limits the number of VM instances that can exist in a given region, regardless of whether the VM is running or not. This quota is visible in the Google Cloud Platform Console but does not need to be requested and is set automatically by Compute Engine to be 10x your regular CPU quota. This quota applies to both running and non-running VMs, and to normal and preemptible instances.

Quotas for preemptible resources

To use preemptible CPUs or GPUs attached to preemptible VM instances, or to use local SSDs attached to preemptible VM instances, you must have available quota in your project for the respective resource.

You can request special preemptible quotas for: Preemptible CPUs, Preemptible GPUs, or Preemptible Local SSDs (GB) However, if your project does not have preemptible quota, you can still use the regular quota to launch preemptible resources.

After Compute Engine grants you preemptible quota in a region, all preemptible instances will count against preemptible quota automatically.

Disk quotas

The following persistent disk and local SSD quotas apply on a per-region basis:

  • Local SSD (GB) - This is the total combined size of local SSD disk partitions that can be attached to VMs in a region. Local SSD is a fast, ephemeral disk that should be used for scratch, local cache, or processing jobs with high fault tolerance, as the disk is not intended to survive VM instance reboots. Local SSD partitions are sold in increments of 375 GB and up to eight local SSD partitions can be attached to a single VM. In the gcloud tool and the API, this is referred to as LOCAL_SSD_TOTAL_GB.

  • Persistent Disk Standard (GB) - This is the total size of standard persistent disks that can be created in a region. As described in Optimizing Persistent Disk and Local SSD Performance, standard persistent disk offers lower IOPS and throughput than SSD persistent disks or local SSD. It is cost effective as large durable disks for storage, as boot disks, and for serial write processes like logs. Standard persistent disks are durable and are available indefinitely to attach to an VM within the same zone. In the gcloud tool and the API, this is referred to as DISKS_TOTAL_GB. This quota also applies to regional standard persistent disks, but regional disks consume twice the amount of quota per GB due to replication in two zones within a region.

  • Persistent Disk SSD (GB) - This is the total combined size of SSD persistent disks partitions which can be created in a region. SSD persistent disks have multiple replicas and, as described in Optimizing Persistent Disk and Local SSD Performance, offers higher IOPS and throughput than standard persistent disks. SSD persistent disks are cost effective for durable storage with high I/O requirements. SSD persistent disks are available indefinitely to attach to a VM within the same zone. In the gcloud tool and the API, this is referred to as SSD_TOTAL_GB. Please note that this quota is separate from Local SSD. This quota also applies to regional SSD persistent disks, but regional disks consume twice the amount of quota per GB due to replication in two zones within a region.

IP addresses

You will need to have enough IP addresses for every VM that needs to be reachable from the public Internet. Regional IP quota is for assigning IPv4 addresses to VMs in that region, if desired, and Global IP quota is for assigning IPv4 addresses to global networking resources such as firewalls, HTTP proxies and load balancers. There are a few types of IP addresses to consider, depending on your needs.

  • In-use IP address: Includes both ephemeral and static IP addresses that are currently being used by a resource. In-use IP addresses do not incur charges but static unused IP address do incur charges.
  • Static IP addresses: External IP addresses reserved for your resources that persists through machine restarts. You can register these addresses with DNS and domain provider services to provide a user-friendly address. For example, www.example-site.com.
Was this page helpful? Let us know how we did:

Send feedback about...

Compute Engine Documentation