ms.date | ms.topic | keywords | title |
---|---|---|---|
06/12/2017 |
conceptual |
dsc,powershell,configuration,setup |
Desired State Configuration Overview for Decision Makers |
This document describes the business benefits of using PowerShell Desired State Configuration (DSC). It is not a technical guide.
Windows PowerShell Desired State Configuration (DSC) is a configuration management platform built into Windows that is based on open standards. DSC is flexible enough to function reliably and consistently in each stage of the deployment lifecycle (development, test, pre-production, production), as well as during scale-out.
DSC centers around "configurations". A configuration is an easy-to-read document that describes an environment made up of computers ("nodes") with specific characteristics. These characteristics can be as simple as ensuring a specific Windows feature is enabled or as complex as deploying SharePoint.
DSC also has monitoring and reporting built in. If a system is no longer compliant, DSC can raise an alert and act to correct the system.
Configurations are designed to be easily read, stored, and updated. Configurations declare the state target devices should be in, instead of writing instructions for how to put them in that state. This makes it much less costly to learn, adopt, implement, and maintain configuration through DSC.
Creating configurations means that complex deployment steps are captured as a "single source of truth" in a single location. This makes repeated deployments of a specific set of machines much less error-prone. In turn, making deployments faster and more reliable which enables a quick turnaround on complex deployments.
Configurations are also shareable via the PowerShell Gallery meaning common scenarios and best practices might already exist for the work you need done.
DevOps is a combination of people, process, and tools that allow for rapid deployment and iteration focused on delivering value to end users whether internal or external. DSC was designed with DevOps in mind. Having a single configuration define an environment means that developers can encode their requirements into a configuration, check that configuration into source control, and operations teams can easily deploy code without having to go through error-prone manual processes.
Configurations are also data-driven, which makes it easier for ops teams to identify and change environments without developer intervention.
DSC can be used to manage both on-premises and off-premises deployments. For on-premises solutions, DSC has a pull server that can be used to centralize management of machines and report on their status. For cloud solutions, DSC is usable wherever Windows is usable. There are also specific offerings from Azure built on Desired State Configuration, such as Azure Automation, which centralizes reporting of DSC.
Although DSC was introduced in Windows Server 2012 R2, it is available for downlevel operating systems via the Windows Management Framework (WMF) package. More information about the WMF can be found on the PowerShell homepage.
DSC can also be used to manage Linux. For more information, see Getting Started with DSC for Linux.