How to remove specific Azure Web App instance?
<p>I am testing auto scale in/out on Azure Web App. However, the auto-scaling rules don't have the ability to specify which instance to remove. I think the reason is obvious as the instances are started up dynamically.</p>

<p>The issue is I want to choose which instance to turn off for different reasons. From Azure Powershell I can get the instances that are running, but I can't find anything to remove specific instance for scale-in. Any help?</p>

<p>The reason for this requirement is the app does use session states(legacy issue) and not easy to remove that cheaply. I don't want to turn off the instance which is already under use, but only those ones which have none or under light load. Using <a href="https://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-session-state-caching/" rel="nofollow">Redis Cache for session</a> would be last consideration, but it would be expensive too.</p>