onDemand cost for VMs running in reservations

Anil Kumar 520 Reputation points
2023-09-28T05:13:39.9933333+00:00

Hello,

We found multiple virtual machine in our estate which is running on reservation and ondemand. We checked cost break up and found ondemand cost is negligible (< 1 buck in a month). The question is why there is ondemand charges when VMs are in reservation. If VMs are really running onDemand for some time, why ondemand cost is so low?

Is reservation billed internally on hourly basis ? I meant if Azure find better opportunities to save cost by re-assigning the reservation to some other VM at 11:45AM, will azure re-assign the reservation immediately or wait till 12AM?

Given reservation is a billing mechanism, I think it should not be that much complicated instead Azure would wake up and decide which VMs are best candidate for reservation and bill them accordingly. VM without reservation would be billed wither on Saving plan or onDemand.

Applicate your Response. Thank you!!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,038 questions
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,733 questions
Azure Advisor
Azure Advisor
An Azure personalized recommendation engine that helps users follow best practices to optimize Azure deployments.
64 questions
0 comments No comments
{count} votes

Accepted answer
  1. kobulloc-MSFT 26,351 Reputation points Microsoft Employee
    2023-10-05T00:45:05.4666667+00:00

    Hello, @Anil Kumar !

    Why am I seeing a small On-demand Capacity Reservation bill when using both Reserved Instances and On-demand Capacity Reservation VMs?

    The billing team has the final say when it comes to billing related issues and you can always create a billing support ticket for answers regarding billing questions. To accurately answer this question, we would need to see the full billing details which we can't do in the forums however I do have a couple theories which may be helpful.

    Regarding how Reserved Instances are billed, it is an hourly use it or lose it system that recognizes partial hours used. In your case the VM would be reassigned and would not wait until the end of the hour. More detail and specific examples are available in the documentation:

    https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/understand-vm-reservation-charges#reservation-discount-for-non-windows-vms

    "In hour 1, instance 1 runs for 0.75 hours and instance 2 runs for 0.5 hours. Total usage for hour 1 is 1.25 hours. You're charged the pay-as-you-go rates for the remaining 0.25 hours."

    Screenshot of one applied reservation and two matching VM instances

    If you still have questions about your bill, I would recommend reaching out to the billing team by creating a billing support ticket. They'll have access to the details of your bill and will be able to provide a definitive answer.


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.