Does Azure Worker Roles get charged $$ when they are Sleeping?

前端 未结 3 826
难免孤独
难免孤独 2021-01-06 13:02

I\'m trying to figure out how to (roughly) calculate some expected costs for some worker roles I\'m thinking about creating.

TLDR;

3条回答
  •  轮回少年
    2021-01-06 13:58

    I know this is an old question, but I was doing some Azure pricing research and the accepted answer has a section that is no longer true.

    The question "If my Web or Worker role was deployed for less than an hour, how much do I get billed for?" and the answer mentions:

    Any partial clock hour is billed as a full hour if the deployment was longer than five minutes within one clock hour.

    The current pricing page has a FAQ which states this is incorrect.

    If my web or worker role was deployed for less than an hour, how much do I get billed for?

    And the answer states:

    Cloud services are billed based on the duration of time your service was deployed for. If your instance was deployed for less than an hour, or multiple hours plus some fraction of hour, you will be charged for that duration only. Azure does not round up the partial hour to full hour for billing—you pay for exactly the duration of time that your cloud services instance was in "running" state.

提交回复
热议问题