CloudFormation & Ansible

121 views
Skip to first unread message

NJChoo

unread,
Mar 6, 2014, 6:07:43 PM3/6/14
to ansible...@googlegroups.com
Just a general questions when using ansible & cloudformation...  

do you just use cloudformation as stack deployment tool, and use ansible to keep the instance updated?
- basically skipping over using cloudformation to update the servers? (w/ use of cfn-init & hup)

there seems to be some overlap of responsibilities

James Martin

unread,
Mar 7, 2014, 11:31:58 AM3/7/14
to ansible...@googlegroups.com
You've got the idea.  Define CloudForamtion templates as you normally would, defining all of your AWS resources, but leaving out the configuration of the servers.  Use Ansible to launch the template and let Ansible configure your servers after the CloudFormation stack is created.

When that module was created, the Ansible cloud modules weren't nearly as fleshed out as they are now, so the only way to easily provision some resources was through CloudFormation.  That is still the case with some things -- NetworkACL's comes to mind. 

It's also useful for folks who are transitioning from CloudFormation to Ansible.

- James


--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a6b8e0ad-5dc1-40f9-85a4-a749b94b02d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages