CPU 分钟/天天蓝色的解释
Explanation for CPU minutes/ day azure
如果我在 Azure App Service 上托管我的应用程序超过 60 分钟,即使我的应用程序不做任何处理,我是否会被收费?
费用取决于您为应用选择的定价方案。有多种计划可供选择。您可以选择免费计划并且不会产生任何费用,但该计划主要用于试验该平台。它不提供任何 SLA。
您可以在以下链接中找到有关定价的更多详细信息
是的,您的应用即使不消耗任何 CPU 也会产生费用,因为它已分配资源(虚拟机)并且 运行。
您可以使用 Azure Functions 实现无服务器,托管在消费计划中,并且只需为执行时间付费。它比那复杂一点,但本质上你不需要为空闲代码付费,我相信这就是你所追求的。
https://azure.microsoft.com/en-us/pricing/details/functions/
Functions are billed based on observed resource consumption measured in gigabyte seconds (GB-s). Observed resource consumption is calculated by multiplying average memory size in gigabytes by the time in milliseconds it takes to execute the function. Memory used by a function is measured by rounding up to the nearest 128 MB, up to the maximum memory size of 1,536 MB, with execution time calculated by rounding up to the nearest 1 ms. The minimum execution time and memory for a single function execution is 100 ms and 128 mb respectively. Functions pricing includes a monthly free grant of 400,000 GB-s.
在 URL 下可以找到一个非常详细的示例。
答案是否。
在“应用服务”->“应用服务计划”->“配额”下,您可以看到详细的使用情况明细,例如下面我几个小时前创建的网站示例,但仅显示 1.11 分钟的使用时间:
我从微软论坛 this post 的 AjayKumar-MSFT 的回答中得到了答案,然后自己进行了测试。
我的回答是否定的。如果 CPU 时间超过,将不收取任何费用,而站点将停止,它将在第二天的特定时间后运行。在 App Service -> App Service Plan -> Quotas 下,您可以获得 CPU 时间和内存的详细信息。配额中明确提到,托管在免费或共享应用服务计划中的应用程序受使用配额限制。如果超过任何配额,该站点将停止,直到该配额重置。您可以通过扩展应用服务计划来移除应用的配额。
如果我在 Azure App Service 上托管我的应用程序超过 60 分钟,即使我的应用程序不做任何处理,我是否会被收费?
费用取决于您为应用选择的定价方案。有多种计划可供选择。您可以选择免费计划并且不会产生任何费用,但该计划主要用于试验该平台。它不提供任何 SLA。 您可以在以下链接中找到有关定价的更多详细信息
是的,您的应用即使不消耗任何 CPU 也会产生费用,因为它已分配资源(虚拟机)并且 运行。
您可以使用 Azure Functions 实现无服务器,托管在消费计划中,并且只需为执行时间付费。它比那复杂一点,但本质上你不需要为空闲代码付费,我相信这就是你所追求的。
https://azure.microsoft.com/en-us/pricing/details/functions/
Functions are billed based on observed resource consumption measured in gigabyte seconds (GB-s). Observed resource consumption is calculated by multiplying average memory size in gigabytes by the time in milliseconds it takes to execute the function. Memory used by a function is measured by rounding up to the nearest 128 MB, up to the maximum memory size of 1,536 MB, with execution time calculated by rounding up to the nearest 1 ms. The minimum execution time and memory for a single function execution is 100 ms and 128 mb respectively. Functions pricing includes a monthly free grant of 400,000 GB-s.
在 URL 下可以找到一个非常详细的示例。
答案是否。
在“应用服务”->“应用服务计划”->“配额”下,您可以看到详细的使用情况明细,例如下面我几个小时前创建的网站示例,但仅显示 1.11 分钟的使用时间:
我从微软论坛 this post 的 AjayKumar-MSFT 的回答中得到了答案,然后自己进行了测试。
我的回答是否定的。如果 CPU 时间超过,将不收取任何费用,而站点将停止,它将在第二天的特定时间后运行。在 App Service -> App Service Plan -> Quotas 下,您可以获得 CPU 时间和内存的详细信息。配额中明确提到,托管在免费或共享应用服务计划中的应用程序受使用配额限制。如果超过任何配额,该站点将停止,直到该配额重置。您可以通过扩展应用服务计划来移除应用的配额。