Increase the speed of VMs deletion and creation in as less time in azure

Elisha George 146 Reputation points
2022-02-03T13:25:32.88+00:00

In our application, we are trying to delete and create VMs dynamically as and when we require. For each new version of the application, all old VMs will be deleted and new VMs get created with same names. (We are using new image version for the new VM from Azure compute gallery).

VMs Deletion and Creation are happening very slowly in a sequential manner, hence, if we have 8 VMs, then its taking almost 1 hour to complete all the VMs to the upgraded version.

We are using Azure AD Service principal to interact with Azure from our application.

We are looking for a possible way to increase the speed of VMs deletion and creation in as less time as possible.

Is it possible?

Please share a document related to that.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,833 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,222 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
977 questions
Azure Resource Mover
Azure Resource Mover
An Azure service used for moving multiple resources between Azure regions.
206 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Stanislav Zhelyazkov 21,501 Reputation points MVP
    2022-02-03T13:50:54.88+00:00

    Hi,
    Have you looked at Azure Bicep as a way to deploy the VMs. It will allow you to deploy the VMs in parallel.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    2 people found this answer helpful.