Skip to content

Commit 855f92d

Browse files
authored
Merge pull request #302077 from tfitzmac/0630edit4
copy edit
2 parents 33163da + cbbfeab commit 855f92d

9 files changed

+196
-199
lines changed

articles/cyclecloud/how-to/configure-autoscaling.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,39 @@
22
title: Configuring Autoscaling
33
description: Learn how to configure autoscaling on Azure CycleCloud clusters. Scaling lets you easily increase or decrease a resource to accommodate heavier or lighter loads.
44
author: adriankjohnson
5-
ms.date: 01/14/2020
5+
ms.date: 07/01/2025
66
ms.author: adjohnso
77
---
88

9-
# AutoScale Your Clusters
9+
# AutoScale your clusters
1010

11-
*Scaling* is the ability to easily increase or decrease a resource to accommodate heavier or lighter loads. In Azure CycleCloud, jobs can be easily scaled up when the load increases, or scaled down to conserve cost. This can be done automatically or manually.
11+
*Scaling* means you can easily increase or decrease a resource to handle heavier or lighter loads. In Azure CycleCloud, you can easily scale up jobs when the load increases or scale down jobs to save costs. You can set up scaling to happen automatically or do it manually.
1212

13-
## Auto-Scaling
13+
## Auto-scaling
1414

15-
When creating a new cluster via the GUI, the **Compute Backend** tab allows you to choose to auto-scale your cluster and add execute hosts as required. Check the box to allow CycleCloud to start and stop execute nodes as required, and set the number of initial and maximum cores allowed.
15+
When you create a new cluster through the GUI, the **Compute Backend** tab gives you the option to auto-scale your cluster and add execute hosts as needed. Select the check box to let CycleCloud start and stop execute nodes as needed. Set the number of initial and maximum cores.
1616

1717
::: moniker range="=cyclecloud-7"
18-
![Auto-Scale Setting for New Cluster](../images/version-7/autoscale-setting.png)
18+
![Auto-scale setting for new cluster](../images/version-7/autoscale-setting.png)
1919
::: moniker-end
2020

2121
::: moniker range=">=cyclecloud-8"
22-
![Auto-Scale Setting for New Cluster](../images/version-8/autoscale-setting.png)
22+
![Auto-scale setting for new cluster](../images/version-8/autoscale-setting.png)
2323
::: moniker-end
2424

25-
Setting a **Max Cores** number will limit the number of nodes started to ensure your workload does not run unfetted. You can also set up an [usage alert](~/articles/cyclecloud/concepts/usage-tracking.md) when submitting your job to ensure a budget is not exceeded.
25+
Setting a **Max Cores** number limits the number of nodes that start, so your workload doesn't run unchecked. You can also set up an [usage alert](~/articles/cyclecloud/concepts/usage-tracking.md) when you submit your job to make sure you don't go over budget.
2626

27-
## Auto-Scaling in Cluster Template
27+
## Auto-scaling in cluster template
2828

29-
By default, auto-scaling is disabled for all new clusters. To enable it, add the following to your [cluster template](cluster-templates.md):
29+
By default, new clusters have auto-scaling turned off. To turn on auto-scaling, add the following code to your [cluster template](cluster-templates.md):
3030

3131
``` ini
3232
Autoscale = true
3333
...
3434
MaxCoreCount = xx
3535
```
3636

37-
## Further Reading
37+
## More information
3838

3939
* Create a [Cluster Template](cluster-templates.md)
4040
* [Start a Cluster](start-cluster.md)

articles/cyclecloud/how-to/connect-to-node.md

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,93 +2,93 @@
22
title: Connecting to a Cluster Node
33
description: Use the CycleCloud web interface or CycleCloud CLI to log into a cluster node
44
author: adriankjohnson
5-
ms.date: 03/25/2020
5+
ms.date: 07/01/2025
66
ms.author: jechia
77
---
88

9-
# Connecting into Cluster Nodes
9+
# Connecting to cluster nodes
1010

11-
You can remotely access a cluster node using SSH for Linux nodes, and RDP for Windows nodes.
11+
You can remotely access a cluster node using SSH for Linux nodes and RDP for Windows nodes.
1212

