Skip to content

Describe Azure compute and networking services - Exercise - Create an Azure virtual machine - Task 2: Create a Linux virtual machine #32628

@LADCode2021

Description

@LADCode2021

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

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAuto-ResolveAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotPossible-SolutionSimilar-Issueact-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions