hands-on lab

Automating DSC Configuration using Azure Automation Account

Intermediate
Up to 1h 30m
326
5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Desired State Configuration (DSC) is a configuration management platform built into Windows for state management and compliance. DSC allows you to reliably and consistently manage the deployment states and the lifecycle of systems across various environments. DSC was designed to combine the system administration with automation to allow rapid growth and deployment iteration, making it one of the core services in the DevOps process for system automation. A single configuration can handle and enforce the system state while enabling the control to build an error-prone system for repetitive operations.

Azure Automation Account offers the automation service that complements the DSC state management and makes it easier to manage and set up the management environment. The service also supports importing existing DSC resources and assigning the configuration to the nodes in any cloud or on-premises data centers. The automation account replaces the pull server and provides its functionality at scale to automate and easily manage the configuration from a central location without managing your own pull server.

In this hands-on lab, you will work with Azure Automation Account to automate the configuration management on an Azure Virtual Machine using DSC.

Learning Objectives

Upon completion of this beginner-level lab, you will be able to:

  • Create an Azure Automation Account
  • Understand the DSC Configuration
  • Create and Compile the DSC Configuration
  • Connect Nodes for DSC Configuration

Intended Audience

  • Cloud Architects
  • Data Engineers
  • DevOps Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • PowerShell DSC on Windows
  • Azure Virtual Machine

The following labs can be used to fulfill the prerequisite:

Environment before

Environment after

About the author
Students
14,836
Labs
95
Courses
1
Learning paths
3

Parveen is an Azure advocate with previous experience in the professional consulting services industries. He specializes in infrastructure and DevOps with a wide range of knowledge in security and access management. He is also an Azure Certified - DevOps Engineer Expert, Security Engineer, Developer Associate, Administrator Associate, CompTIA Certified - Network+, Security+, and AWS Cloud Practitioner.
Parveen enjoys writing about cloud technologies and sharing the knowledge with the community to help students upskill in the cloud.

Covered topics
Lab steps
Logging in to the Microsoft Azure Portal
Creating Azure Automation Account Resource
Creating and Compiling DSC Configuration
Onboarding the Virtual Machine to the DSC Configuration