Elastic Compute Service
Parameter | Description | Sample value |
Parameter | Description | Sample value |
Basic information | | |
Command name | Set the command name. | Change login password |
Command source | Select the command type. For the current version, Linux Shell, Python, Windows PowerShell, and Windows Bat can be selected. | Linux Shell |
Command contents | Write the specific command content based on the requirements. tip
| - |
Use argument | You can use custom parameters in the command based on your requirements. After you enable this option, custom parameters in the command content are displayed automatically. For more details on custom parameters, refer to Custom parameter descriptions. | - |
Execute configuration | | |
Execution path | Enters the command execution path. tip
| /root |
Default executing user | You can specify an existing user in the target instance to execute commands. We recommend that you avoid using the Root or System user to reduce security risks. | user1 |
Login password | Enter the login password for the execution user. tip When the command type is Windows PowerShell or Windows Bat, and the execution user is not "system", you are required to enter the login password. | |
Timeout | Sets the timeout period for command execution on each instance. If the command execution times out, the cloud assistant will mark the task as failed on the corresponding instance. tip The default timeout period varies by commands, and you can manually adjust it within the range of 30 seconds to 24:00:00. | - |
Advanced configuration | | |
Project | Project: You can add the cloud assistant to the project and manage it by project dimension, which helps maintain resource independence and ensure data security. For more project details, refer to Project management. | default |
Tag | A tag is a key-value pair used to identify cloud resources. Tags help you categorize resources based on different dimensions, such as purpose, owner, or environment. This allows you to search and aggregate your resources. For more information about tags, refer to Tags. | Key1:Value1 |
Command name | Type | Parameter description | Description |
Command name | Type | Parameter description | Description |
Update software source key | Linux Shell | - | Used to update Mirror source key information. For more details, see How to fix expired software repository keys?. |
Install Cloud Monitor Agent on Linux instance | Linux Shell | - | This command is used to install Cloud Monitor plugins on Linux instances. For more details about Cloud Monitor, refer to What is Cloud Monitor. |
Change Linux instance password | Linux Shell |
tip You can only change login passwords corresponding to existing usernames for instances. | This command is used to change login usernames and passwords of Linux instances. |
Add SSH public key to Linux instance | Linux Shell | ssh_public_key: Required. The public key of the SSH key pair. | This command is used to add a public key from a key pair to a Linux instance for the SSH login. |
Replace SSH public key for Linux instance | Linux Shell |
| This command is used to replace the public key from a key pair for a Linux instance for the SSH login. |
Script to diagnose and troubleshoot RDMA failure | Python | - | This command is used to troubleshoot RDMA failures on HPC GPU-optimized instances. tip Only HPC-optimized instances support this feature. For purchase details, refer to Purchasing HPC-optimized instances. |
Collect Linux instance status | Linux Shell | - | This command is used to collect status information of a Linux instance, including OS version, network information, memory usage, GPU usage, cloud-init information, and SOS information. Finally, the command generates the status information as a compressed package in the /tmp directory for easy analysis afterwards. |
Upload file to Windows instance | PowerShell |
| This command is used to send local files to multiple Windows instances in a batch. tip
|
Change Windows instance password | PowerShell |
tip You can only change login passwords corresponding to existing usernames for instances. | This command is used to change login usernames and passwords of Windows instances. |
Upgrade cloud assistant Agent | Linux Shell | - | This command is used to upgrade the cloud assistant Agent. tip Currently, this command is supported in the China (Beijing) region only. If you need to trial it in other regions, please contact the account manager to apply. |
Reset password online | Linux Shell |
| This command is used to reset Linux instance passwords online. |
Install ModelArk privatized license client | Linux Shell |
tip Keep your SECRET_KEY secure. Do not share it with unauthorized parties or store it in plaintext in configuration files, logs, or similar locations, to prevent unauthorized use of the API if the key is compromised. | Used to install and deploy the ModelArk privatized license client (Agent). tip Currently, this command is supported in the China (Beijing) region only. If you need to trial it in other regions, please contact the account manager to apply. |
Uninstall ModelArk privatized license client | Linux Shell | - | Used to uninstall the ModelArk privatized license client (Agent). tip Currently, this command is supported in the China (Beijing) region only. If you need to trial it in other regions, please contact the account manager to apply. |