Accessing an elastic instance

このページの内容

お困りですか?

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

コミュニティに質問

It's possible to connect directly to a running elastic instance to access logs or upload files. Access is available through secure shell (SSH) and file transfer is enabled through secure copy (SCP).

You can only access already running elastic instances. To do that, you may need to configure the automatic termination of elastic instances.

このページの内容

Using SSH

To access your elastic instance using SSH:

  1. Navigate to an elastic instance as described in Viewing an elastic instance.
  2. Run the command listed in the 'SSH Access' section. For example:

    ssh -i elasticbamboo.pk <username>@ec2-68-111-185-197.compute-1.amazonaws.com

    Where <username> is a correct username. Common values are "ubuntu" (for the Stock Ubuntu Elastic Image and images derived from it) and "ec2-user" (for old Stock Elastic Images and images based on Amazon Linux).

    You can also download the private by using the link in the SSH Access section of Viewing an elastic instance to access your elastic instance via SSH. You can download the SSH private key file by clicking the link provided on-screen.

If you are experiencing permission issues when attempting to SSH into your elastic instance, you may need to log in as root or modify the permissions on your Elastic Bamboo private key file. See this FAQ for more details.


Using SCP

You can use SCP to download logs or upload files to your elastic instance.

To access your elastic instance using SCP:

  1. Navigate to the an elastic instance as described in Viewing an elastic instance.
  2. Run the command listed in the Accessing logs section. For example:

    scp -i elasticbamboo.pk <username>@ec2-68-111-185-197.compute-1.amazonaws.com:/home/bamboo/bamboo-elastic-agent.out ./

    Where <username> is a correct username. Common values are "ubuntu" (for the Stock Ubuntu Elastic Image and images derived from it) and "ec2-user" (for old Stock Elastic Images and images based on Amazon Linux).

最終更新日 2022 年 6 月 30 日

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

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