I have become the interim ops guy until the company I am contracting for finds one that knows a heck of a lot more than me. I'm going through our current setup for OpsWorks and our recipes. I noticed that our deploy recipe includes our configure recipe. When I asked about this, I was told it was due to some mystery around when configure is actually triggered.
I've been reading the docs here and here are my questions:
The docs say that OpsWorks runs Deploy after Setup. The docs also say that Configure is ran after any instance enters or leaves the online state. Does Configure then run between Setup and Deploy or after Deploy, when a new instance is spun up?
Also, is it standard practice to include a configure recipe in the deploy recipe for those times when a deploy is executed by itself or should we be using a different recipe that would handle configuration changes based on a deployment?