エラスティック インスタンスにアクセスする

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

実行中のエラスティック インスタンスに直接接続して、ログにアクセスしたり、ファイルをアップロードしたりすることができます。アクセスは SSH (セキュア シェル) 経由で利用でき、ファイル転送は SCP (セキュア コピー) 経由で有効化されます。

アクセスできるのは、実行中のエラスティック インスタンスだけです。エラスティック インスタンスの自動終了を設定しなければならない場合があります。

このページの内容

SSH を使用する

SSH を使用してエラスティック インスタンスにアクセスする方法は次のとおりです。

  1. エラスティック インスタンスの表示」の説明に従って、目的のエラスティック インスタンスに移動します。
  2. Copy the command text listed under the 'SSH Access' section. It will be similar to the following example command text:
    ssh -i /opt/bamboo/home/xml-data/configuration/elasticbamboo.pk root@ec2-68-111-185-197.compute-1.amazonaws.com
  3. Execute the text in your terminal and you will have full SSH access to the Elastic Instance.
    (info) You can also download the private key via the link in the 'SSH Access' section to access your elastic instance via SSH. Click 'here' in the following text on screen to download the key: 'You can also download the SSH private key file from here and use the private key to access the EC2 instance.'

SCP を使用する

SCP を使用してエラスティック インスタンスにファイルをアップロードすることもできます。

SCP を使用してエラスティック インスタンスにアクセスする方法は次のとおりです。

  1. エラスティック インスタンスの表示」の説明に従って、目的のエラスティック インスタンスに移動します。
  2. Copy the command text listed under the 'Accessing Logs' section. It will be similar to the following example command text:
    scp -i /opt/bamboo/home/xml-data/configuration/elasticbamboo.pk root@ec2-68-111-185-197.compute-1.amazonaws.com:/home/bamboo/bamboo-elastic-agent.out ./
  3. ターミナルでテキストを実行して、エラスティック インスタンスからログをダウンロードします。

注意

  • SSH アクセスの権限の問題 — SSH 経由でエラスティック インスタンスにアクセスを試みたときに権限の問題が発生する場合は、ルート ユーザーを使用するか、Elastic Bamboo 非公開キー ファイルの権限を変更しなければならない場合があります。詳細は、この FAQ をご確認ください。
最終更新日: 2021 年 12 月 15 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.