Setup scripts for Elastic Bamboo EBS snapshot for RVM, Ruby, and Rails
Setup:
Fire up a Bamboo image and create an attached EBS volume as normal.
Login to instance, become root.
Modify /mnt/bamboo-ebs/bin/customize-extras.sh to include the line:
git clone git://github.com/uceem/bamboo-ebs-ruby.git
bash /mnt/bamboo-ebs/bamboo-ebs-ruby/customize-ruby.shOptionally, run the script (this will make instance load times much faster):
/mnt/bamboo-ebs/bin/customize-extras.sh
Generate a snapsnot as usual:
killall java
generateSnapshot.shConfigure Bamboo image to use the new snapshot.