azure-devops - 使用自定义脚本扩展和 Azure DevOps 将 Web 应用程序部署到 azure scaleset
问题描述
要将 Web 应用程序部署到 Azure 规模集,有 2 种基本方法
1) 不可变的 VHD,但我认为这是低效的,因为每次构建等待 24 分钟是不可接受的。
2) 自定义脚本扩展似乎是一种可能性,但不确定我是否会将其用作 Azure Devops 中 CD 的一部分并将我的构建工件部署到 Azure Scaleset
解决方案
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.
推荐阅读
- angular - 剑道下拉菜单的默认值未设置为角度
- android - 复选框的加载速度是否比开关慢?
- aws-lambda - 使用 AWS cognito 和 AWS Lambda 的服务到服务工作流程
- c++ - 我不明白如何递归编写函数
- xamarin.ios - iOS 类库可以有字体资源吗?
- python - python中的组合过滤器()不能按预期工作
- html - 带有两个标题行的粘性表格标题
- html - 得到未捕获的错误:[$injector:modulerr] http://errors.angularjs.org/1.7
- python - C.UTF-8 和 en_US.UTF-8 语言环境有什么区别?
- java - 如何从 gradle 中的 test-jar 运行测试?