All Products
Search
Document Center

:Start or stop instances at a scheduled time

最終更新日:Jul 29, 2024

Background information

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

Warning

If you use this feature, the selected ECS or ApsaraDB RDS instances are started or stopped at a scheduled time and you may experience service interruptions. Proceed with caution.

Procedure

  1. Log on to the CloudOps Orchestration Service console.

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

  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.

  4. Configure the Resource Type and Stop Mode parameters and turn on or off the Hibernate Instance switch based on your business requirements. 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 the ECS documentation.

  5. Select instances in the Select Instances section. Select ECS or ApsaraDB RDS instances based on the resource type that you specified.

  6. Configure advanced settings in the Advanced (Optional) section.

  7. Click Create.