首页 > 解决方案 > 使用自定义脚本扩展和 Azure DevOps 将 Web 应用程序部署到 azure scaleset

问题描述

要将 Web 应用程序部署到 Azure 规模集,有 2 种基本方法

1) 不可变的 VHD,但我认为这是低效的,因为每次构建等待 24 分钟是不可接受的。

2) 自定义脚本扩展似乎是一种可能性,但不确定我是否会将其用作 Azure Devops 中 CD 的一部分并将我的构建工件部署到 Azure Scaleset

标签: azure-devopsazure-vm-scale-set

解决方案


Here are tutorials about installing applications in virtual machine scale sets with the Azure CLI or Azure PowerShell.

This tutorial shows how to:

  • Automatically install applications to your scale set
  • Use the Azure Custom Script Extension
  • Update a running application on a scale set

You can refer to these tutorials for details. In addition,here is a template about deploying a Windows VM Scale Set with a Custom Script Extension. Hope this helps.


推荐阅读