Elastic Compute Service
Parameter | Description | Sample value |
Parameter | Description | Sample value |
Basic information | | |
Job name | Set the job name. | Install the Cloud Monitor plugin |
Execute command | | |
Command source | Select the type of O&M command that you want to execute, with currently supported types as follows:
| Public commands |
Command | Select the public command or custom command that you need to execute. | Install Cloud Monitor Agent on Linux instance |
Command type | When you select the "Manual input" command, you can use commands of the Linux Shell, Python, Windows PowerShell, or Windows Bat type. | - |
Execute path (optional) | Enter the command execution path.
| /home |
Parameter | Specify values for custom parameters when you enter execution commands. For parameter descriptions, refer to Public command summary. tip You are required to specify parameter values only for commands that use custom commands and public commands. | - |
Executing user | You can specify an existing user in the target instance to execute commands. We recommend that you avoid using the root user to reduce security risks. tip Specify a user with the permission to execute commands. | user1 |
Login password | Enter the login password for the execution user. tip You are required to enter the login password only if the command meets one of the following conditions:
| - |
Timeout period | Set the timeout period for command execution on each instance. If the command execution times out, the cloud assistant will mark the job 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 86,400 seconds. | 60 seconds |
Execution mode | | |
Execution mode | For the job execution modes, the following options are available:
tip
tip The execution interval is independent of the actual execution duration of the job and is calculated based on the "Start time" you specify. For example, if the start time for a job is 2022-12-20 11:00:00, the repeat cycle is 1 hour, and the duration of the first execution is 3 minutes, the second execution starts at 2022-12-20 12:00:00. | Execute immediately |
Execute object | | |
Object | Select ECS instances that meet the requirements for you to execute the job by instance name, project, tag, or other information. You can select multiple instances at one time. tip You can select up to 200 ECS instances. | - |
Advanced configuration | | |
Project | You can add the Cloud assistant to the project and manage it uniformly 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 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 |