4 ms·
But how do you ensure that your EC2 slaves have exactly the same tools/libraries/environment as your blessed build machine? I'm guessing you just have to caref
by amscanne 16y ago
But how do you ensure that your EC2 slaves have exactly the same tools/libraries/environment as your blessed build machine? I'm guessing you just have to carefully curate and update AMIs every single time you make a change to the master. Chasing that stuff down is massively time-consuming.
- dlsspy 16y agoIf I did it twice, I'd automate it. I haven't made very many AMIs, but when I did, I got it down to a little shell script that basically goes from a blank machine to me installing a few things I needed, building some stuff I needed, uninstalling some other stuff and uploading the images with roughly no effort on my part. The most painful part was using the web console to launch instances and then wait for them.
- ekidd 16y agoIf you're running on EC2, you should _really_ be using a tool like Chef or Puppet (or at least your OS's package manager with custom packages) to make your configuration repeatable. This will allow you to spin up new machines in a known configuration in minutes, and your entire environment will be completely documented.