All Products
Search
Document Center

Elastic Compute Service:Use OOS to manage ECS

Last Updated:Aug 08, 2024

CloudOps Orchestration Service (OOS) is an automated O&M service provided by Alibaba Cloud that helps you manage and run O&M tasks in the cloud. You can create templates to define execution tasks, the sequence of the tasks, input parameters, and output parameters, and use the templates to automatically run O&M tasks. This topic describes how to use OOS to manage Elastic Compute Service (ECS).

Scenarios

The following table describes the scenarios for which OOS is suitable.

Scenario

Description

Run event-driven O&M tasks

You can use OOS to trigger an O&M action when an event occurs. This way, O&M tasks can be automatically and efficiently run without the need for human intervention.

For example, you can use OOS to trigger instance restart when a high vCPU utilization event occurs. When the vCPU utilization of an ECS instance reaches 85%, the instance is automatically restarted.

Run batch O&M tasks

You can use OOS to run O&M commands on multiple objects, such as ECS instances, at a time to perform regular operations and maintain the normal operation and health of your business.

For example, to check the available space of disks on multiple ECS instances, perform the following steps: Search for ECS instances by instance name, tag, or resource group, run a Cloud Assistant command to check the available space of disks on the instances, and then view the check result.

Run O&M tasks subject to approval

In many scenarios, you must add an approval process to ensure that only secure and expected O&M operations are performed. You can define an ACS::Approve action in a template to ensure that O&M tasks can be run only with manual approval and that only expected O&M tasks are run without mistakes.

Run scheduled O&M tasks

You can use OOS to run O&M tasks based on a schedule. For example, you can use OOS to start, stop, and restart ECS instances on a periodic basis to reduce costs.

Run cross-region O&M tasks

High-availability architectures allow multi-region deployment, which results in increasingly complex O&M tasks. You can use OOS to create templates for O&M operations in different regions to run O&M tasks across regions.

Perform O&M in multiple regions

If you use resources in multiple regions, synchronization is required to maintain consistency among the resources. For example, you may need to enable the logging feature for Object Storage Service (OSS) buckets in multiple regions at a time.

You can use OOS as a platform to standardize O&M tasks. You can create templates from manuals, such as Operations and Maintenance Guides, User Guide, and Operation Guides, to perform operations as code. For more information about the scenarios for which OOS is suitable, see Scenarios.

Benefits

OOS can help you better standardize, manage, and run automated O&M tasks to improve O&M efficiency and security. OOS provides the following benefits:

  • Visualized execution processes and results

  • Free and managed service

  • Efficiency in batch managing multiple O&M tasks

  • Superior authentication and verification systems

  • Easy-to-use templates

  • Cross-region O&M

  • Operations as code

  • Delegated authorization

For more information about the OOS benefits, see Benefits.

Use OOS to manage ECS

You can use OOS to manage ECS by performing the following operations:

For more information, see OOS Use Cases.