简体   繁体   English

我们可以RDP /将第三方软件安装到Azure App Service Web App

[英]Can we RDP / install third-party software to Azure App Service Web App

I have read plenty of literature in this context (see links below). 在这种情况下,我已经阅读了大量文献(请参见下面的链接)。 The presence of classic vs new Azure management portal, Roles vs App Services, Azure Website vs Azure Web Apps only complicates the matter. 经典与新版Azure管理门户,角色与应用程序服务,Azure网站与Azure Web Apps的存在只会使事情变得复杂。 Although I believe I have good understanding of these terms and the latters are more or less improved re-incarnations of the formers in the above comparisons, the literature is written mostly using the former of these and not necessarily depicts the options available in the new Management portal. 尽管我相信我对这些术语有很好的理解,而在上述比较中,后者还是多少或多或少地改善了前者的含义,但文献大多是使用前者来编写的,不一定描述了新《管理层》中的可用选项。门户。

So what I am really looking forward to understand very clearly is: 因此,我真正希望非常清楚地理解的是:

  1. Can I RDP to Azure App Service Web App underlying compute resource? 我可以RDP到Azure App Service Web App基础计算资源吗?
  2. Can I install custom third party software components (eg Crystal Reports) to Azure App Service Web App underlying compute resource? 我可以将自定义第三方软件组件(例如Crystal Reports)安装到Azure App Service Web App基础计算资源吗?

Reference 1 参考1

Reference 2 参考2

Reference 3 参考3

Reference 4 参考4

Reference 5 参考5

Reference 6 参考6

While you cannot RDP into Web App instances, you can connect to them via kudu and get a command prompt, by visiting yoursite.scm.azurewebsites.net . 虽然您不能RDP进入Web App实例,但是可以通过kudu连接到它们,并通过访问yoursite.scm.azurewebsites.net获得命令提示符。 You can also get to this through the portal: 您也可以通过门户网站进行此操作:

kudu的工具刀片

This will give you several tools (such as process explorer, environment explorer, command prompt, and more). 这将为您提供几个工具(例如,进程资源管理器,环境资源管理器,命令提示符等)。 It's not an RDP replacement, as it's not designed to let you access specific instances. 它不是RDP的替代品,因为它并非旨在允许您访问特定实例。 It's also not the way you should be installing/changing software (aside from general testing). 这也不是您应该安装/更改软件的方式(除了常规测试之外)。 But... it's as close to RDP as you'll get, with web apps. 但是...它与Web应用程序一样接近RDP。 Here's what the console window looks like, which opens via the browser: 这是通过浏览器打开的控制台窗口的外观:

控制台窗口

RE:Can I RDP to Azure App Service Web App underlying compute resource? RE:我可以RDP到Azure App Service Web App基础计算资源吗?

No, you are not allow to RDP into the machine. 不,您不允许RDP进入计算机。 You application is running within a sandbox , depending on your plan, one machine might running multiple sandbox from different user. 您的应用程序正在沙盒中运行,根据您的计划,一台计算机可能会运行来自不同用户的多个沙盒。

RE: Can I install custom third party software components (eg Crystal Reports) to Azure App Service Web App underlying compute resource? RE:我可以将自定义第三方软件组件(例如Crystal Reports)安装到Azure App Service Web App基础计算资源吗?

No, the machine will upgrade periodically, content might be reset. 否,机器将定期升级,内容可能会重置。 Also user that app is running on will not have the privileged to install application. 此外,正在运行该应用程序的用户将无权安装该应用程序。 If your application is depending on other dependencies, eg asp.net web application, you should specify all dependencies during build time (nuget). 如果您的应用程序依赖于其他依赖项,例如asp.net Web应用程序,则应在构建时指定所有依赖项(nuget)。

Check the first two reference you provide, they are talking about Azure Virtual Machine, not Azure App Service, where Azure Virtual Machine is SaaS, Azure App Service is a PaaS. 检查您提供的前两个参考,它们谈论的是Azure虚拟机,而不是Azure App Service,其中Azure虚拟机是SaaS,Azure App Service是PaaS。 If you are looking for something in the middle, please try Azure Cloud Service , it supports RDP and I believe you should be able to install third party apps with on start script. 如果您正在寻找中间的东西,请尝试Azure Cloud Service ,它支持RDP,我相信您应该能够在启动脚本上安装第三方应用程序。

With App Service, you can't RDP or install 3rd party software. 使用App Service,您将无法RDP或安装第三方软件。

If you need to do that, look at Virtual Machines. 如果需要这样做,请查看虚拟机。 Another option is using Cloud Services' Web or Worker Role (look for the startup task). 另一个选择是使用Cloud Services的Web或辅助角色(查找启动任务)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM