How can I determine what percentage of my Azure resources are covered by either Reservations or Savings Plans?

DC20005 1 Reputation point


I'm trying to find out how I can get an overall view of what percentage of resources within my Azure subscriptions is covered by some kind of savings plan or reservation plan. The general idea is to see what may not be currently covered to see what percent we can shore up and ensure coverage is in. I see reports about percent of utilization but that represents resources already covered by plans. I'm trying to see the whole picture of all our resources and which are covered by a plan and which aren't. I have a diverse environment with EC2's, RDS, as well as Data Bricks, and the usual array of microservices, for which there are savings plans. So I'm trying to get the high level overall picture of what's currently covered by one of our plans, and which resources which are eligible, are not yet covered. How can I obtain this?

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

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 39,886 Reputation points Microsoft Employee

    Hello @DC20005 Thank you for reaching out to us. Happy to answer your questions!

    I understand that you want to find out details of Azure resources that are either part of reserved instances or billed per Pay-As-You-Go.

    Reservation discounts are “use-it-or-lost-it” and applied to resource usage for that hour matching the attributes you select when you buy a reservation. There are several considerations that can impact which VM instances get the benefits (or do not get the benefits) – including the scope of reservation (shared versus single), instance size flexibility configuration, resource management operations like deallocation, deletion, scale etc., during the day. In those scenarios, Microsoft will try to match other resources (usage from VM instances) in the specified scope to apply the benefit (as long as there are matching resources towards the reservation during that hour, customers should get the benefit – otherwise they lose it). So when you are looking at a usage report at a daily grain, it is possible that you’ll see this behavior.

    Understand Azure Reserved VM Instances discount | Microsoft Learn

    For buying Reservations, I would recommend the below Learn articles:
    Determine what Azure reservation you should purchase | Microsoft Learn
    Buy an Azure reservation | Microsoft Learn

    For Reservation utilization (post purchase):
    API: Generate Cost Details Report - Create Operation - REST API (Azure Cost Management) | Microsoft Learn
    o Make sure to use “AmortizedCost” for CostDetailsMetricType in the request
    • UI (for quick analysis): View amortized reservation costs - Microsoft Cost Management | Microsoft Learn

    If you are looking to have this:
    Pre-purchase: You can buy reservations at “shared” scope for broader utilization of a reservation across your VM resources.
    Post purchase utilization: You can download amortized usage details and use “Pricing Model” == Reservation for the VM resources that got the reservation benefits. If you use “PricingModel == OnDemand”, it should include the superset of all usage that did not get the reservation benefits (note it is about usage and it is possible that some part of the daily usage of the same VM instance gets reservation benefits versus some not getting the benefits).
    o For quick analysis of the same, you can use Cost Analysis “Amortized Cost” view with above mentioned filters.

    For your reference:

    Hope this helps. Please reply if you need any further assistance!


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

    0 comments No comments