Hi @Pappu Yadav The error "Cloud Provider Resource Stockout" occurs when the requested VM size is unavailable in the selected region due to capacity restrictions. Since you're using a free Azure subscription, availability may be further limited.
Troubleshooting Steps
- Try a Different VM Size: Some VM sizes may be more readily available. You can check available SKUs in your region using the Azure CLI:
This will list VM sizes currently available inaz vm list-skus --location westus2 --output table
westus2
. - Deploy to a Different Region: If your preferred VM size isn't available in
westus2
, consider deploying to a nearby region with better availability, such ascentralus
oreastus
. - Check for Regional Capacity Fluctuations: Azure's VM availability can change, especially for free-tier accounts. You might have better luck during off-peak hours or in less saturated regions.
- Consider Upgrading to a Paid Subscription: Free-tier accounts often have limited access to certain VM SKUs. Upgrading to a paid plan can unlock more regions and VM types.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.