Patch/Update AWS AMI using Chef


How can we Patch/Update AWS AMI using Chef? Is it possible and any documentation available for this?


I use ansible script to patch my AMI, but my ansible script is too simple, just run "yum update". do you have other ways to do more micro control. for example, if I only want to update some of the packages or kernels but no touch to others, how could I do it?


This is a "chef" mailing list, not an ansible mailing list. Both have structures for selecting particular packages to updte. For chef, you can write a lightweight recipe to do only selected packages, using the "yum_package" command described at .