Skip to content

Commit 1c9ea0f

Browse files
authored
Merge pull request #48800 from emilylo3/main
Update role assignment
2 parents 193a264 + 3c7a091 commit 1c9ea0f

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

learn-pr/azure/azure-cyclecloud-high-performance-computing/4-exercise-install-configure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
unitType: exercise
88
title: Exercise - Install and configure Azure CycleCloud
99
description: Learn about the process of installing and configuring Azure CycleCloud.
10-
ms.date: 12/19/2024
10+
ms.date: 01/23/2025
1111
author: anhoward
1212
ms.author: anhoward
1313
ms.topic: unit

learn-pr/azure/azure-cyclecloud-high-performance-computing/includes/4-exercise-install-configure.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ After you deploy the Azure CycleCloud web application to an Azure VM, you can co
197197
198198
## Task 5: Add an Azure subscription to Azure CycleCloud
199199

200-
To manage resources in your Azure subscription, Azure CycleCloud requires a certain level of permissions. The simplest option to address this requirement is to assign the Contributor role in the subscription to the Azure VM hosting the CycleCloud application. This option works if you enabled the system-assigned managed identity for that Azure VM. Because you configured this setting during the Azure VM deployment in the first task of this exercise, this is the approach you take.
200+
To manage resources in your Azure subscription, Azure CycleCloud requires a certain level of permissions. The simplest option is to assign the Contributor role and the Storage Blob Data Contributor role in the subscription to the system-assigned identity of the Azure VM hosting the CycleCloud application. (Alternatively, you can create a user-assigned identity, associate it with the VM, and use that identity in the steps below.)
201201

202202
> [!NOTE]
203203
> CycleCloud doesn't require all permissions associated with the Contributor role. You have the option of defining a custom, more restrictive RBAC role and assigning it to the Azure VM hosting the CycleCloud application. This allows you to apply the principle of least privilege. For details, refer to [Using Managed Identities with CycleCloud](https://learn.microsoft.com/azure/cyclecloud/how-to/managed-identities?preserve-view=true&view=cyclecloud-8#create-a-custom-role-and-managed-identity-for-cyclecloud).
@@ -220,6 +220,18 @@ To manage resources in your Azure subscription, Azure CycleCloud requires a cert
220220

221221
1. In the list of results, select the entry representing the **cyclecloud-vm** Azure VM, and then select **Save**.
222222

223+
1. Once back on the **Access control (IAM)** page, select **+ Add**, and in the drop-down menu, select **Add role assignment** to add another role.
224+
225+
1. In the **Add role assignment** section, configure the following settings (leave others with their default values):
226+
227+
| Setting | Value |
228+
| --- | --- |
229+
| Role | Select the **Storage Blob Data Contributor** entry under **Job function roles**. |
230+
| Assign access to | Select **Managed Identity**. |
231+
| Select members | Select **Virtual Machine** in the **Managed Identity** dropdown and **cyclecloud-vm** under **Select**. |
232+
233+
1. In the list of results, select the entry representing the **cyclecloud-vm** Azure VM, and then select **Save**.
234+
223235
1. On your computer, switch to the web browser window displaying the Azure CycleCloud web application.
224236

225237
1. In the **Add Subscription** pop-up window, in the **Subscription Name** text box, enter a descriptive name for your Azure subscription. Next, select **Managed Identity** from the Authentication radio buttons, and then select **Validate Credentials**.

0 commit comments

Comments
 (0)