question

NeedtostartandstopAzureVMsatatime-6360 avatar image
0 Votes"
NeedtostartandstopAzureVMsatatime-6360 asked AndreasBaumgarten edited

Need to more number of VMs at a time (for patching activity)

Hi,

This is chandra and tried to explore my self in devops and iam a frsher.

As apart of patching activity i want to start or stop large number of machine at a time.

Means if to push the patch i want to start 50 vms manually through console. After patch ends i want to stop the vms manually.

Is there any automation that we can do to stop or start the vms at at time.

azure-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.

1 Answer

AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered AndreasBaumgarten edited

Hi @NeedtostartandstopAzureVMsatatime-6360 ,

one option is to do this with an Azure Automation runbook.
Maybe this article will help to get started: https://www.sanganakauthority.com/2017/07/start-stop-multiple-azure-vms-on.html


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

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.