Request Access to a Restricted VM Size
Overview
Azure can restrict which virtual machine (VM) sizes a subscription is allowed to deploy in a region. When every VM size the Upwind Cloud Scanner can run on is restricted in a region of your orchestrator subscription, the scanner for that region cannot deploy, and the workloads in that region are not scanned.
Azure reports this restriction with the reason code NotAvailableForSubscription. Only Microsoft can lift it, and only at the request of the subscription owner. This page guides you through confirming the restriction and asking Azure Support to remove it.
This page applies to Outpost deployments, where the scanner runs in your own orchestrator subscription. In a SaaS deployment the scanner runs in an Upwind subscription, and Upwind handles the request with Microsoft.
How It Works
The Cloud Scanner runs on Spot Virtual Machine Scale Sets in your orchestrator subscription, one deployment per scanned region. At deployment, Upwind tries a list of general purpose D-series VM sizes in order, and uses the first one Azure accepts.
A NotAvailableForSubscription restriction is a setting on the subscription, for a specific VM size in a specific region or availability zone. It is different from the two other reasons a deployment can fail for lack of compute:
| Cause | What It Means | How to Resolve It |
|---|---|---|
| VM size restriction | The subscription is not allowed to deploy the VM size in the region or zone. | Open a technical support request with Azure, as described on this page. |
| Insufficient quota | The subscription is allowed to use the VM size, but has too few vCPUs. | Request a quota increase. See Insufficient Spot VM Quota. |
| No capacity | Azure has temporarily run out of capacity for the VM size in the region. | No action is needed. Upwind retries the deployment. |
A quota increase does not lift a VM size restriction. If the VM sizes are restricted, a quota request on its own leaves the scanner unable to deploy.
Prerequisites
- The Owner, Contributor, or Support Request Contributor role on the orchestrator subscription, to create an Azure support request.
- An Azure support plan that includes technical support for the orchestrator subscription.
- The Azure CLI , to confirm the restriction.
Request Access
Step 1. Confirm the Restriction
-
Log in to the Upwind Management Console, and navigate to Components > Cloud Scanners. Note the region of the Azure scanner that failed to deploy.
-
List the D-series VM sizes for that region in your orchestrator subscription, with the restrictions Azure applies to each. The command queries the Resource SKUs API directly:
az rest --method get \
--url "https://management.azure.com/subscriptions/<orchestrator-subscription-id>/providers/Microsoft.Compute/skus?api-version=2021-07-01&\$filter=location eq '<region>'" \
--query "value[?resourceType=='virtualMachines' && starts_with(name, 'Standard_D')].{name:name, restrictions:restrictions[].{type:type, reason:reasonCode, zones:restrictionInfo.zones}}" \
--output json -
Review the
restrictionslist of each size. A restricted size looks similar to this:[
{
"name": "Standard_D4as_v5",
"restrictions": [
{
"type": "Zone",
"reason": "NotAvailableForSubscription",
"zones": ["1", "2", "3"]
}
]
},
{
"name": "Standard_D4as_v6",
"restrictions": [
{
"type": "Zone",
"reason": "NotAvailableForSubscription",
"zones": ["1", "2", "3"]
}
]
}
]The restriction
typeis eitherLocation, which blocks the size in the whole region, orZone, which blocks it in the listed availability zones. A size without restrictions has an emptyrestrictionslist.
If the D-series sizes show NotAvailableForSubscription, continue to the next step. If their restrictions lists are empty, the subscription is not restricted. Check your quota instead, or contact support@upwind.io.
Sizes that start with Standard_DC are confidential VM sizes. The Cloud Scanner does not run on them, so do not count them as available even when they show no restriction.
Step 2. Check Your vCPU Quota
Azure Support handles restrictions and quota separately. Confirm that the region has enough Spot vCPU quota before you open the request, so that the scanner can deploy as soon as the restriction is lifted. Follow Insufficient Spot VM Quota.
Step 3. Open a Technical Support Request
-
In the Azure portal , go to Help + support, and select Create a support request.
-
Select the issue type Technical.
-
Select your orchestrator subscription. The request must come from the subscription that has the restriction.
-
Select the service Virtual Machine Scale Sets.
-
In the description, ask Azure Support to enable a suitable VM size for the subscription. You can use the following text. Replace the placeholders, and paste the restricted sizes from Step 1:
Subscription: <orchestrator-subscription-id>
Region: <region>
We run a production vulnerability-scanning workload on Spot Virtual Machine
Scale Sets in this subscription. In <region>, every suitable VM size is
rejected for this subscription with a NotAvailableForSubscription
restriction (type Location or Zone), so we cannot deploy at all.
This is not a quota issue. The regional vCPU quota on the subscription is
sufficient.
Requests:
1. Please confirm whether the restriction on the Dasv5 / Dasv6 / Dasv7
families applies only to Spot deployments or to the SKUs in general for
this subscription.
2. Please enable a suitable Dasv5, Dasv6 or Dasv7 size in <region> for
this subscription. Our preference is Standard_D4as_v5, Standard_D4as_v6
or Standard_D4as_v7.
Requirements: 2 vCPUs or more, at least 4 attachable data disks, standard
security type (not Confidential VM), Spot priority.
Restriction as returned by the Resource SKUs API:
<restricted sizes from Step 1> -
Complete the contact details, and select Create. Note the support request number.
Step 4. Send the Request Number to Upwind
Email the support request number, the subscription ID, and the region to support@upwind.io. Upwind passes the request number to its Microsoft contacts, who can follow up on it internally.
Step 5. Tell Upwind Which VM Size Was Enabled
When Azure Support confirms the request, reply to Upwind with the VM size that Microsoft enabled. Upwind configures the scanner for that region to use the enabled size and redeploys it. You do not need to redeploy anything yourself.
To confirm the change on your side, run the command from Step 1 again. The enabled size shows an empty restrictions list.
Troubleshooting
Azure Support Asks for a Quota Request Instead
Explain that the VM sizes return NotAvailableForSubscription from the Resource SKUs API and that the vCPU quota is already sufficient, and attach the output from Step 1. If the request is still redirected, contact Upwind with the support request number.
Azure Support Cannot Enable the Requested Sizes
Ask which general purpose sizes Microsoft can enable in the region that meet the requirements in the request, and send the answer to Upwind before you accept it. Upwind confirms whether the scanner can run on the size offered.
The Scanner Is Still Not Deployed After the Size Is Enabled
The scanner does not pick up a newly enabled size on its own if the size is outside the list it tries by default. Make sure that you sent Upwind the enabled size, as described in Step 5.
For further assistance, contact support@upwind.io.