Azure Batch Service billing

Ihor Dyrman 181 Reputation points
2020-12-22T13:20:50.307+00:00

Hi, I have several questions about Azure Batch Service billing.

  • Is there any way to get a price for VM I want to create, programmatically, through Azure SDK?
  • The price for VM I want is 5$ per hour. If I'll remove VM after 20 minutes of using it, what price I'll need to pay? Per hour or per 20 minutes?
  • And when I'll need to pay that price? At the end of the month or after removing VM?

Thanks.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,052 questions
Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
301 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 94,706 Reputation points MVP
    2020-12-22T13:55:49.147+00:00

    Regarding #2:

    VMs (compute capacities) are charged per second.
    You example: 5$ x 20 minutes (1/3 hours) = 1,67$

    https://azure.microsoft.com/en-us/pricing/details/virtual-machines/windows/

    50448-payvmpersecond.jpg

    Regarding #3:
    You will be charged at the end of the billing period.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful