Skip to main content

Check the Availability of the Microsoft Azure VM Model

To ensure that you have enough Microsoft Azure capacity for your Microsoft Azure Edge, test the availability of the Microsoft Azure VM model and check the regional CPU output.

The procedure that follows is advised in Microsoft Azure Capacity Requirements. The steps include command and output examples. The commands test for the availability of the Microsoft Azure VM model that will be used for the Horizon Edge Gateway across all availability zones (1,2,3) in a given region.

Procedure

  1. Run a command to acquire the regional SKU restrictions for a machine type, for example Standard_D2, as illustrated by the following generic example and the specific example that follows it.

    az vm list-skus --location <azure_region_where_edge_is_being_deployed> --size Standard_D2 --all --output table 
    

    The following code example is a specific test for regional restrictions in location westeurope.

    az vm list-skus --location westeurope --size Standard_D2 --all --output table
    
    

    Output examples of the preceding command follow. The first example is of a successful result, indicating no restrictions. The second example is of a failed result, indicating existing restrictions.

    • Output of a Successful Result - No Restrictions Exist

      ResourceType     Locations    Name                  Zones    Restrictions
      ---------------  -----------  --------------------  -------  --------------
      virtualMachines  westeurope   Standard_D2_v3        1,2,3    None
      
      
    • Output of a Failed Result - Restrictions Exist

      ResourceType     Locations    Name                  Zones    Restrictions
      ---------------  -----------  --------------------  -------  --------------
      virtualMachines  westeurope   Standard_D2           1,2,3    'NotAvailableForSubscription, type: Zone, locations: westeurope, zones: 1,2,3']
      
      
  2. Run a command to acquire the total regional CPU restrictions, as illustrated by the following generic example and the specific example that follows it.

    az vm list-usage --location <azure_region_where_edge_is_being_deployed> -o table
    
    

    The following code example is a specific test for total CPU regional restrictions in location westeurope.

    az vm list-usage --location westeurope -o table
    
    

    Output examples of the preceding command follow. The first example is of a successful result in that CurrentValue of Total Regional vCPUs is 25 or greater (26 in this case), indicating no restrictions. The second example is of a failed result in that Limit of Total Regional vCPUs is less than 25 (10 in this case), indicating restrictions.

    • Output of a Successful Result - No Restrictions Exist

      Name                                      CurrentValue    Limit
      ----------------------------------------  --------------  -------
      Availability Sets                         1               2500
      Total Regional vCPUs                      26              310
      Virtual Machines                          11              25000
      Virtual Machine Scale Sets                1               2500
      Dedicated vCPUs                           0               3000
      Cloud Services                            0               2500
      
      
    • Output of a Failed Result - Restrictions Exist

      Name                                      CurrentValue    Limit
      ----------------------------------------  --------------  -------
      Availability Sets                         0               2500
      Total Regional vCPUs                      0               10
      Virtual Machines                          0               25000
      Virtual Machine Scale Sets                0               2500
      Dedicated vCPUs                           0               3000
      Cloud Services                            0               2500
      
      

What to do next

Questa pagina è stata utile?

Invia un feedback su questo argomento

Questo argomento è stato utile?

Non includere informazioni personali o riservate.

Generazione del link…