All Products
Search
Document Center

CloudOps Orchestration Service:Start or shut down ECS instances at a scheduled time

Last Updated:Dec 28, 2023

Background information

You can use the Scheduled Startup/Shutdown feature of CloudOps Orchestration Service (OOS) to start or shut down multiple Elastic Compute Service (ECS) instances at a scheduled time. You can run a scheduled startup or shutdown task every day or on the specified days of each week.

Warning

If you use this feature, the selected instances will be started or stopped and you may experience service interruptions. Proceed with caution.

Procedure

  1. Log on to the OOS console.

  2. In the left-side navigation pane, choose Common O&M Tasks > Scheduled Startup/Shutdown. On the page that appears, click Create.image..png

  3. In the Select Task Type section, configure the Task Name, Execution Cycle, Task Type, Time Zone, Startup Time, Shutdown Time, and End Time parameters.image..png

  4. Set the Stop Mode parameter and specify whether to turn on the Hibernate Instance switch. A hibernated instance is different from a stopped instance. A hibernated instance automatically restores the applications on the instance to the original status before hibernation when the instance is awoken. This allows the instance to resume the provision of services in a short period of time. For more information about the limits of hibernation, see ECS documents.image..png

  5. Select instances in the Select Instances section.image..png

  6. Specify advanced options in the Advanced section.image..png

  7. Click Execute Now.