I have deployed the stack to Amazon OpsWorks, and I use custom cookbooks extensively to deploy my application. I have several instances in my stack that are load based (they load only when necessary).
Anytime I make changes to my custom cookbooks, I have to manually update the cookbooks on any running instances (by going to Deployments> Run Command). The problem is that any non-downloadable instances are not updated, and they are not updated automatically at the next boot.
I realized that I can delete and then restore all my load-based instances, forcing them to completely reinstall when they are needed, but there should be a better way to deploy updated user cookbooks.
How can I get my offline boot instances to update my cookbooks on the next boot (even if every download is ok)?
source share