Skip to content

Commit d675de7

Browse files
committed
Combining with tabs and moving to root
1 parent 7a16acd commit d675de7

File tree

4 files changed

+65
-85
lines changed

4 files changed

+65
-85
lines changed

articles/virtual-machines/.openpublishing.redirection.virtual-machines.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,6 +1600,16 @@
16001600
"redirect_url": "/azure/virtual-machines/linux/security-baseline",
16011601
"redirect_document_id": false
16021602
},
1603+
{
1604+
"source_path_from_root": "/articles/virtual-machines/linux/quotas.md",
1605+
"redirect_url": "/azure/virtual-machines/quotas",
1606+
"redirect_document_id": false
1607+
},
1608+
{
1609+
"source_path_from_root": "/articles/virtual-machines/windows/quotas.md",
1610+
"redirect_url": "/azure/virtual-machines/quotas",
1611+
"redirect_document_id": true
1612+
},
16031613
{
16041614
"source_path_from_root": "/articles/virtual-machines/linux/a8-a9-a10-a11-specs.md",
16051615
"redirect_url": "/azure/virtual-machines/linux/sizes-hpc",

articles/virtual-machines/TOC.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -408,13 +408,8 @@
408408
- name: Windows
409409
href: ./windows/compute-benchmark-scores.md
410410
- name: vCPU quotas
411-
items:
412-
- name: CLI
413-
displayName: vCPU, quota, limit
414-
href: ./linux/quotas.md
415-
- name: PowerShell
416-
displayName: vCPU, quota, limit
417-
href: ./windows/quotas.md
411+
displayName: vCPU, quota, limit
412+
href: quotas.md
418413
- name: Virtual machines selector tool
419414
href: https://aka.ms/vm-selector
420415
- name: Change the VM size

articles/virtual-machines/linux/quotas.md

Lines changed: 0 additions & 67 deletions
This file was deleted.

articles/virtual-machines/windows/quotas.md renamed to articles/virtual-machines/quotas.md

Lines changed: 53 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,67 @@
11
---
2-
title: vCPU quotas for Azure
3-
description: Learn about vCPU quotas for Azure virtual machines.
2+
title: vCPU quotas
3+
description: Check your vCPU quotas for Azure virtual-machines.
44
author: cynthn
55
ms.service: virtual-machines
66
ms.subservice: sizes
7+
ms.workload: infrastructure-services
78
ms.topic: how-to
8-
ms.date: 05/31/2018
9+
ms.date: 02/15/2023
910
ms.author: cynthn
1011

1112
---
1213

14+
# Check vCPU quotas
1315

14-
# Check vCPU quotas using Azure PowerShell
16+
**Applies to:** :heavy_check_mark: Linux VMs :heavy_check_mark: Flexible scale sets :heavy_check_mark: Uniform scale sets
1517

16-
**Applies to:** :heavy_check_mark: Linux VMs :heavy_check_mark: Windows VMs :heavy_check_mark: Flexible scale sets
17-
18-
The vCPU quotas for virtual machines and virtual machine scale sets are arranged in two tiers for each subscription, in each region. The first tier is the Total Regional vCPUs, and the second tier is the various VM size family cores such as the D-series vCPUs. Any time a new VM is deployed the vCPUs for the VM must not exceed the vCPU quota for the VM size family or the total regional vCPU quota. If either of those quotas are exceeded, the VM deployment will not be allowed. There is also a quota for the overall number of virtual machines in the region. The details on each of these quotas can be seen in the **Usage + quotas** section of the **Subscription** page in the [Azure portal](https://portal.azure.com), or you can query for the values using PowerShell.
18+
The vCPU quotas for virtual machines and virtual machine scale sets are arranged in two tiers for each subscription, in each region. The first tier is the Total Regional vCPUs, and the second tier is the various VM size family cores such as the D-series vCPUs. Any time a new VM is deployed the vCPUs for the VM must not exceed the vCPU quota for the VM size family or the total regional vCPU quota. If either of those quotas are exceeded, the VM deployment will not be allowed. There is also a quota for the overall number of virtual machines in the region. The details on each of these quotas can be seen in the **Usage + quotas** section of the **Subscription** page in the [Azure portal](https://portal.azure.com), or you can query for the values using the Azure CLI.
1919

2020
> [!NOTE]
2121
> Quota is calculated based on the total number of cores in use both allocated and deallocated. If you need additional cores, [request a quota increase](../../azure-portal/supportability/regional-quota-requests.md) or delete VMs that are no longer needed.
22-
22+
23+
2324
## Check usage
2425

26+
27+
### [CLI](#tab/cli)
28+
29+
You can check your quota usage using [az vm list-usage](/cli/azure/vm).
30+
31+
```azurecli-interactive
32+
az vm list-usage --location "East US" -o table
33+
```
34+
35+
The output should look something like this:
36+
37+
38+
```
39+
Name CurrentValue Limit
40+
-------------------------------- -------------- -------
41+
Availability Sets 0 2000
42+
Total Regional vCPUs 29 100
43+
Virtual Machines 7 10000
44+
Virtual Machine Scale Sets 0 2000
45+
Standard DSv3 Family vCPUs 8 100
46+
Standard DSv2 Family vCPUs 3 100
47+
Standard Dv3 Family vCPUs 2 100
48+
Standard D Family vCPUs 8 100
49+
Standard Dv2 Family vCPUs 8 100
50+
Basic A Family vCPUs 0 100
51+
Standard A0-A7 Family vCPUs 0 100
52+
Standard A8-A11 Family vCPUs 0 100
53+
Standard DS Family vCPUs 0 100
54+
Standard G Family vCPUs 0 100
55+
Standard GS Family vCPUs 0 100
56+
Standard F Family vCPUs 0 100
57+
Standard FS Family vCPUs 0 100
58+
Standard Storage Managed Disks 5 10000
59+
Premium Storage Managed Disks 5 10000
60+
...
61+
```
62+
63+
### [PowerShell](#tab/powershell)
64+
2565
You can use the [Get-AzVMUsage](/powershell/module/az.compute/get-azvmusage) cmdlet to check on your quota usage.
2666

2767
```azurepowershell-interactive
@@ -68,14 +108,16 @@ Standard NCv3 Family vCPUs 0 0 Count
68108
Standard LSv2 Family vCPUs 0 0 Count
69109
Standard Storage Managed Disks 2 10000 Count
70110
Premium Storage Managed Disks 1 10000 Count
111+
...
71112
```
72113

114+
---
73115

74116
## Reserved VM Instances
75-
Reserved VM Instances, which are scoped to a single subscription without VM size flexibility, will add a new aspect to the vCPU quotas. These values describe the number of instances of the stated size that must be deployable in the subscription. They work as a placeholder in the quota system to ensure that quota is reserved to ensure reserved VM instances are deployable in the subscription. For example, if a specific subscription has 10 Standard_D1 reserved VM instances the usages limit for Standard_D1 reserved VM instances will be 10. This will cause Azure to ensure that there are always at least 10 vCPUs available in the Total Regional vCPUs quota to be used for Standard_D1 instances and there are at least 10 vCPUs available in the Standard D Family vCPU quota to be used for Standard_D1 instances.
117+
Reserved VM Instances, which are scoped to a single subscription without VM size flexibility, will add a new aspect to the vCPU quotas. These values describe the number of instances of the stated size that must be deployable in the subscription. They work as a placeholder in the quota system to ensure that quota is reserved to ensure Azure reservations are deployable in the subscription. For example, if a specific subscription has 10 Standard_D1 reservations the usages limit for Standard_D1 reservations will be 10. This will cause Azure to ensure that there are always at least 10 vCPUs available in the Total Regional vCPUs quota to be used for Standard_D1 instances and there are at least 10 vCPUs available in the Standard D Family vCPU quota to be used for Standard_D1 instances.
76118

77-
If a quota increase is required to purchase a Single Subscription RI, you can [request a quota increase](../../azure-portal/supportability/regional-quota-requests.md) on your subscription.
119+
If a quota increase is required to either purchase a Single Subscription RI, you can [request a quota increase](../../azure-portal/supportability/regional-quota-requests.md) on your subscription.
78120

79121
## Next steps
80122

81-
For more information about billing and quotas, see [Azure subscription and service limits, quotas, and constraints](../../azure-resource-manager/management/azure-subscription-service-limits.md?toc=/azure/billing/TOC.json).
123+
For more information about billing and quotas, see [Azure subscription and service limits, quotas, and constraints](../../azure-resource-manager/management/azure-subscription-service-limits.md?toc=/azure/billing/TOC.json).

0 commit comments

Comments
 (0)