Skip to content

[Feature Request] Change default VM size for az vm create and az vmss create from Standard_DS1_v2 to Standard_D2s_v5 #33170

@haagha

Description

@haagha

Summary

The default VM size for az vm create (--size) and az vmss create (--vm-sku) is currently Standard_DS1_v2, which is an older-generation SKU. This should be updated to Standard_D2s_v5 to align with modern VM families and improve the out-of-box experience for users.

Current State

Command Parameter Current Default
az vm create --size Standard_DS1_v2
az vmss create --vm-sku Standard_DS1_v2

Requested Change

Update both defaults to Standard_D2s_v5, which is the current-generation general-purpose v5 size offering better price/performance.

Justification

  1. Standard_DS1_v2 is a legacy SKU — The Dsv2-series is multiple generations behind and is not recommended for new workloads.
  2. Azure PowerShell already moved forwardNew-AzVM defaults to Standard_D2s_v3 today (source) and has a breaking change registered to move to Standard_D2s_v5 in v15.0.0.
  3. The breaking change is already registered in this repo_breaking_change.py registers the change from Standard_DS1_v2Standard_D2s_v5 for both vm create and vmss create, but with target_version=None. This means the warning is shown to users today with no timeline for the actual change.
  4. Standard_D2s_v5 provides better compute performance, lower cost per vCPU, and broader availability than the Dsv2-series.

Proposed Action

  • Set a concrete target_version for the registered breaking change in _breaking_change.py
  • Update the actual default values in the CLI to Standard_D2s_v5 in the targeted release

Environment

  • Azure CLI: 2.x (all current versions)
  • Affects: az vm create, az vmss create

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions