This page last changed on Mar 08, 2009 by alui.

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

Please note, you can only access elastic instances that are running. You may need to configure the automatic termination of elastic instances.

To access your elastic instance via SSH,

  1. Click the 'Administration' link in the top navigation bar.
  2. Click the 'Instances' link in the left navigation column. The 'Manage Elastic Instances' screen will display.
  3. Click the name of the instance that you want to access, e.g. 'i-05ff716c'. The information for the instance will display.
  4. 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
  5. Execute the text in your terminal and you will have full SSH access to the Elastic Instance.
    You can also download the private key via the link in the 'SSH Access' section to access your elastic instance via SSH. Click the 'here' link 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.'
    Permission issues for SSH access
    If you are experiencing permission issues when attempting to access your elastic instance via SSH, you may need to modify permissions on your Elastic Bamboo private key file. See this FAQ for further details.

To access your logs via SCP,
You can also use SCP to upload files to your elastic instance.

  1. Click the 'Administration' link in the top navigation bar.
  2. Click the 'Instances' link in the left navigation column. The 'Manage Elastic Instances' screen will display.
  3. Click the name of the instance that you want to access, e.g. 'i-05ff716c'. The information for the instance will display.
  4. 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 ./
  5. Execute the text in your terminal to download the logs from your elastic instance.
Document generated by Confluence on Mar 09, 2009 17:06