Spot VM validation fails

Jens 6 Reputation points
2021-08-16T03:01:00.18+00:00

No matter which region, size, eviction policy - I can't get a Spot VM request validated through the portal. See the detailed error below.

Spot VMs should be available for my subscription type (Pay-As-You-Go, MS-AZR-0044P).
I'm not over any vCPU quotas and I have confirmed availability in the region using az CLI as suggested in the rror message (https://aka.ms/azureskunotavailable)

When I go back, untick the Spot option the request validates and the machine is created.

Any help or suggestion appreciated!


{
"code": "InvalidTemplateDeployment",
"message": "The template deployment failed with error: 'The resource with id: '/subscriptions/67a6d7bd-a7fd-4dc5-bcf7-ff698bb224d1/resourceGroups/strawberry_group_08160226/providers/Microsoft.Compute/virtualMachines/strawberry' failed validation with message: 'The requested size for resource '/subscriptions/67a6d7bd-a7fd-4dc5-bcf7-ff698bb224d1/resourceGroups/strawberry_group_08160226/providers/Microsoft.Compute/virtualMachines/strawberry' is currently not available in location 'germanywestcentral' zones '' for subscription '67a6d7bd-a7fd-4dc5-bcf7-ff698bb224d1'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.'.'."
}

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,157 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. Cristian SPIRIDON 4,471 Reputation points
    2021-08-16T03:59:30.293+00:00

    Hi,

    There are some limitations for spot VM.
    Are you comply with them?

    Hope this helps!

    1 person found this answer helpful.
    0 comments No comments

  2. Karl Tremain 86 Reputation points Microsoft Employee
    2021-08-20T10:56:45.543+00:00

    As your error doesn't give the size you were attempting to deploy, giving an accurate answer is difficult.
    Be aware that some VM sizes aren't available in all regions, maybe you can check the VM size you requested here:
    https://azure.microsoft.com/en-us/pricing/details/virtual-machines/linux/#pricing
    I note your error gives region as "germanywestcentral" where Da-v4 isnt available in that region for example


  3. Pieter Smit 1 Reputation point
    2022-10-20T21:47:26.43+00:00

    Why is the Azure returned error so bad, should it not mention that SPOT is not available for whatever reason.

    rather than

    The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions:

    0 comments No comments