What is the Desired State Configuration?
There are two possible definitions for Desired State Configuration (DSC) in the context of Azure:
- An extension for PowerShell used for bootstrapping and managing Azure Virtual Machines
- A general concept where you work toward developing an automated solution for configuration management of your infrastructure
In this section, we’ll focus on both definitions for a better understanding of the whole concept.
Azure Automation State Configuration
In Azure, you can automatically manage the desired state of your virtual machines by leveraging Azure Automation State Configuration. This feature is basically a configuration file that you create and pass to your infrastructure. Your infrastructure will handle the passed configuration via an installed DSC agent and apply all the changes defined in it.
Such a configuration looks something like the following:
configuration IISInstall { node "...