All Products
Search
Document Center

Resource Orchestration Service:Resource management scenario

Last Updated:Jan 16, 2024

If you want to import a collection of existing resources to a stack and manage the resources in a centralized manner, you can create a resource management scenario.

Background information

When you create a resource management scenario, Resource Orchestration Service (ROS) filters resources within the specified scope and generates information about the resources, such as the resource architecture and properties. You can import the resources to ROS to generate a stack. This way, you can use the stack to manage the resources in a centralized manner. Then, you can view the stack on the Stacks tab of the scenario management page.

For more information about resource management scenarios, see Overview.

A template can be generated from a resource scenario with one click. For more information, see Generate a template based on a scenario with one click.

Step 1: Create a resource management scenario

  1. Log on to the ROS console.

  2. In the left-side navigation pane, click Scenarios.

  3. In the top navigation bar, select a region where you want to create the resource scenario from the region drop-down list.

  4. On the Scenarios page, click Create Scenario.

  5. In the Create Scenario dialog box, specify the Description parameter and select Resource Management as Select Scenario Type.

  6. Configure the parameters in the Resource Range section.

    • Select resources that are associated with specified tags.

      1. Select Source Tag as Method.

      2. In the Source Tag section, configure Tag Key and Tag Value based on your business requirements.

        Note

        Specify tags that are added to existing resources. You can specify up to 10 tags.

      3. (Optional) Select resource types from the Resource Type drop-down list.

        You can select up to 15 resource types.

    • Select resources that belong to a specified resource group.

      1. Select Source Resource Group as Method.

      2. Select a resource group from the Source Resource Group drop-down list.

      3. (Optional) Select resource types from the Resource Type drop-down list.

        You can select up to 15 resource types.

    • Select specified resources.

      1. Select Source Resource as Method.

      2. In the Source Resource section, select resource types from the Resource Type drop-down list and resource IDs from the Resource ID drop-down list.

        You can select up to 20 resource types.

  7. In the Configure Scenario section, set the Delete Resource parameter to one of the following values:

    • No: retains resources when you delete the stack that you use to manage the resources.

    • Yes: deletes resources by default when you delete the stack that you use to manage the resources. If you choose to retain specific resources when the Delete Stack dialog box appears, the resources are retained.

  8. Configure the Tags parameter for the resource scenario.

    Note

    You can add up to 20 tags to each resource.

  9. Click Create.

    After the resource scenario is created, Created appears in the Status column on the Scenarios page.

Step 2: Manage resources

  1. On the Scenarios page, click the ID of the scenario.

  2. In the upper-right corner of the scenario management page, click Manage Resource.

  3. Click Yes.

  4. After the resources are managed, click Disable.

Step 3: View managed resources

  1. On the scenario management page, click the Stacks tab. Then, click the ID of the stack that you use to manage the resources.

  2. On the stack management page, click the Resources tab to view the details of the managed resources.