Azure VMSS 上的云初始化和自定义脚本扩展

Cloud init and custom script extension on azure VMSS

出于某些充分的原因,我需要在 VMSS 上有一个 cloud-init 进程和一个自定义脚本扩展。 cloud-init 进程旨在 bootstrap 基础 VM 配置,例如强化工具等,而自定义脚本旨在部署特定于应用程序的代码。

我的问题是如果我都按什么顺序 运行? cloud-init 进程是否首先 运行s 和自定义脚本扩展 运行s 之后? 此外,如果我的 VMS 上有多个扩展,例如 DSC 扩展,带有自定义脚本和监控代理。他们都是同时 运行 吗?

My question is if I both in which sequence do they run?

cloud-init 进程将首先 运行。然后自定义脚本将运行之后。

Also, if I have multiple extension on my VMS such as the DSC extension, with custom scripts and monitoring agent. do they all run at the same time?

不,他们会运行一个接一个。见 VM extensions sequence in VMSS.