EBS Snapshot Attached To Default Windows Elastic Bamboo Instance

I followed the instructions here for creating an EBS Snapshot that attaches to a Default Bamboo Linux AMI and installs all the extra libraries I need at boot-up. It works great. I am trying to accomplish something similar for the Default Windows AMI, but I can't quite figure out how to get it done.

I remoted on to the running instance and found a similar set of scripts at:

C:\opt\bamboo-elastic-agent\bin

Attempting to run them in Cygwin (or Git Bash) was a failure, so I'm assuming they are not meant to be run in a similar fashion.

So I guess my question is: How do install extra libraries and software during the Windows Elastic Image startup without having to create (and maintain) my own custom AMI for windows?

Update:

So Bamboo 5.0 is on OnDemand now. I started a new Default Windows Image and attempted similiar steps to the ones mentioned above, but it still seems that those scripts are not working yet again.

Perhaps I read a little too much into the "EBS Volumes will be supported in Bamboo 5.0" comments everywhere and assumed that meant an equivalent scripting process to the one on Linux AMIs, but so far I don't really see a difference in the way Windows Elastic Instances are handled in this new version.

If it is indeed possible to create and mount an EBS Snapshot to my Windows AMI and have it kick of a script that could install a few things and do some slight configuration, I would love to see some documentation on how to do so.

If not, I would accept an answer that allows me to accomplish the goal of installing extra software on a windows instance without having to create a new AMI every time I want to make a change.

2 answers

OK, just found this, which sort of answers my question. Sorry.

Side note: you guys may need to tweak your search engine on this site. Searching [bamboo-ondemand] windows should have given me that as a result.

I basically have the same question. Since this question is almost a year old, I'm wondering if anyone has successfully done this: installing extra software on a default elastic Windows instance.

Based on my many hours of searching for answers it doesn't appear that the instance startup script will run successfully on Windows, nor does it appear that you can attach a custom EBS volume to the default Windows Bamboo image.

I'm hoping that I don't have to create a brand-new custom image as instructed here: https://confluence.atlassian.com/display/BAMBOO/Creating+a+custom+elastic+image+-+Windows but I'm beginning to think I will.

Any help or direction would be greatly appreciated!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 16m ago in Statuspage

194 years of downtime: looking back on incident data from 2018

Statuspage customers logged more than 194 years of collective incidents in 2018. That’s a whopping 87% increase from the  104 years logged in 2017 , and we aren’t even through December yet....

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