This page explains how to use the Azure VM ID identifier to uniquely identify workloads deployed on Azure.
Understanding the Azure VM ID identifier
Section titled “Understanding the Azure VM ID identifier”When you deploy applications to Azure, you often identify specific virtual machine instances by their VM IDs. Azure assigns each virtual machine a unique identifier at creation. For more details, see the “Understand names and instance IDs for Azure Virtual Machine Scale Set VMs in the Microsoft docs.
Applicable deployment type
Section titled “Applicable deployment type”Aembit supports the Azure VM ID identification method for Edge-based deployments on Virtual Machines deployed to Azure.
Create a Client Workload with an Azure VM ID identifier
Section titled “Create a Client Workload with an Azure VM ID identifier”To configure a Client Workload with an Azure VM ID identifier, follow these steps:
-
Log into your Aembit Tenant.
-
Click Client Workloads in the left nav pane.
-
Click New, revealing the Client Workload pop out menu.
-
Enter the Name and optional Description for the Client Workload.
-
Under Client Identification, select Azure VM ID.
For Value, enter the VM ID where the workload is running.
For example, if your Azure VM ID is
12345678-1234-1234-1234-123456789abc
, enter that in the Value field.If you don’t know the Azure VM ID or how to find it, see Find Azure VM ID.
-
Click Save.
Aembit displays the new Client Workload on the Client Workloads page.
Find Azure VM ID
Section titled “Find Azure VM ID”Locate your Azure VM’s Resource group and VM name using either of the following methods:
Azure Portal
Section titled “Azure Portal”-
Go to the Azure Portal.
-
From the left menu or search bar, choose or search for Virtual Machines, then select your VM.
-
Copy the Computer name and Resource group from the Properties tab of the VM details page.
Use these values in your Aembit configuration.
Azure CLI
Section titled “Azure CLI”-
Open your terminal or command prompt.
-
Use the following command to get the VM ID:
az vm show --resource-group <your-resource-group> --name <your-vm-name> --query vmId --output tsvUse these values in your Aembit configuration.