Deployment slots on Azure WebApp

孤人 提交于 2019-12-12 03:38:26

问题


What exactly are deployment slots on Azure WebApp's? Are they separate websites on the same VM/IIS hosting the main webapp?

We currently use them and I understand what they do. Just want to understand what's behind the scenes.


回答1:


You are right. Deployment slots are separate websites on the same VM that hosts your App service. That is why usage on one slot affects all other slots on the same app service as they are working under shared resources.




回答2:


The underlying Infrastructure layer of the App Service Plan is abstracted from documentation. But there's a simple trick to validate your understanding.

Go to Advanced Tools from your WebApp Blade Kudu->Debug Console-> CMD

This opens up the command Prompt. Now Type 'hostname'. You will now see the hostname of the machine running your webapp

Now try this on all WebApp Solots. You will notice that the machine name for all your WebApp Slots is the same as that of the WebApp itself.

This can logically conclude that the slots are part of the same machine as that of the WebApp



来源:https://stackoverflow.com/questions/38252716/deployment-slots-on-azure-webapp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!