英文:
Is azure charging by hour or by month on an app service plan?
问题
Azure是否只对我使用的小时数收费,还是会按整月的价格收费?例如,如果我选择Azure Basic B1计划,而我的网站在那个月只被访问了2小时,我只会被收取那2小时的费用,还是需要支付完整的54美元价格?谢谢!
我购买了B1计划,但我不知道即使我的网站在一个月中几乎没有被使用,是否还会被收取完整的费用。
英文:
Does anyone know if Azure charges me only for the hours that the website was used or it charges the full price for a month? For example, if I go with Azure Basic B1 plan and my website was accessed only 2 hours in that month, do I get charged only for that 2 hours or do I pay the full 54$ price?
Thanks!
I've purchased B1 plan but I don't know if I will be charged for the full price even if my website was barely used in a month.
答案1
得分: 0
你将被收取整个月的费用。
每个 Azure 服务都有不同的价格模型,例如 Azure Function 采用消耗层模型。App Service 计划,包括 B1 计划,无论是否有人访问您的站点都会收费。
https://azure.microsoft.com/en-us/pricing/details/app-service/windows/
我可以建议您考虑将您的站点容器化并托管在 Azure 容器应用中。将副本设置为缩减到 0,您会发现在大约 10 分钟的不活动后,您的应用将缩减到 0,您将停止支付活动 vCPU 费率,而开始支付空闲使用费率。还有一个慷慨的免费层。
英文:
You will be charged for the entire month.
Each Azure service has a different price model, Eg. Azure Function has a consumption tier. The App Service plans, including B1 plan charges whether or not someone accesses your site.
https://azure.microsoft.com/en-us/pricing/details/app-service/windows/
Can I suggest that you look at Containerising your site and hosting in Azure Container Apps. Set the replica to scale down to 0 and you'll find that after ~10 minutes of inactivity your app will scale to 0 and you'll stop paying the active vCPU rate and pay the idle usage rate. There's also a generous free tier.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论