1313
::: moniker range="=cyclecloud-7"
14-
The **Connect** button in the cluster management pane provides a connection string for accessing the node. For example, to access a cluster head node, select the master node in the cluster management pane and click the **Connect** button:
14+
The **Connect** button in the cluster management pane provides a connection string for accessing the node. For example, to access a cluster head node, select the primary node in the cluster management pane and select **Connect**:
1515

1616
![CycleCloud Master Node Connect Button](../images/version-7/cluster-connect-button.png)
1717

18-
The pop-up window shows the connection string you would use to connect to the cluster:
18+
The pop-up window shows the connection string you use to connect to the cluster:
1919

2020
![CycleCloud Master Node Connection Screen](../images/version-7/connect-to-master-node.png)
2121

22-
Copy the appropriate connectionstring and use either your SSH client or the CycleCloud CLI to connect to the master node.
22+
Copy the appropriate connection string and use either your SSH client or the CycleCloud CLI to connect to the primary node.
2323
::: moniker-end
2424

2525
::: moniker range=">=cyclecloud-8"
26-
The **Connect** button in the cluster management pane provides a connection string for accessing the node. For example, to access a cluster head node, select the scheduler node in the cluster management pane and click the **Connect** button:
26+
The **Connect** button in the cluster management pane gives you a connection string to access the node. For example, to access a cluster head node, select the scheduler node in the cluster management pane and select the **Connect** button:
2727

2828
![CycleCloud Master Node Connect Button](../images/version-8/cluster-connect-button.png)
2929

30-
The pop-up window shows the connection string you would use to connect to the cluster:
30+
The pop-up window shows the connection string you use to connect to the cluster:
3131

3232
![CycleCloud Master Node Connection Screen](../images/version-8/connect-to-scheduler-node.png)
3333

34-
Copy the appropriate connectionstring and use either your SSH client or the CycleCloud CLI to connect to the master node.
34+
Copy the connection string and use either your SSH client or the CycleCloud CLI to connect to the primary node.
3535
::: moniker-end
3636

3737

3838
## Accessing cluster nodes in a private subnet
3939

40-
You can use either `cyclecloud connect` or raw SSH client commands to access nodes that are within a private subnet of your VNET. These instructions assume you are using SSH with public-key authentication. This is typical for Linux nodes. For Windows, you can use this method to set up an RDP tunnel.
40+
To access nodes within a private subnet of your virtual network, use either `cyclecloud connect` or raw SSH client commands. These instructions assume you're using SSH with public-key authentication, which is typical for Linux nodes. For Windows nodes, you can use this method to set up an RDP tunnel.
4141

4242
First, make the private key accessible to the target node. The simplest way is to run an SSH agent on your personal machine.
4343

4444
> [!WARNING]
45-
> The private key should never leave your personal machine! In the
46-
> following examples your private key never leaves your machine. The agent uses
47-
> this to respond to authentication challenges sent by the remote node.
45+
> Never share your private key outside your personal machine. In the
46+
> following examples, your private key stays on your machine. The agent uses
47+
> your private key to respond to authentication challenges sent by the remote node.
4848
4949
From your local machine, start the agent with the `ssh-agent` command:
5050

5151
``` script
5252
exec ssh-agent bash
5353
```
5454

55-
If the private key is not your default private key (*~/.ssh/id_rsa* or _~/.ssh/identity_), add it to the agent:
55+
If the private key isn't your default key (`~/.ssh/id_rsa` or `~/.ssh/identity`), add it to the agent:
5656

5757
``` script
5858
ssh-add PATH_TO_KEYPAIR
5959
```
6060

61-
Those commands only need to be run once (or after you reboot).
61+
You only need to run these commands once (or after you reboot).
6262

6363
### Using `cyclecloud connect`
6464

65-
You can connect to an node via a bastion server by specifying the IP address on the command line:
65+
You can connect to a node through a bastion server by specifying the IP address on the command line:
6666

6767
``` CLI
6868
cyclecloud connect htcondor-scheduler --bastion-host 1.1.1.1
6969
```
7070

