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.
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