Skip to content

Commit 0cbcbd9

Browse files
AbeOmorLarry Franks
andauthored
Apply suggestions from code review
Co-authored-by: Larry Franks <[email protected]>
1 parent eedb123 commit 0cbcbd9

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

articles/machine-learning/how-to-setup-mlops-azureml.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,23 @@ In this article, you learn about using Azure Machine Learning to set up an end-t
4949
5050
## Set up authentication with Azure and DevOps
5151

52-
Before you can setup an MLOps project with AzureML you need to make sure you have the correct authentication setup for Azure DevOps.
52+
Before you can set up an MLOps project with AzureML, you need to set up authentication for Azure DevOps.
5353

5454
### Create service principal
5555
For the use of the demo, the creation of one or two service principles is required, depending on how many environments, you want to work on (Dev or Prod or Both). These principles can be created using one of the following methods:
5656

5757
# [Create from Azure Cloud Shell](#tab/azure-shell)
5858

59-
1. Launch the [Azure Cloud Shell](https://shell.azure.com). (If this the first time you have launched the cloud shell, you will be required to creata storage account for the cloud shell.)
59+
1. Launch the [Azure Cloud Shell](https://shell.azure.com).
60+
61+
> [!TIP]
62+
> The first time you've launched the Cloud Shell, you'll be prompted to create a storage account for the Cloud Shell.
6063
6164
1. If prompted, choose **Bash** as the environment used in the Cloud Shell. You can also change environments in the drop-down on the top navigation bar
6265

6366
![Screenshot of the cloud shell environment dropdown](./media/how-to-setup-mlops-azureml/PS_CLI1_1.png)
6467

65-
1. Copy the bash commands below to your computer and update the **projectName**, **subscriptionId**, and **environment** variables with the values for your project. If you are creating both a Dev and Prod environment you will need to run this script once for each environment, creating a service principal for each. This command will also grant the **Contributor** role to the service principal in the subscription provided. This is required for Azure DevOps to properly use resources in that subscription.
68+
1. Copy the bash commands below to your computer and update the **projectName**, **subscriptionId**, and **environment** variables with the values for your project. If you are creating both a Dev and Prod environment, you'll need to run this script once for each environment, creating a service principal for each. This command will also grant the **Contributor** role to the service principal in the subscription provided. This is required for Azure DevOps to properly use resources in that subscription.
6669

6770
``` bash
6871
projectName="<your project name>"
@@ -79,7 +82,7 @@ Before you can setup an MLOps project with AzureML you need to make sure you hav
7982

8083
1. Copy your edited commands into the Azure Shell and run them (**Ctrl** + **Shift** + **v**).
8184

82-
1. After running these commands you will be presented with information related to the service principal. Save this information to a safe location, it will be use later in the demo to configure Azure DevOps.
85+
1. After running these commands, you'll be presented with information related to the service principal. Save this information to a safe location, it will be use later in the demo to configure Azure DevOps.
8386
8487
```json
8588
{
@@ -90,7 +93,7 @@ Before you can setup an MLOps project with AzureML you need to make sure you hav
9093
}
9194
```
9295
93-
1. Repeat **Step 3.** if you are creating service principals for Dev and Prod environments.
96+
1. Repeat **Step 3.** if you're creating service principals for Dev and Prod environments.
9497

9598
1. Close the Cloud Shell once the service principals are created.
9699

@@ -101,15 +104,15 @@ Before you can setup an MLOps project with AzureML you need to make sure you hav
101104

102105
1. Select **New Registration**.
103106

104-
![Screenshot of service principal setup](./media/how-to-setup-mlops-azureml/SP-setup-ownership-tab.png)
107+
![Screenshot of service principal setup.](./media/how-to-setup-mlops-azureml/SP-setup-ownership-tab.png)
105108

106-
1. Go through the process of creating a Service Principle (SP) selecting **Accounts in any organizational directory (Any Azure AD directory - Multitenant)** and name it **Azure-ARM-Dev-ProjectName**. Once created, repeat and create a new SP named **Azure-ARM-Prod-ProjectName**. Please replace **ProjectName** with the name of your project so that the service principal can be uniquely identified.
109+
1. Go through the process of creating a Service Principle (SP) selecting **Accounts in any organizational directory (Any Azure AD directory - Multitenant)** and name it **Azure-ARM-Dev-ProjectName**. Once created, repeat and create a new SP named **Azure-ARM-Prod-ProjectName**. Replace **ProjectName** with the name of your project so that the service principal can be uniquely identified.
107110

108111
1. Go to **Certificates & Secrets** and add for each SP **New client secret**, then store the value and secret separately.
109112

110113
1. To assign the necessary permissions to these principals, select your respective [subscription](https://portal.azure.com/#view/Microsoft_Azure_BillingSubscriptionsBlade?) and go to IAM. Select **+Add** then select **Add Role Assignment**.
111114

112-
![Screenshot of the add role assignment page](./media/how-to-setup-mlops-azureml/SP-setup-iam-tab.png)
115+
![Screenshot of the add role assignment page.](./media/how-to-setup-mlops-azureml/SP-setup-iam-tab.png)
113116

114117
1. Select Contributor and add members selecting + Select Members. Add the member **Azure-ARM-Dev-ProjectName** as create before.
115118

0 commit comments

Comments
 (0)