Accessing an elastic instance

Still need help?

The Atlassian Community is here for you.

Ask the community

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.

On this page:

Using SSH

To access your elastic instance using SSH:

  1. Navigate to the desired elastic instance, as described on Viewing an elastic instance.
  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.'

Using SCP

Note, you can also use SCP to upload files to your elastic instance.

To access your elastic instance using SCP:

  1. Navigate to the desired elastic instance, as described on Viewing an elastic instance.
  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. Execute the text in your terminal to download the logs from your elastic instance.

Notes

  • Permission issues for SSH access — If you are experiencing permission issues when attempting to access your elastic instance via SSH, you may need to use the root user or modify permissions on your Elastic Bamboo private key file. See this FAQ for further details.
Last modified on Dec 15, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.