如何重复使用Azure功能高级计划?

发布于 2025-02-11 22:43:02 字数 149 浏览 0 评论 0原文

我有一个C#功能的Azure功能高级计划。我需要这个,因为我的功能需要在VNET中部署。现在,我需要部署另一个Python功能。我可以重新使用我的高级计划吗?如果我正确理解,那是一个永远运行的“服务器”,但触发函数时仅“使用”。运行两个这样的服务器将很昂贵,并且对于我的功能而言过高。

I have an Azure Function Premium plan for a C# function. I need this because my function needs to be deployed inside a VNET. Now I need to deploy another Python function. Can I reseuse my Premium plan? If I understand correctly it's a "server" which is running forever but which is only "used" when a function is triggered. Running two such a servers will be expensive and overkill for my functions.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

赏烟花じ飞满天 2025-02-18 22:43:02

是的,您可以在同一高级托管计划中运行多个Azure功能应用程序,但是限制是它们都应该在Windows或Linux 的同一操作系统上运行。

运行两个这样的服务器将很昂贵

,它是由于预热的实例而始终准备的,但价格可预测的。

关于Azure功能的主要三个因素是应用程序见解,网络流量和存储帐户

根据我的经验,

  • 存储帐户被Azure功能用于其内部状态,在这种状态下,这些成本可以忽略不计。
  • 当功能发送流量外部世界(出口流量)时,网络费用将发生,这通常很低,但可能会增加高量数据的成本Azure函数。
  • 应用洞察成本是我们必须监视和优化的主要因素。请参阅这几个解决方案( thread1 & thread2 )用于优化Azure功能的成本 - 应用程序洞察力。

Yes, you can run multiple Azure Function Apps in the same premium hosting plan, but the limitation is they should both run on same operating system either windows or Linux.

Running two such a servers will be expensive

Yes, it is expensive because of pre-warmed instances and always ready instances but predictable pricing.

The main 3 factors considered on Azure Functions are Application Insights, Network Traffic and Storage Account.

As per my experience,

  • Storage account is used by Azure functions for its internal state in which these costs are negligible.
  • When the functions are sending the traffic the outside world (Egress traffic), then the networking fees would occur which is usually low but may raise cost for high-volume data sending by the Azure Function.
  • Application Insights cost is the main factor we have to monitor and optimize. Refer to these few workarounds (Thread1 & Thread2) for optimizing cost in Azure Function - App Insights.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文