71-
The above command assumes `cyclecloud` as the username, `22` as the port, and loads your default SSH key. To customize these values, see the `--bastion-*` help options for the [`cyclecloud` CLI command](~/articles/cyclecloud/cli.md#cyclecloud-connect).
71+
This command uses `cyclecloud` as the username, `22` as the port, and loads your default SSH key. To customize these values, see the `--bastion-*` help options for the [`cyclecloud` CLI command](~/articles/cyclecloud/cli.md#cyclecloud-connect).
7272

73-
Alternately, the CycleCloud CLI can detect the bastion host for you if you add the following directive to your `~/.cycle/config.ini`:
73+
Alternatively, the CycleCloud CLI can detect the bastion host for you if you add the following directive to your `~/.cycle/config.ini`:
7474

7575
``` ini
7676
[cyclecloud]
7777
bastion_auto_detect = true
7878
```
7979

80-
With the above directive, you can run `cyclecloud connect htcondor-scheduler` without specifying any details about the bastion server.
80+
With this directive, you can run `cyclecloud connect htcondor-scheduler` without specifying any details about the bastion server.
8181

82-
You can also use `cyclecloud connect` to connect a Windows VM. Executing the following command will create an RDP connection over an SSH tunnel. Additionally, it will launch the Microsoft RDP client on OSX and Windows:
82+
You can also use `cyclecloud connect` to connect a Windows VM. When you run the following command, it creates an RDP connection over an SSH tunnel. It also starts the Microsoft RDP client on macOS and Windows:
8383

8484
``` CLI
8585
cyclecloud connect windows-execute-1
8686
```
8787

8888
> [!NOTE]
89-
> CycleCloud chooses an unused ephemeral port for the tunnel to the Windows VM.
89+
> CycleCloud picks an unused ephemeral port for the tunnel to the Windows VM.
9090
91-
You can configure the `cyclecloud` command to use a single bastion host for all your connections:
91+
You can set up the `cyclecloud` command to use one bastion host for all your connections with this command:
9292

9393
``` ini
9494
[cyclecloud]
@@ -98,25 +98,24 @@ bastion_key = ~/.ssh/example_key.pem
9898
bastion_port = 222
9999
```
100100

101-
### Using Raw SSH Commands
101+
### Using raw SSH commands
102102

103-
You can connect to a private server via the bastion server using agent forwarding:
103+
You can connect to a private server through the bastion server by using agent forwarding:
104104

105105
``` CLI
106106
ssh -A -t cyclecloud@BASTION_SERVER_IP ssh -A cyclecloud@TARGET_SERVER_IP
107107
```
108108

109-
This connects to the bastion and then immediately runs SSH again, so you get a terminal on the target VM. You may need to specify a user other than
110-
`cyclecloud` on the VM if your cluster is configured differently. The `-A` argument forwards the agent connection so your private key on your local machine is used automatically. Note that agent forwarding is a chain, so the second SSH command also includes `-A` so that any subsequent SSH connections initiated from the target VM also use your local private key.
109+
This command connects to the bastion server and then immediately runs SSH again, so you get a terminal on the target VM. You might need to specify a user other than
110+
`cyclecloud` on the VM if you configured your cluster differently. The `-A` argument forwards the agent connection so your private key on your local machine is used automatically. Agent forwarding works as a chain, so the second SSH command also includes `-A` to ensure that any subsequent SSH connections initiated from the target VM also use your local private key.
111111

112-
### Connecting to Services on the Target VM
113-
114-
You can use the SSH connection to connect to services on the target VM, such as a Remote Desktop, a database, etc. For example, if the target VM is Windows, you can create a Remote Desktop tunnel by connecting to the target VM with a similar SSH command from above, using the `-L` argument:
112+
### Connecting to services on the target VM
115113

114+
You can use the SSH connection to connect to services on the target VM, such as a Remote Desktop, a database, and more. For example, if the target VM is Windows, you can create a Remote Desktop tunnel by connecting to the target VM with an SSH command similar to the following example, using the `-L` argument:
116115

117116
``` CLI
118117
ssh -A -t cyclecloud@BASTION_SERVER_IP -L 33890:TARGET:3389 ssh -A cyclecloud@TARGET_SERVER_IP
119118
```
120119

121-
This will tunnel port 3389 on target to 33890 on your local machine. Then if you connect to `localhost:33890` you will actually be connected to the target VM.
120+
This command tunnels port 3389 on the target to port 33890 on your local machine. When you connect to `localhost:33890`, you actually connect to the target VM.
122121

0 commit comments

Comments
 (0)