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: articles/cyclecloud/how-to/ccws/connect-to-login-node-with-bastion.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Find the private SSH key file that matches the public key you provide during dep
16
16
## Step 2 – Get the resource ID of the authentication node
17
17
In the CycleCloud UI, select the authentication node you want to connect to and double-click that line to open the detail view for the node. Select the **VM** tab to display the resource details, and copy the `ResourceId`.
:::image type="content" source="../../images/ccws/login-node-resource-id.png" alt-text="Screenshot of authentication node properties":::
20
20
21
21
## Step 3 – Create a connect script
22
22
Create an authentication script using the following template. Paste the authentication node `resourceID` from the previous step, and specify the resource group and the private SSH key file to use.
1. Copy the content of the UI definition file `./uidefinitions/createUiDefinition.json`
22
22
23
23
1. Browse to the UI Definition Sandbox:
24
24
- For Azure Public Cloud [Azure Public portal](https://portal.azure.com/#view/Microsoft_Azure_CreateUIDef/SandboxBlade)
25
25
- For Azure US Gov [Azure US Gov portal](https://portal.azure.us/#view/Microsoft_Azure_CreateUIDef/SandboxBlade)
26
26
27
-
- Paste the content of the UI Definition file into the multiline text box on the right,
28
-
- Select `Preview >>` in the bottom-left corner to bring up a UI experience.
29
-
- Go through each page of the UI flow to make sure that necessary values appear in the output payload described in the next step,
30
-
- Go through the UI flow to the `Review + create` page and then select the link labeled `View outputs payload` to the right of the `Create` button to generate a pane with JSON-formatted text in its body on the right-hand side of the browser window,
31
-
- Copy the JSON-formatted text into a local JSON file,
32
-
- Save it as `parameters.json` and note the path to it. This file is the Parameters File for the deployment,
33
-
- Open the shell of your choice and go to the folder or directory that contains the `cyclecloud-slurm-workspace` repository you cloned earlier,
34
-
- Accept the terms of the Cycle image plan:
35
-
36
-
```bash
37
-
az vm image terms accept --urn azurecyclecloud:azure-cyclecloud:cyclecloud8-gen2:latest
38
-
```
39
-
- Run the following deployment command in a shell. Substitute values for fields in square brackets (be sure to delete the brackets). The current directory is as described in the previous step.
40
-
41
-
```bash
42
-
az deployment sub create --template-file ./cyclecloud-slurm-workspace/bicep/mainTemplate.bicep --parameters parameters.json --location [ANY AZURE LOCATION E.G. eastus] --name [OPTIONAL BUT HELPFUL, DELETE IF UNUSED]
43
-
```
44
-
45
-
- Wait until the shell indicates that the deployment was successful. You can also track the progress of the deployment in the Azure portal. Go to the resource group shown in the UI, select **Deployments** from the Settings menu, and check the status of the deployment name that begins with "pid-" at the bottom of the displayed list.
27
+
1. Paste the content of the UI Definition file into the multiline text box on the right.
28
+
1. Select `Preview >>` in the bottom-left corner to bring up a UI experience.
29
+
1. Go through each page of the UI flow to make sure that necessary values appear in the output payload described in the next step.
30
+
1. Go through the UI flow to the `Review + create` page and then select the link labeled `View outputs payload` to the right of the `Create` button to generate a pane with JSON-formatted text in its body on the right-hand side of the browser window.
31
+
1. Copy the JSON-formatted text into a local JSON file.
32
+
1. Save it as `parameters.json` and note the path to it. This file is the Parameters File for the deployment.
33
+
1. Open the shell of your choice and go to the folder or directory that contains the `cyclecloud-slurm-workspace` repository you cloned earlier.
34
+
1. Accept the terms of the Cycle image plan:
35
+
36
+
```bash
37
+
az vm image terms accept --urn azurecyclecloud:azure-cyclecloud:cyclecloud8-gen2:latest
38
+
```
39
+
1. Run the following deployment command in a shell. Substitute values for fields in square brackets (be sure to delete the brackets). The current directory is as described in the previous step.
40
+
41
+
```bash
42
+
az deployment sub create --template-file ./cyclecloud-slurm-workspace/bicep/mainTemplate.bicep --parameters parameters.json --location [ANY AZURE LOCATION E.G. eastus] --name [OPTIONAL BUT HELPFUL, DELETE IF UNUSED]
43
+
```
44
+
45
+
1. Wait until the shell indicates that the deployment was successful. You can also track the progress of the deployment in the Azure portal. Go to the resource group shown in the UI, select **Deployments** from the Settings menu, and check the status of the deployment name that begins with "pid-" at the bottom of the displayed list.
0 commit comments