question

BrianB24 avatar image
0 Votes"
BrianB24 asked LimitlessTechnology-2700 answered

How to get Azure Windows VM's to automatically apply Azure DSC after being built?

I would like to know if there is a way that I can apply my Azure DSC configuration to all Windows servers after they're built in Azure automatically instead of manually adding nodes to the DSC configuration?

windows-serverazure-virtual-machinesazure-automation
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @BrianB24 ,

Thanks for your query.

Azure Automation State Configuration provides several advantages over the use of DSC outside of Azure. This service enables scalability across thousands of machines quickly and easily from a central, secure location. You can easily enable machines, assign them declarative configurations, and view reports showing each machine's compliance with the desired state you specify.

FYI:
https://docs.microsoft.com/en-us/azure/automation/automation-dsc-overview
https://docs.microsoft.com/en-us/azure/automation/compose-configurationwithcompositeresources


Best regards,
Leila


If the Answer is helpful, please click "Accept Answer" and upvote it.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hi there,

You can achieve this by using Azure Automation State Configuration. This will allows you to specify configurations for your servers and ensure that those servers are in the specified state over time.

Configure machines to a desired state https://docs.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state

Introduction to the Azure Desired State Configuration extension handler https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview



--If the reply is helpful, please Upvote and Accept it as an answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.