使用先决条件部署到Azure ... [英] Deploying to Azure with Pre-Reqs...

查看:104
本文介绍了使用先决条件部署到Azure ...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的LightSwitch应用程序使用第三方dll,而该dll又取决于Microsoft Visual C ++ 2010可再发行组件包(x64)...

My LightSwitch app uses a third party dll that, in turn, depends on the Microsoft Visual C++ 2010 Redistributable Package (x64)...

将应用程序部署到Azure时,必须先将RDP部署到计算实例并安装VC运行时.似乎过了一会儿,Azure将我的应用程序移动到另一个实例,并且VC运行时不再可用.

When I deploy my app to Azure, I have to then RDP to the compute instance and install the VC runtime.  After a while, it seems, Azure moves my app to a different instance and the VC runtime is no longer available.

我如何使用预先要求部署LS应用程序,以便如果Azure决定移动我的应用程序,则预先要求随之移动?

How do I deploy the LS app with the pre-req so that if Azure decides to move my app, the pre-req moves with it?

谢谢.

J

http://digitalcamel.blogspot.com/

http://digitalcamel.blogspot.com/

推荐答案

您可以通过Azure VM自定义扩展解决此问题,该扩展将在部署VM后运行您指定的PowerShell脚本.然后,您需要做的是使用PowerShell自动执行需求,然后将其指定为部署中的自定义扩展 脚本.或者,您可以使用Azure管理部署门户从Gallery部署Azure VM时交互式地指定脚本,如下所示.

You can address this by Azure VM custom extension which will run your specified PowerShell script after a VM is deployed. What you need to do is then automate your requirements with PowerShell, followed by specifying it as a custom extension in your deployment script. Or you can interactively specify the script during deploying an Azure VM from Gallery with Azure Management Deployment Portal as shown below. HTH.


这篇关于使用先决条件部署到Azure ...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