List of Atlassian AMI IDs

Still need help?

The Atlassian Community is here for you.

Ask the community

Atlassian's AMIs (and hence, their IDs) may change with each release of Bamboo, including both major and minor releases. If you want to find out the AMI IDs for a version of Bamboo, this is the correct place.

To automatically find the correct AMI IDs for your Bamboo version, run the following script:

#!/bin/sh

if [ $# -eq 0 ]; then
  echo "Usage: `basename $0` [Bamboo version]"
  exit 0
fi

bambooVersion=$1
echo "Retrieving elastic image version for Bamboo ${bambooVersion}..."
elasticImageVersion="$(curl -v --silent -L https://maven.atlassian.com/content/groups/public/com/atlassian/bamboo/atlassian-bamboo/${bambooVersion}/atlassian-bamboo-$bambooVersion.pom 2>&1 | grep \<elastic-image.version\> | sed -e 's/<[^>]*>//g' -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')"

echo "Elastic image version is $elasticImageVersion"

curl -v --silent -L https://maven.atlassian.com/content/groups/public/com/atlassian/bamboo/atlassian-bamboo-elastic-image/$elasticImageVersion/atlassian-bamboo-elastic-image-$elasticImageVersion.ami 2>&1 | grep image.
echo "REMEMBER: Use the image from the appropriate region!"

If the script does not work for you, follow these instructions....
  1. Copy and paste the following URL in a web browser, replacing $BAMBOO_VERSION with the correct version number
    https://maven.atlassian.com/content/groups/public/com/atlassian/bamboo/atlassian-bamboo/$BAMBOO_VERSION/atlassian-bamboo-$BAMBOO_VERSION.pom
  2. In the resulting atlassian-bamboo-x.x.x.pom file (where x.x.x is your version of Bamboo). The image version/baseline is stored in elastic-image.version tag. For example, for version 5.9.7, the baseline was 4.2 . (<elastic-image.version>4.2</elastic-image.version>)
  3. Open the following URL in a web browser, where $ELASTIC_VERSION is the corresponding version you found before
    https://maven.atlassian.com/content/groups/public/com/atlassian/bamboo/atlassian-bamboo-elastic-image/$ELASTIC_VERSION/atlassian-bamboo-elastic-image-$ELASTIC_VERSION.ami
  4. The file with ami extension contains all stock image AMI ids. Make sure you choose the image from the correct region, ie

    image.US_EAST_1.EBS.x86_64.linux.Ubuntu=ami-1c247d74




Last modified on Jul 15, 2019

Was this helpful?

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