0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Kudu で任意のインスタンスに接続する方法

Posted at

概要

デフォルトでは最初に接続した後は同じインスタンスに接続されてしまいます
障害調査の場合などに任意のインスタンスに接続したい事がありその方法を記載します

詳細は以下のサイトに記載されていますのでこちらをご参考ください
Azure App Service: How to connect to the Kudu site of a specific instance

方法

  • Kudu に接続後 Cookie 名 ARRAffinity の値を接続したい InstanceID に変更する

Chrome Developer Tool を使えば Application の Cookies の箇所から変更可能です
Value の値をダブルクリックすることで直接編集できます

ChromeDeveloperTool.png

InstaceID 調査方法

接続したい InstanceID がわからないとそもそも接続できません
InstanceID は Azure Resource Explorer を使って調べることが可能です

  • 画面上部の Search ボックスに Web Apps名 を入れれば検索可能
    • 同じ名前のものが複数ある場合、Web Apps 名の後ろに (Microsoft.Web/Sites) と表示されているものを選択
  • Resource Explorer 左側の instances のメニューを選択
  • 表示された Json の value[].properties.name の値が InstaceID となります

ResourceExplorer.png
※画面は表示上値を切り取って表示していますが、実際の値はもっと長いです

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?