Azure VM

Type: Cloud Provider / Compute

Documentation: https://learn.microsoft.com/en-us/azure/virtual-machines/overview

Authentication

To connect Azure Virtual Machines to Orchestra, you will need:

  • an App registration in Microsoft Entra

  • an existing Virtual Machine that is running

Instructions

Create an App Registration

  • Create an App registration in Microsoft Entra (keep the 'Client ID' this is the Service Principal ID)

  • Create a client secret for this app (keep the 'Value' generated this is the Service Principal Key)

  • Navigate to Virtual Machines in the Azure portal and grant permissions for the new App to access the Virtual Machine(s) you wish to execute scripts on.

    • This can be done by navigating to the Virtual Machine in the Azure portal, clicking on 'Access control (IAM)' and then 'Add role assignment'. You can then search for the App registration you created and assign it the 'Virtual Machine Contributor' role.

Subscription ID

You must set a default subscription ID for this Azure VM credential here. You can override the subscription ID you wish to use for an individual task when you create the task in the pipeline builder.

Job nameDescription

Azure VM Run Command

This job provisions/updates a script on a VM and immediately begins to execute it. More information available here.

Last updated