Configure managed identity for the DuploCloud portal in Azure.
This document provides a step-by-step guide to configure a Managed Identity (MI) in Azure for DuploCloud. DuploCloud requires the VM where it is installed to have owner access to the Azure subscription to launch and manage Azure resources effectively.
Follow these steps post the installation of DuploCloud portal in Azure VM:
Log in to the Azure Portal.
Navigate to Managed Identities.
Click on + Add to create a new managed identity.
Provide the following details:
Name: Enter a meaningful name for the managed identity (e.g., duplo-master-managed-identity
).
Subscription: Select the subscription where the identity will be created.
Resource Group: Choose an existing resource group or create a new one.
Region: Select the appropriate region for the managed identity.
Click Create and wait for the deployment to complete.
Go to Virtual Machines in the Azure portal and select the VM where DuploCloud is installed.
Under the Security section, select Identity.
Switch to the User assigned tab and click + Add.
Select the managed identity created in Step 1 and click Add.
Go to Subscriptions in the Azure portal and select the subscription where resources will be launched by DuploCloud.
Under Access Control (IAM), click + Add -> Add role assignment.
Switch to Privileged administrator roles tab
Select Owner.
In the Assign access to field, choose Managed identity.
Search for and select the managed identity created in Step 1.
Click Save to complete the role assignment.
In the same subscription as above, navigate again to Access Control (IAM).
Click + Add -> Add role assignment.
Switch to Privileged administrator roles tab
Select Owner in the Role dropdown.
In the Assign access to field, choose Managed Identity.
Search for and select the DuploCloud VM.
Click Save to apply the changes.
Ensure that both the managed identity and the VM are in the same subscription where resources will be launched.
Verify the assignments under Access Control (IAM) for both the managed identity and the VM to ensure correct configurations.