News for hackers. Stuff that matters.
Re:Ask HN: Do you bake AMIs for AWS deployments? by pas256 on Wednesday January 15, 2014 @03:54PM (#7066080)
Easier in what sense? Baking, deploying, or managing the AMIs?

Also, are you using AutoScaling Groups with this methodology?

Re:Ask HN: Do you bake AMIs for AWS deployments? by dkoch on Wednesday January 15, 2014 @04:54PM (#7066454)
I think more flexible is a better word -- it can do more than what you can do when you bake a static image because you also use it to dynamically manage a running system post-boot.

Ansible can deploy all of your dependencies, keep them updated, push out configuration changes, and deploy your main application code.

I don't use AutoScaling, but no reason it couldn't be used with Ansible. The docs have a bit of detail on how to do it. http://docs.ansible.com/guide_aws.html

Re:Ask HN: Do you bake AMIs for AWS deployments? by pas256 on Wednesday January 15, 2014 @07:53PM (#7067331)
I wrote the EC2 inventory plugin, so yes, I am a big fan of Ansible. I however, now use Ansible almost exclusively to build AMIs. Do your application code deploys require downtime, or do you have a technique to keep the service online while making changes?

I highly recommend you start using ASGs. It is only a matter of time before things go bad if you don't.