Azure Function使用哪个Linux版本作为其执行环境的基本操作系统?

huangapple go评论63阅读模式
英文:

Which linux version is Azure Function using as the base operating system for its execution environment?

问题

Azure Functions uses a customized version of the Linux operating system called Azure Functions Runtime. The specific version of Linux used by Azure Functions may vary depending on the runtime version and the underlying infrastructure.

英文:

Coming from AWS Lambda and we are migrating to Azure now...

AWS Lambda uses Amazon Linux 2 as the base operating system for its execution environment.

I need to be careful because I need to provide extra linux / ubuntu library executables to my function, and the versions of the shared libraries I have provided might be built for a different linux version.

As for Azure, which linux version is Azure Function using as the base operating system for its execution environment?

答案1

得分: 1

默认情况下,在Linux操作系统下创建的Azure函数使用的是Debian Linux版本。

要检查函数应用程序的Linux版本,请执行以下步骤:

  1. 访问Azure门户。
  2. 转到“开发工具” > “高级工具” > “SSH”。
  3. 运行以下命令:
cat /etc/os-release

执行上述命令后,您将获得Linux版本的输出结果。

请注意,高级工具中的Kudu控制台仅适用于高级函数层和应用服务计划层,不支持按消耗计费的计划。

英文:

By default Azure function created under Linux OS uses Debian Linux version.

In order to check the Linux Version of your Function app.

Visit Azure Portal> Development Tools > Advanced Tools > SSh > and run the command like below:-

cat /etc/os-release

Output:

Azure Function使用哪个Linux版本作为其执行环境的基本操作系统?

> Note- Kudu console in Advanced Tools is only available in Premium Functions tier and App Service plan tier. It is not supported in Consumption Based plan.

huangapple
  • 本文由 发表于 2023年7月27日 16:15:10
  • 转载请务必保留本文链接:https://go.coder-hub.com/76777762.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定