Configure data at scale for Azure Automation State Configuration

Applies to: ✔️ Windows PowerShell 5.1

Note

Before you enable Automation State Configuration, we would like you to know that a newer version of DSC is now generally available, managed by a feature of Azure Policy named guest configuration. The guest configuration service combines features of DSC Extension, Azure Automation State Configuration, and the most commonly requested features from customer feedback. Guest configuration also includes hybrid machine support through Arc-enabled servers.

Important

This article refers to a solution that is maintained by the Open Source community. Support is only available in the form of GitHub collaboration, and not from Microsoft.

Managing many servers is a challenge and difficulty lies in managing configuration data as it involves organizing information across logical constructs like location, type, and environment.

Community project: Datum

Datum is a community maintained solution that has been created to resolve this challenge. Datum builds on great ideas from other configuration management platforms and implements the same type of solution for PowerShell DSC. Information is organized in to text files based on logical ideas.

Listed below are few examples:

  • Settings that should apply globally
  • Settings that should apply to all servers in a location
  • Settings that should apply to all database servers
  • Individual server settings

Configure data at scale

Follow the below steps to configure data at scale for Azure Automation State Configuration:

  1. The information is organized in your preferred file format. For example, JSON, Yaml, or PSD1.
  2. The cmdlets are provided to generate configuration data files by consolidating the information from each file in to single view of a server or server role.
  3. After you generate the data files, you can use them with DSC Configuration scripts to generate MOF files and upload the MOF files to Azure Automation.
  4. Register your servers from either on-premises or in Azure to pull configurations.

To download the solution, go to PowerShell Gallery or select Project site to view the documentation.

Next steps