In the previous part, we had a look at how to set up our Chef workstation machine. By the end of part 1, you should have been able to use the knife tool to access your Azure subscription. In this part, we are going to create our first cookbook and recipe. We will also be creating our first Azure VM, which will be using our cookbook.
As mentioned briefly in the previous article, cookbooks are the fundamental units that store the required configuration for your environment. We must store recipes in a cookbook and use it to define resources, attributes, and actions for target nodes.