-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
The instructions tell you to use az vm create --resource-group "IntroAzureRG" --name my-vm --size Standard_D2s_v5 --public-ip-sku Standard --image Ubuntu2204 --admin-username azureuser --generate-ssh-keys
However, this brings traceback errors such as: Code: SkuNotAvailable Message: The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_D4ads_v5' is currently not available in location 'eastus'. Please try another size or deploy to a different location or different zone. See https://aka.ms/azureskunotavailable for details.
I have tried multiple different SKU's all getting the same error.
Related command
az vm create --resource-group "IntroAzureRG" --name my-vm --size Standard_D2s_v5 --public-ip-sku Standard --image Ubuntu2204 --admin-username azureuser --generate-ssh-keys
Errors
Code: SkuNotAvailable Message: The requested VM size for resource 'Following SKUs have failed for Capacity Restrictions: Standard_D4ads_v5' is currently not available in location 'eastus'. Please try another size or deploy to a different location or different zone. See https://aka.ms/azureskunotavailable for details.
Issue script & Debug output
N/A
Expected behavior
Should create Linux VM
Environment Summary
azure-cli 2.79.0 *
core 2.79.0 *
telemetry 1.1.0
Extensions:
ml 2.39.0
ssh 2.0.6
Dependencies:
msal 1.34.0b1
azure-mgmt-resource 23.3.0
Additional context
No response