How to get access to the specific instance of the scaled out to N instances Azure web app running a Linux container? Portal allows to SSH into one of the existing instances but never tells which one you are in.
Asked
Active
Viewed 1,192 times
3
-
Are you using ASE for scale out your App? – Wayne Yang May 11 '18 at 06:27
-
I am scaling application service plans @WayneYang-MSFT – A T May 14 '18 at 16:31
1 Answers
2
If you are using the Kudu-based web SSH (e.g. https://[appname].scm.[ase-name].p.azurewebsites.net/webssh/host):
There is an "ARRAffinity" cookie used by Kudu to decide what instance to connect to, you can manually change it to force a specific instance, it's a bit cumbersome but it does work, here are the instructions: https://blogs.msdn.microsoft.com/kaushal/2016/11/21/azure-app-service-how-to-connect-to-the-kudu-site-of-a-specific-instance/

Isaac Rosado
- 951
- 8
- 10