Skip to content

Commit f124b95

Browse files
committed
edits
1 parent 5e6b198 commit f124b95

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed
-12.1 KB
Loading
-16.4 KB
Loading

articles/machine-learning/tutorial-create-secure-workspace-template.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ To view either Bicep or Terraform information, select the Bicep or Terraform tab
4141

4242
- Git installed on your development environment to clone the template repository. If you don't have the `git` command, you can install Git from [https://git-scm.com/](https://git-scm.com/).
4343

44-
- A Bash or Azure PowerShell command line.
44+
- An Azure CLI or Azure PowerShell command line. The following examples use Azure CLI.
4545

4646
# [Bicep](#tab/bicep)
4747

48-
- To install the command-line tools, see [Set up Bicep development and deployment environments](/azure/azure-resource-manager/bicep/install).
48+
- Either the Azure CLI or Azure PowerShell Bicep command-line tools installed according to [Set up Bicep development and deployment environments](/azure/azure-resource-manager/bicep/install).
4949

50-
- The Bicep template for this article is at [Azure Machine Learning end-to-end secure setup](https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.machinelearningservices/machine-learning-end-to-end-secure). To clone the GitHub repo to your development environment and switch to the template directory, run the following commands:
50+
- The GitHub repo containing the Bicep template [Azure Machine Learning end-to-end secure setup](https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.machinelearningservices/machine-learning-end-to-end-secure), cloned locally and switched to by running the following commands:
5151

5252
```bash
5353
git clone https://github.com/Azure/azure-quickstart-templates
@@ -56,13 +56,13 @@ To view either Bicep or Terraform information, select the Bicep or Terraform tab
5656

5757
# [Terraform](#tab/terraform)
5858

59-
- To install, configure, and authenticate Terraform to your Azure subscription, use the steps in one of the following articles:
59+
- Terraform installed, configured, and authenticated to your Azure subscription by using the steps in one of the following articles:
6060

6161
- [Azure Cloud Shell](/azure/developer/terraform/get-started-cloud-shell-bash)
6262
- [Windows with Bash](/azure/developer/terraform/get-started-windows-bash)
6363
- [Windows with Azure PowerShell](/azure/developer/terraform/get-started-windows-powershell)
6464

65-
- The Terraform template for this article is at [Azure Machine Learning workspace (moderately secure network set up)](https://github.com/Azure/terraform/tree/master/quickstart/201-machine-learning-moderately-secure). To clone the repo locally and switch to the template directory, run the following commands:
65+
- The GitHub repo containing the Terraform template [Azure Machine Learning workspace (moderately secure network set up)](https://github.com/Azure/terraform/tree/master/quickstart/201-machine-learning-moderately-secure), cloned locally and switched to by running the following commands:
6666

6767
```bash
6868
git clone https://github.com/Azure/terraform
@@ -101,7 +101,7 @@ The Bicep template is made up of the [main.bicep](https://github.com/Azure/azure
101101
102102
# [Terraform](#tab/terraform)
103103

104-
The template consists of multiple files. The following table describes what each file is responsible for:
104+
The Terraform template consists of multiple files. The following table describes what each file is responsible for:
105105

106106
| File | Description |
107107
| ----- | ----- |
@@ -125,46 +125,46 @@ The template consists of multiple files. The following table describes what each
125125

126126
# [Bicep](#tab/bicep)
127127

128-
To deploy the Bicep template, run the following commands from the *machine-learning-end-to-end-secure* directory where the *main.bicep* file is located.
128+
To deploy the Bicep template, make sure you're in the *machine-learning-end-to-end-secure* directory where the *main.bicep* file is located, and run the following commands:
129129

130-
1. To create a new Azure resource group, run the following example command, replacing `exampleRG` with the resource group name and `eastus` with the Azure region you want to use:
130+
1. To create a new Azure resource group, run the following example command, replacing `<myrgname>` with a resource group name and `<location>` with the Azure region you want to use.
131131

132-
- **Azure CLI:**
132+
- Azure CLI:
133133

134134
```azurecli
135-
az group create --name exampleRG --location eastus
135+
az group create --name <myrgname> --location <location>
136136
```
137137
138-
- **Azure PowerShell:**
138+
- Azure PowerShell:
139139
140140
```azurepowershell
141-
New-AzResourceGroup -Name exampleRG -Location eastus
141+
New-AzResourceGroup -Name <myrgname> -Location <location>
142142
```
143143
144-
1. To deploy the template, use the following command, replacing `prefix` with a unique prefix to use when creating required Azure Machine Learning resources. Replace `dsvmpassword` with a secure password for the DSVM jump box sign-in account, `azureadmin` in the following examples.
144+
1. To deploy the template, use the following command, replacing `<myrgname>` with the name of the resource group you created, and `<pref>` with a unique prefix to use when creating required resources. Replace `<mydsvmpassword>` with a secure password for the DSVM jump box sign-in account, which is `azureadmin` in the following examples.
145145
146146
> [!TIP]
147147
> The `prefix` must be five or fewer characters, and can't be entirely numeric or contain the characters `~`, `!`, `@`, `#`, `$`, `%`, `^`, `&`, `*`, `(`, `)`, `=`, `+`, `_`, `[`, `]`, `{`, `}`, `\`, `|`, `;`, `:`, `.`, `'`, `"`, `,`, `<`, `>`, `/`, or `?`.
148148
149-
- **Azure CLI**:
149+
- Azure CLI:
150150
151151
```azurecli
152152
az deployment group create \
153-
--resource-group exampleRG \
153+
--resource-group <myrgname> \
154154
--template-file main.bicep \
155155
--parameters \
156-
prefix=prefix \
156+
prefix=<pref> \
157157
dsvmJumpboxUsername=azureadmin \
158-
dsvmJumpboxPassword=dsvmpassword
158+
dsvmJumpboxPassword=<mydsvmpassword>
159159
```
160160
161-
- **Azure PowerShell**:
161+
- Azure PowerShell:
162162
163163
```azurepowershell
164-
$dsvmPassword = ConvertTo-SecureString "mysecurepassword" -AsPlainText -Force
165-
New-AzResourceGroupDeployment -ResourceGroupName exampleRG `
164+
$dsvmPassword = ConvertTo-SecureString "<mydsvmpassword>" -AsPlainText -Force
165+
New-AzResourceGroupDeployment -ResourceGroupName <myrgname> `
166166
-TemplateFile ./main.bicep `
167-
-prefix "prefix" `
167+
-prefix "<pref>" `
168168
-dsvmJumpboxUsername "azureadmin" `
169169
-dsvmJumpboxPassword $dsvmPassword
170170
```
@@ -174,7 +174,7 @@ To deploy the Bicep template, run the following commands from the *machine-learn
174174
175175
# [Terraform](#tab/terraform)
176176
177-
To deploy the Terraform template, use the following commands from the *201-machine-learning-moderately-secure* directory where the template files are located.
177+
To deploy the Terraform template, make sure you're in the *201-machine-learning-moderately-secure* directory where the template files are located, and run the following commands.
178178
179179
1. To initialize the directory for working with Terraform, use the following command:
180180

0 commit comments

Comments
 (0)