3 ms·
Been using opsworks for about a year now and while it has very significantly streamlined our provisioning/deployment tasks, "nothing but love" is not quite how
by eric_h 10y ago
Been using opsworks for about a year now and while it has very significantly streamlined our provisioning/deployment tasks, "nothing but love" is not quite how I'd describe it.
It does have some warts.
- derwiki 10y agoBiggest wart we have is that it randomly picks a machine to run migrations on, if it's a deploy with migrations.
- roadrunnerfreak 10y agoYou could code up something in the deploy hook to select the master node (mostly the first instance in the layer) to run migrations and you could disable the "Run Migrations" when you deploy. I do this for the Rails app in my company.
- eric_h 10y agoI actually solved this with our custom deploy script. We choose the machine that runs the migrations. The necessity of building and maintaining a custom deploy script is the biggest wart for us (though I admit that the API is pretty good, and said script has not had that much maintenance overhead).