You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn-pr/azure/azure-cyclecloud-high-performance-computing/includes/4-exercise-install-configure.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,7 +197,7 @@ After you deploy the Azure CycleCloud web application to an Azure VM, you can co
197
197
198
198
## Task 5: Add an Azure subscription to Azure CycleCloud
199
199
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.)
201
201
202
202
> [!NOTE]
203
203
> 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
220
220
221
221
1. In the list of results, select the entry representing the **cyclecloud-vm** Azure VM, and then select **Save**.
222
222
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
+
223
235
1. On your computer, switch to the web browser window displaying the Azure CycleCloud web application.
224
236
225
237
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