I experienced issues today (2023-12-12) while deploying Azure Kubernetes Service (AKS) to Azure West Europe. It appears that the CPU type availability is exhausted in West Europe, which is a significant concern if your Azure Governance and related policies dictate that deployment must occur in this region.
{"code":"InvalidTemplateDeployment","message":"The template deployment 'aksCluster-20231212T084250Z' is not valid accord
ing to the validation procedure. The tracking id is '3abc3456-a9cd-789e-12f3-g456hij78901'. See inner errors for details
.","details":[{"code":"BadRequest","message":"Provisioning of resource(s) for container service aks01-euw-dev in resourc
e group rgr-euw-dev failed. Message: The VM size of Standard_D16s_v5 is only allowed in zones [2] in your subscription
in location 'westeurope'. . Details: "}]}
In the Microsoft Tech Community, I found a PowerShell script to check availability. It appears that the West Europe Zone 1 and Zone 3 are full. I was unable to deploy to Zone 2 or without specifying any zone.
The instances are from the Microsoft documentation.
Get-AzComputeResourceSku -Location "westeurope" | Where-Object { $_.Name -match "Standard_D(\d+)s_v5" }
ResourceType Name Location Zones RestrictionInfo
------------ ---- -------- ----- ---------------
virtualMachines Standard_D16s_v5 westeurope {2, 3, 1} type: Zone, locations: westeurope, zones: 3, 1
virtualMachines Standard_D2s_v5 westeurope {2, 3, 1} type: Zone, locations: westeurope, zones: 3, 1
virtualMachines Standard_D32s_v5 westeurope {2, 3, 1} type: Zone, locations: westeurope, zones: 3, 1
virtualMachines Standard_D48s_v5 westeurope {2, 3, 1} type: Zone, locations: westeurope, zones: 3, 1
virtualMachines Standard_D4s_v5 westeurope {2, 3, 1} type: Zone, locations: westeurope, zones: 3, 1
virtualMachines Standard_D64s_v5 westeurope {2, 3, 1} type: Zone, locations: westeurope, zones: 3, 1
virtualMachines Standard_D8s_v5 westeurope {2, 3, 1} type: Zone, locations: westeurope, zones: 3, 1
virtualMachines Standard_D96s_v5 westeurope {2, 3, 1} type: Zone, locations: westeurope, zones: 3, 1
My only option for now is to temporarily deploy to another region. North Europe does not have such restrictions on availability.
Get-AzComputeResourceSku -Location "northeurope" | Where-Object { $_.Name -match "Standard_D(\d+)s_v5" }
ResourceType Name Location Zones RestrictionInfo
------------ ---- -------- ----- ---------------
virtualMachines Standard_D16s_v5 northeurope {1, 3, 2}
virtualMachines Standard_D2s_v5 northeurope {1, 3, 2}
virtualMachines Standard_D32s_v5 northeurope {1, 3, 2}
virtualMachines Standard_D48s_v5 northeurope {1, 3, 2}
virtualMachines Standard_D4s_v5 northeurope {1, 3, 2}
virtualMachines Standard_D64s_v5 northeurope {1, 3, 2}
virtualMachines Standard_D8s_v5 northeurope {1, 3, 2}
virtualMachines Standard_D96s_v5 northeurope {1, 3, 2}
After encountering the issue and searching for a solution, I came across numerous threads, such as those on Reddit, where other Azure users were experiencing similar capacity issues in Azure West Europe, hindering the deployment of certain resources.
The situation is still unchanged as of December 22nd, 2023.
Workaround December 2023
Meanwhile, it was understood that this limitation is only enforced for newer subscriptions. We have subscriptions from a few years back that do not show these limitations. Contacting Microsoft regarding the issue yielded an answer that they continue to improve their service but are unable to provide an estimate of when the situation will improve. Special quota requests can be made, but they will be reviewed with an unknown outcome.
Get-AzComputeResourceSku -Location "westeurope" | Where-Object { $_.Name -match "Standard_D(\d+)s_v5" }
ResourceType Name Location Zones RestrictionInfo
------------ ---- -------- ----- ---------------
virtualMachines Standard_D16s_v5 westeurope {1, 2, 3}
virtualMachines Standard_D2s_v5 westeurope {1, 2, 3}
virtualMachines Standard_D32s_v5 westeurope {1, 2, 3}
virtualMachines Standard_D48s_v5 westeurope {1, 2, 3}
virtualMachines Standard_D4s_v5 westeurope {1, 2, 3}
virtualMachines Standard_D64s_v5 westeurope {1, 2, 3}
virtualMachines Standard_D8s_v5 westeurope {1, 2, 3}
virtualMachines Standard_D96s_v5 westeurope {1, 2, 3}
Resolved January 2024
I no longer see any limitations on my subscriptions, and I assume that this issue was resolved as of January 8th, 2024.
More
- Almost all CPU Quotas exceeded in Switzerland North (🆕 2024-11-19)
- Capacity constraints in Microsoft’s Swiss data centers [German] Azure region Switzerland North. (🆕 2024-11-19)
- Do not choose West-Europe. The cloud is actually limited
- The cloud is temporarily full (well, this region anyway)
Code="BadRequest" Message="The VM size of Standard_D4s_v5 is only allowed in zones [1] in your subscription
in location 'westeurope'. "