Elastic Compute Service
Parameter | | Description | Sample value |
Parameter | | Description | Sample value |
Basic information | | | |
Plan name | | Enter the name of the patch plan. | Patch task executed immediately |
Patching method | | | |
Execution mode | Select the patching execution mode. You can select "Now", "Timed execution", or "Periodic". | | Now |
| Now (default) | After the task is created, it is executed immediately. | |
| Timed | The task is executed automatically once at the time you specify. tip The execution time must be accurate to the minute and can not be earlier than the current time. | |
| Periodic | The task is executed automatically based on the configured interval (daily/weekly/monthly) or Cron expression from the specified start time, and stops automatically at the cycle end time. You need to configure the following information:
tip By month:
tip The execution interval is independent of the actual execution duration of the task and is calculated based on the "Execution time" you specify. For example: If the execution time is 2025-12-20 11:00:00 and the repeat cycle is 1 hour, and the duration of the first execution is 3 minutes, the second execution starts at 2025-12-20 12:00:00. | |
Parameter | Subparameter | Description | Sample value |
Parameter | Subparameter | Description | Sample value |
Action type | Scan (default) | Checks patch status, troubleshoots all instances within the patch plan scope, and generates a compliance report. No installation is performed without business risk involved. This configuration is applicable for initial baseline compliance verification, troubleshooting after patch installation failure, and status verification after manual actions. | Scan |
| Scan and install | First performs patch status checks for all instances within the patch plan scope, then automatically installs relevant patches to fix issues, and generates a compliance report after completion. This configuration is applicable to scenarios such as emergency response and compliance remediation. warning Patch installation may involve potential risks such as service interruptions, CPU spikes, and I/O spikes, which can affect business operations and service performance. Please proceed with caution. | |
Create snapshots for the system | - | Select whether to create snapshots for the system. This parameter is required only when "Scan and install" is selected. tip We recommend that you select "Create snapshots for the system". Patch installation may involve updates to the operating system kernel, which are high-risk operations that may fail or cause system exceptions. Creating a snapshot can effectively ensure system recoverability and reduce O&M risks.
tip Snapshots are created per instance, with a unified name prefix of "PatchManager".
| Select "Create snapshots for the system" |
Allow restart | - | Select whether to automatically restart the instance after patch installation. This parameter is required only when "Scan and install" is selected.
tip Whether a restart is required after patch installation depends on the type of corresponding component. Generally, there are two types:
| Allow restart |
Parameter | Description | Sample value |
Parameter | Description | Sample value |
Baseline selection | | |
Baseline selection | Select the baseline to be used for the patch plan. Options:
| Use recommended default |
Target node | | |
Target selection | Select the method for filtering target instances. Multiple dimensions are supported for precise filtering of target instances for patch installation. Choose based on your business requirements. Supported:
After selection, only the selected resources can match this patch plan. Up to 200 instances can be selected.
After selection, newly created instance resources that meet the condition will automatically match this patch plan. | Specify project |
Select instance (optional) | Manually select the target instances for patch scanning or installation. You can select one or multiple instances. tip Required only when the "Target selection" parameter is set to "Manually select instance". | - |
Instance tag (optional) | Select the target tag key and value from the instance tag dropdown list. You can click the "Add tags" button to add more instance tags. At least one tag is required, and up to 10 tags can be configured. tip Required only when the "Target selection" parameter is set to "Specify instance tag". | - |
Select project (optional) | Click the project dropdown list and select the target project. tip Required only when the "Target selection" parameter is set to "Specify project". | default |
Parameter | Description | Sample value |
Parameter | Description | Sample value |
Concurrency rate |
| 10 |
Maximum number of errors | Specifies the maximum number or percent of errors allowed when executing a batch instance task within a specific operation or range. Execution stops when the number of errors reaches this value.
tip The next step is allowed to proceed only when the actual number of failures across all batches of the task is less than or equal to the maximum number of errors you specify.
tip The next step is allowed to proceed only when the actual failure rate (percentage of failed instances) across all batches of the task is less than or equal to the maximum error rate (percentage) you specify. | Error count: 1 |