It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Help Creating a Custom Elastic Image for onDemand Bamboo

I release this might be an EC2 issue, but asking here just in case since this is an Atlassian image.

I'm following the details from http://confluence.atlassian.com/display/BAMBOO/Creating+a+Custom+Elastic+Image

I am trying to use the 3.0.4 image as a base so I can upgrade it to PHP 5.3.x since it uses PHP 5.2.6, but I'm having problems starting the instance. It keeps going from pending to terminated (sometimes during refreshing I see it running briefly)

ec2-run-instances ami-0671896f -k my_keypair

In the AWS console the State Transition Reason is: Client.InstanceInitiatedShutdown: Instance initiated shutdown

I also tried starting the instance from AWS console using their AMI wizard to the same result.

Here is the system log where it doesnt like ssh setup (or lack of):

2011-12-02 20:21:08 (7.48 MB/s) - `ec2-ami-tools.noarch.rpm' saved [172568/172568]

ec2: Retreived ec2-ami-tools from S3
	package ec2-ami-tools-1.4-0.2.noarch is already installed
ec2: Preparing...                ##################################################
ec2: ec2-ami-tools already up to date
ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
ec2: 2048 11:{key_string_here}:64 /etc/ssh/ssh_host_key.pub
ec2: 2048 99:{key_string_here}:a0 /etc/ssh/ssh_host_rsa_key.pub
/etc/ssh/ssh_host_dsa_key.pub: No such file or directory
ec2: -----END SSH HOST KEY FINGERPRINTS-----
This instance will be shut down immediately.

I edited out the key string above

Any ideas/pointers?

Is the onDemand Bamboo image different from ami-0671896f?

3 answers

1 accepted

0 votes
Answer accepted

Instances based on Bamboo images shut down if they are run outside of Bamboo. That's what causes the shutdown, not the ssh errors. Just run that image from Bamboo and everything should work.

0 votes

I can confirm that ami-0671896f is the correct default image for AOD at this time. I'm not sure why you're receiving those key problems though :(

Does JIRA launch that AMI with any other options that would provide those keys?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published yesterday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

69 views 0 9
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you