DEV Community

Working with Azure VM Spot instance

Olivier Miossec on March 01, 2020

Azure Spot instance is a cost-saving option to run a virtual machine in Azure. The VM runs when there is unused capacity on Azure infrastructure fo...
Collapse
 
bdot42 profile image
Bdot42 • Edited

Sharing this because I lost a few hours: If you cannot deploy spot instances (any size or zone) but always get this error: "The requested size for resource '...' is currently not available in location '...' zones '' for subscription '...'. Please try another size or deploy to a different location or zones.":
The issue may have nothing to do with zone or size. You need to have an eligible subscription model, like "Enterprise Agreement". A Visual Studio subscription does not seem to be part of the good ones. The VM creation page is missing a check for the proper subscription, and the wrong error message keeps you in the dark ...

Collapse
 
zfauser profile image
Zach

Thanks a lot for this

Collapse
 
mohsin708961 profile image
{{7*7}}

Awesome