Microsoft Azure VM sizing for maximum reservation usage

Applies to

  • Partner Center
  • Azure portal
  • Partners in CSP

Determine the VM size for a customer’s Azure reservation

When buying Microsoft Azure reservations on behalf of your customers, you’ll need to choose a virtual machine (VM) sized to meet the customer’s computing needs. You can find this information using one of these methods:

  • Azure utilization API
  • The Azure portal
  • Azure PowerShell
  • The Azure Resource Manager (ARM) API

Instructions for using each of these methods are below. After you buy a reservation, the reservation discount is applied automatically to virtual machines matching the attributes and quantity of the reservation. You don’t need to assign the reservation to a VM.

Note

Reservation discounts don’t apply to classic or promotional VMs.

Important

To correctly identify the type and size of VM to buy on behalf of your customer, you must use one of the methods described below as the VM series type is not correctly displayed in Partner Center reconciliation files.

Get VM sizing information using the Azure utilization API

  1. Use the value for ServiceType attribute from additionalInfo in the API response to identify the VM size to buy.

  2. For more information, see Get a customer’s utilization records for Azure in the Partner Center API.

Get VM sizing information using the Microsoft Azure portal

  1. In Partner Center, go to your Customers page.

  2. Find the customer who wants to buy Azure VM reservations and then select the down arrow to expand the customer’s information. Select Microsoft Azure Management Portal to open the customer’s record in the Azure portal.

  3. Select Virtual machines from the portal menu and then select the VM for which you want to buy a reservation.

  4. On the VM’s detail page, find the size and region information, as illustrated below, and use this information to purchase the reservation in Partner Center.

    Size and region information on detail page

Get VM sizing information using Microsoft Azure PowerShell

Use the information in the image below to get the location and size of the VM for which you want to buy a reservation.

VM location and size

Get VM sizing information using the Azure Resource Manager (ARM) API

  1. Using the ARMClient or the ARM APIs, call the ARM client for the VM for which you want to buy a reservation.

  2. /subscriptions//resourceGroups//providers/Microsoft.Compute/virtualMachines/?api-version=2017-12-01

  3. The call returns the values for vmSize and location, as illustrated below.

    vmSize value location value

Verify Azure VM usage and reservation discount

After you purchase an Azure Reserved VM Instance on behalf of a customer, the discount for paying for VM space in advance is automatically applied to the virtual machines that match the attributes and quantity of the customer’s reservation.

You can verify the customer’s reservation usage and see which virtual machines the reservation discounts are applied to by using one of the following methods:

  • The Azure portal
  • Azure utilization API

Instructions for using each of these methods are below.

Note

Only the Azure utilization API shows which virtual machine the discount is being applied to.

Verify the customer’s reservation usage in the Microsoft Azure portal

  1. In Partner Center, go to your Customers page.

  2. Find the customer whose reservation discount and usage you want to verify and then select the down arrow to expand the customer’s information. Select Microsoft Azure Management Portal to open the customer’s record in the Azure portal.

  3. Select Reservations from the portal menu and then select the reservation you want to check usage for.

  4. On the Overview page check the reservation’s utilization graph, which shows how much of the reservation was applied to virtual machines.

    Note

    Utilization data may be delayed by up to 8 hours.

    a. If the reservation’s utilization is 100%, your customer is getting all the possible savings that the reservation purchase can provide.

    b. If the reservation’s usage is 0%, the discount is not being applied to any virtual machine.

    c. If the reservation’s usage is between 1% and 99%, there are unused benefits.

  5. To avoid this situation, determine the correct size VM to support the customer’s computing needs before making the purchase.

Verify the customer’s reservation usage with the Azure utilization API

Note

Only the Azure utilization API shows which virtual machine the discount is being applied to.

You can get reservation usage data with the Azure utilization API to verify that the customer is getting the reservation discount and to see which VMs (virtual machines) the discount is applied to. Compare Example A to Example B to see how to verify a customer’s reservation usage.

Reservation usage examples

  • The reservationId identifies the Azure reservation that was used to apply the discount to the VM.
  • consumptionMeter is the MeterId for the VM that has the reservation discount applied to it.
  • The ReservationMeter shows $0 cost since the reservation discount was applied.

For more information, see Get a customer’s utilization records for Azure in the Partner Center API.

Important

Software costs, such as Microsoft Windows Server, are not currently included in the price of a VM reservation and will appear as separate line items in the order record and on your invoice. However, if a customer has the Azure Hybrid Use Benefit, the software costs will not be applied. For more information, see Windows software costs not included with Reserved Instances.

Azure reservations resources

For information about Read this
Azure reservations in CSP overview Sell Microsoft Azure Reserved VM Instances
Purchasing Azure reservations for your customers in Partner Center Buy Azure reservations
Managing Azure reservations in Partner Center Managing Azure reservations in Partner Center
Purchasing Azure reservations in the Azure portal Prepay for virtual machines with Azure Reserved VM Instances in the Azure Help
Managing Azure reservations in the Azure portal Manage reserved VM instances in the Azure Help
Purchasing Azure reservations using the Partner Center API Purchase Azure Reserved VM Instances in the Partner Center developer documentation