All Products
Search
Document Center

ENS:Scheduled maintenance window

Last Updated:Jun 24, 2026

A scheduled maintenance window lets you configure specific time periods for system maintenance on your ENS instances. We recommend that you schedule these windows during off-peak hours. Performing maintenance actions, such as an instance restart or instance redeployment, within these windows minimizes the impact on your business and improves system stability.

Notes

  • The start and end times for a scheduled maintenance window are in UTC+8. Convert your local off-peak hours to this time zone.

  • The total duration of a scheduled maintenance window must be at least 4 hours.

How maintenance windows work

  • Execution order: For events with a user-scheduled execution time, the system performs the maintenance action at that time. For other events, the system performs the action at the earlier of the scheduled maintenance window or the system's default execution time.

  • Rate limiting: For each user, the system performs only one maintenance action every 30 minutes.

Maintenance actions

Scheduled maintenance windows support two maintenance actions: instance restart and instance redeployment. Instance redeployment has a higher priority than instance restart. This means that a SystemMaintenance.Redeploy (instance redeployment for system maintenance) event overrides a SystemMaintenance.Reboot (instance restart for system maintenance) event scheduled for the same period.

Maintenance action

Action

Instance type

Affected system events

Maintenance method

instance restart

cloud disk-based instance

SystemMaintenance.Reboot
(instance restart for system maintenance)

Instance restart

instance redeployment

local disk-based instance

SystemFailure.Redeploy
(instance redeployment due to system failure)

Instance redeployment

SystemMaintenance.Redeploy
(instance redeployment for system maintenance)

Redeploying the instance erases all data on the local disk.

Create a scheduled maintenance window

  1. Log on to the ENS console.

  2. In the left-side navigation pane, choose O&M and Monitoring > System Events.

  3. On the System Events page, click the Scheduled O&M Window tab, and then click Create Scheduled O&M Window.

  4. In the Create Scheduled O&M Window dialog box, configure the following parameters:

Parameter

Description

Example

O&M Window Name

The name of the window. The name must be 2 to 200 characters in length and can contain letters (including English and Chinese), digits, colons (:), underscores (_), periods (.), and hyphens (-).

  • We recommend that you keep the name between 2 and 64 characters for optimal display.

  • Duplicate names are allowed, but we recommend using unique names for easier management.

Redis_Service_Maintenance_Window

Resource Scope

Specify the target ENS instances by selecting All Instances or Instances with Specific Tags. You can associate only one target type with each scheduled maintenance window.

  • All Instances: all instances under your account.

  • Instances with Specific Tags: Selects instances that have the specified tags, across all regions.

All resources

Repeat Period

Specifies how often the window recurs. It can be set to daily or weekly.

  • Daily: The time window repeats every day.

  • Weekly: The time window repeats every week.

Weekly

Time Window

The time range when maintenance can be performed. You can define multiple time ranges within a single scheduled maintenance window.

Note

You can set multiple time windows. Each must be at least 4 hours long.

  • Weekly:
    - Start time: Monday 00:00
    - End time: Monday 04:00




  • Daily:
    - Start time: 00:00
    - End time: 04:00




Supported O&M Actions

The maintenance actions allowed within this window.

  • Instance Restart: Allows instance restart operations within this window. Currently, only the SystemMaintenance.Reboot (instance restart for system maintenance) event is supported.

  • Redeploy Instance: Allows instance redeployment and restart operations within this window. Currently, only the SystemFailure.Redeploy (instance redeployment due to system failure) and SystemMaintenance.Redeploy (instance redeployment for system maintenance) events are supported.

Instance restart

Status

Enables or disables the scheduled maintenance window.

  • enabled: The scheduled maintenance window is active.

  • disabled: The scheduled maintenance window is inactive.

enabled

The new window appears in the list of scheduled maintenance windows.

Manage scheduled maintenance windows

  • View a scheduled maintenance window: View existing windows on the Scheduled O&M Window tab. To see the details of a specific window, click Details in the Actions column.

  • Modify a scheduled maintenance window: To modify a window's configuration for reasons like resolving a peak-hour conflict or extending the window, click Edit in the Actions column.

  • Delete a scheduled maintenance window: To simplify management, delete redundant windows, such as those for retired projects or that overlap with others. To delete a window, click Delete in the Actions column.

    Note

    Note: After you delete a scheduled maintenance window, any maintenance events scheduled for it revert to the system's default execution time.