3

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.

huysmania
  • 1,054
  • 5
  • 11
A T
  • 81
  • 4

1 Answers1

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