Query Regional Core Usage by Resource

NPizzuti 56 Reputation points
2022-06-22T18:56:58.1+00:00

I very frequently run in to the "Operation could not be completed as it results in exceeding approved Total Regional Cores quota" error. I understand what this means and how to increase my subscription's limit, but first I would like to investigate what services/resources are using all the vCPUs.

How can I query for the resources or services currently using vCPUs?

Documentation reviewed that was not helpful:
https://zcusa.951200.xyz/en-us/azure/virtual-machines/windows/quotas (Covers how to query for the overall usage and limit, I want a breakdown on what is contributing to usage)
https://zcusa.951200.xyz/en-us/azure/azure-portal/supportability/regional-quota-requests (I do not wish to increase my quota at this time)

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,411 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,303 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vidhya Sagar Karthikeyan 396 Reputation points
    2025-01-08T13:15:38.8+00:00

    This informatin should definitely be available in the azure billing details. Go to Cost Management --> Billing, you should be able to see all the resources that's used/provisioned and billed. This should give you a good idea of whats been used. You can also export the cost data to the lake and do the analysis there.

    You can also get an high level view from Cost Analysis sectin in the portal which should be able to provide you details about which service, service type, etc. Based on the info you can further go into the resource groups and figure out why its been used. For instance a databricks instance max worker thread is set to a large number.

    If you are using Databricks, you can turn on biling schema . This will create a new schema called system . This will start recording every single cluster and number of master and worker nodes created with date and timestamp. You can then later query the data to know which cluster was using high number of worker nodes. There are few tables which provide you the details, for example select * from system.billing.usage

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.