All Products
Search
Document Center

CloudOps Orchestration Service:Create an inventory

Last Updated:Sep 04, 2026

For system administrators and operations engineers, OOS provides the Inventory Management feature. The OOS console lets you set up an inventory for ECS instances to automate system data collection, improve operational efficiency, and simplify the monitoring process.

Note

To understand how inventory collection works, note that creating an inventory essentially creates an OOS desired-state configuration. This desired-state configuration is similar to an OOS execution. When you create the desired-state configuration, you set the type to Inventory and specify a collection policy (the inventory types to collect). These are similar to OOS template parameters. You also configure a schedule for the desired-state configuration to run, which is similar to running an OOS template on a schedule.

Limitations

  • Inventory collection requires the Cloud Assistant agent. Your target ECS instances must have the latest version of the Cloud Assistant agent installed for optimal data collection. By default, official images come with the latest agent pre-installed. If you are unsure about the agent version on an instance, see Install the Cloud Assistant agent.

  • Your Alibaba Cloud account must have permissions for OOS operations management. This requirement does not apply to the primary Alibaba Cloud account. If your account lacks the necessary permissions, see access control to grant them.

Supported settings

Instance selection methods

When you create an inventory, you can select instances in the following ways:

  • Manually select instances: Use this method if you need to select a small number of instances.

  • Specify instance tags: Select multiple instances based on their tags. This requires that the target instances are already tagged.

  • Specify a resource group: Select all instances within a specific resource group. This requires that the target instances are already in the resource group.

  • Select all instances: Use this method to quickly collect data from all instances in the current region.11

Data collection plan

You can set a schedule to collect inventory information at regular intervals. The following time units are supported:

  • Hours: The interval in hours between collections. This is the default unit.

  • Minutes: The interval in minutes between collections. The minimum interval is 30 minutes.

  • Days: The interval in days between collections.

Create an inventory

  1. Log on to the OOS console. Click Quick Setup, and then on the Inventory Management tab, click Create.image

  2. Select target instances. This example uses the Specify Instance Tags method.12

  3. Set the data collection plan. In this example, the interval is set to 30 minutes.14

  4. Select the inventory information to collect. In this example, Applications is selected.15

  5. Click Create. In the confirmation dialog box that appears, click Confirm.

  6. After the inventory is created, it appears in the inventory details list.10