I have followed the instructions to run
ssh -i /path/elasticbamboo.pk ec2-user@XXXX.compute-1.amazonaws.com
but it seems that the key requires a password that I don't have. Where is this password stored, or do I need to create my own elastic instance and set up the bamboo agent manually?
Bamboo does not set up passphrases on private keys it generates. My guess is that someone from your organisation asked Atlassian support to put a private key supplied by you on the OnDemand instance.
Bamboo does not really need that key. You can go into the AWS Console on your account and regenerate it if you don't have access to the passphrase anymore. Optionally, ask the support to put the new key on your OD instance afterwards.
Did you try to follow the steps outlined in the following note (https://confluence.atlassian.com/display/AOD/Accessing+an+elastic+instance)?
Also, the password for instance that started up using stock images provided by Atlassian should be generated within few minutes. The password will then be shown in Bamboo itself. In case of any problem, perhaps you may try to retrieve this password from AWS console.
Anyway, you can raise a new support ticket for an advanced assistance.
You will need to download the key from Bamboo - it should be available within the same page as the provided SSH command.
Once you have it in your machine, you can alter the SSH command to include the path of the downloaded key e.g.:
Hope this helps.
Thanks for the answers, Paulo and Fahd. I have followed the instructions, and I have the key. My problem is that ssh then asks for the password for that key:
steve@hydra:~$ ssh -i ./elasticbamboo.pk ec2-user@XXXX.compute-1.amazonaws.com
Enter passphrase for key './elasticbamboo.pk':
Permission denied (publickey).
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs