News for hackers. Stuff that matters.
Re:Why I left Heroku, and notes on my new AWS setup by StavrosK on Monday May 20, 2013 @04:10PM (#5739741)
I have tried ansible and love it. I invested the time (a few hours) to get a script working for my stack, and now I have a 70ish line script that will provision a server or VM (with a shared code directory in the VM), from clean installation to the codebase up and running in its production state, in one command.

New project? I just copy the script, change a few variables (names and packages it needs), and I get deployment for free.

Re:Why I left Heroku, and notes on my new AWS setup by 23david on Tuesday May 21, 2013 @05:45AM (#5742675)
Sounds interesting. Any possibility that you could anonymize the script and paste a link to a gist of it? would be interesting to see some real-world Ansible examples.
Re:Why I left Heroku, and notes on my new AWS setup by StavrosK on Tuesday May 21, 2013 @07:32AM (#5742957)
Sure: http://pastebin.com/KPrm3Zky

It could use variables a bit more, I think, but there were a few bugs with expanding them, so I didn't use them. I'll fix them later on, though.

Re:Why I left Heroku, and notes on my new AWS setup by 23david on Tuesday May 21, 2013 @04:54PM (#5746759)
amazing. that example explains how it works better than 200 pages of documentation :-)

thx!

Re:Why I left Heroku, and notes on my new AWS setup by StavrosK on Tuesday May 21, 2013 @05:43PM (#5747107)
You're welcome, examples are pretty useful for this sort of thing. Plus, after you have a base to work off, it's trivial to extend.

I'll put this up in a post on my blog, maybe it'll help others as well.