How to Map Azure vm cost to vm license cost from cost details data

Jagaari Hemanth 5 Reputation points
2024-05-11T14:17:16.05+00:00

The Virtual Machines MeterCategory gives on details for vm running in not have any details about the license its using software its using and how much usage cost its causing .how to map each vm with its license from cost details data

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,130 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 39,136 Reputation points Microsoft Employee
    2024-05-16T23:40:21.6133333+00:00

    Hello @Jagaari Hemanth Thank you for posting your question on Microsoft Q&A platform. Happy to help!

    From the title of the thread, I understand that you are looking for information on "How to Map Azure vm cost to vm license cost from cost details data"

    We have three sorts of meters for VM:

    1. Meter for Compute + License included -> Standard Paygo scenario
    2. Meter for Compute only -> Used for Opensource OS or AHB scenario
    3. Meter for License only -> Used for RI/SP scenario

    The tricky part is in scenario 1 to separate the Compute from the license cost. This is possible, but IMO only if you use your own reporting.

    Following steps should help you map each VM with its license from cost details data, using Azure Cost Management and Billing.

    Go to the Azure portal and navigate to the "Cost Management + Billing" page.

    1. Select the subscription that contains the VMs that you want to map with their licenses.
    2. Click on the "Cost analysis" tab and select the "Usage + charges" view.
    3. Add the "MeterCategory" column to the view by clicking on the "Add columns" button and selecting "MeterCategory".
    4. Filter the view to show only the VMs that you want to map with their licenses.
    5. Export the usage and charges data to a CSV file by clicking on the "Export" button and selecting "Export to CSV".
    6. Open the CSV file in a spreadsheet program such as Microsoft Excel.
    7. Use the "MeterCategory" column to identify the VMs that are running and the software that they are using.
    8. Use the "UsageQuantity" and "PreTaxCost" columns to calculate the usage cost for each VM.
    9. Use the Azure portal or other tools to identify the license that is associated with each software that the VMs are using.

    By following these steps, you can map each VM with its license from the cost details data. It is important to note that the license information may not be available in the cost details data and may need to be obtained from other sources.

    Hope this helps. Please write back to us if you have any questions!


    If the response helped, do "Accept Answer" and up-vote it