All Products
Search
Document Center

CloudOps Orchestration Service:Scheduled fix

Last Updated:Feb 27, 2026

CloudOps Orchestration Service (OOS) patch management scans for and fixes system vulnerabilities on Elastic Compute Service (ECS) instances on a schedule. Use scheduled fix to keep software packages up to date, install low-priority patches based on the default patch baseline, or configure a custom patch baseline.

Prerequisites

Before you begin, make sure that you have the following permissions configured in the Resource Access Management (RAM) console:

{
    "Policy": {
        "Version": "1",
        "Statement": [
            {
                "Action": [
                    "ecs:RebootInstance",
                    "ecs:DescribeInvocationResults",
                    "ecs:DescribeCloudAssistantStatus",
                    "ecs:DescribeInstances",
                    "ecs:DescribeInvocations",
                    "ecs:RunCommand"
                ],
                "Resource": "*",
                "Effect": "Allow"
            },
            {
                "Action": [
                    "oos:ListInstancePatchStates"
                ],
                "Resource": "*",
                "Effect": "Allow"
            }
        ]
    }
}

Create a scheduled fix task

  1. Log on to the OOS console. In the left-side navigation pane, click Quick Setup.

  2. In the Patch Management section, click Create. image

  3. Set the TimerTrigger parameter to specify when the fix runs: Executed Once at the Specified Time option Executed Periodically option

    OptionDescription
    Executed Once at the Specified TimeRun the scheduled fix once at a specific time.
    Executed PeriodicallyRun the scheduled fix on a recurring schedule.
  4. Set the Action parameter to specify what the fix does:

    ActionDescription
    Scan OnlyCheck ECS instances for system vulnerabilities without making changes.
    Scan and InstallScan for vulnerabilities and install patches. You can also specify whether to restart the instance and whether to create a snapshot.
    > Warning: If you select RebootIfNeed when installing a patch, the system determines whether to restart the instance based on the patch information. The following table describes the three patch management modes: Action parameter options

    ModeDescription
    ScanCheck an ECS instance for system vulnerabilities without making changes.
    Install without restartFix system vulnerabilities without restarting the ECS instance.
    Install with restartFix system vulnerabilities and restart the ECS instance based on the patch requirement.
  5. Select the ECS instance to patch. image

  6. Click Create. In the confirmation dialog box, click OK.

Verify the fix result

After the scheduled fix runs, check the patch status:

  1. In the left-side navigation pane, choose Server Management > Patch Management.

  2. View the fix status for each instance. image