Azure virtual machine

Check All Virtual Machine Sizes for All Azure Locations

Q: How can I see the virtual machine sizes available at each Azure location?

A: The following PowerShell code outputs a table of each Azure location and the virtual machine sizes that are supported at that location. You need to have the Azure PowerShell cmdlets installed.

$azurelocations = Get-AzureLocation
$out = @()
foreach ($location in $azurelocations)
{
    $VMSizes = $location.VirtualMachineRoleSizes
    $VMSizesStr = $VMSizes -join ', '
    $props = @{
        Name = $location.Name
        VMSizes = $VMSizesStr}
    $out += New-Object PsObject -Property $props
}

$out | Format-Table -AutoSize -Wrap Name, VMSizes

The following is example output:

PS C:\> $out | Format-Table -AutoSize -Wrap Name, VMSizes

Name             VMSizes 
----             ------- 
South Central US A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13, 
                 Standard_D14, Standard_D2, Standard_D3, Standard_D4 
Central US       A5, A6, A7, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13, 
                 Standard_D14, Standard_D2, Standard_D3, Standard_D4 
East US 2        A5, A6, A7, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13, 
                 Standard_D14, Standard_D2, Standard_D3, Standard_D4 
East US          A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13, 
                 Standard_D14, Standard_D2, Standard_D3, Standard_D4 
West US          A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13, 
                 Standard_D14, Standard_D2, Standard_D3, Standard_D4 
North Central US A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13, 
                 Standard_D14, Standard_D2, Standard_D3, Standard_D4 
North Europe     A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13, 
                 Standard_D14, Standard_D2, Standard_D3, Standard_D4 
West Europe      A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13, 
                 Standard_D14, Standard_D2, Standard_D3, Standard_D4 
East Asia        A5, A6, A7, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13, 
                 Standard_D14, Standard_D2, Standard_D3, Standard_D4 
Southeast Asia   A5, A6, A7, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13, 
                 Standard_D14, Standard_D2, Standard_D3, Standard_D4 
Japan West       A5, A6, A7, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small, Standard_D1, Standard_D11, Standard_D12, Standard_D13, 
                 Standard_D14, Standard_D2, Standard_D3, Standard_D4 
Japan East       A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small 
Brazil South     A5, A6, A7, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, ExtraLarge, ExtraSmall, Large, Medium, Small
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish