Configuration inside an Azure virtual machine

Azure ARM templates provide extension resources to configure the inside of a virtual machine. Extensions can be of multiple types; two of the most important extension types are as follows:

  • Custom Script Extension
  • Desired State Configuration

Extension resources are nested resources within a virtual machine resource. They can be declared as a nested resource within a virtual machine resource, or they can be defined as a stand-alone resource with syntax that establishes the parent-child relationship with its parent virtual machines.

Custom Script Extension helps to execute PowerShell scripts and ensure a Desired State Configuration on virtual machines after they have been created.

These two types ...

Get Azure Resource Manager Templates Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.