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

This widget could not be displayed.

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.

This widget could not be displayed.

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 :(

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 59m ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

19 views 0 3
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