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. ROS imports a collection of resources
and generates a stack from the imported resources. This way, you can manage the resources
in a centralized manner. You can view the stack on the Stacks tab of the scenario
management page.
For more information about resource management scenarios, see How a scenario works.
Step 1: Create a resource management scenario
- Log on to the ROS console.
- In the left-side navigation pane, click Scenarios.
- In the upper-left corner of the Scenarios page, select a region where you want to
create the scenario from the region drop-down list.
- On the Scenarios page, click Create Scenario.
- In the Create Scenario dialog box, enter a description of the scenario and set the scenario type to Resource Management.
- Specify Resource Range.
- Select resources that are associated with specified tags.
- Select Source Tag as Method.
- In the Source Tag section, configure Tag key and Tag value based on your business requirements.
You can specify up to 10 tags.
- (Optional) Select resource types from the Resource Type drop-down list.
You can select up to 20 resource types.
- Select resources that belong to a specified resource group.
- Select Source Resource Group as Method.
- Select a resource group from the Source Resource Group drop-down list.
- (Optional) Select resource types from the Resource Type drop-down list.
You can select up to 20 resource types.
- Select specified resources.
- Select Source Resource as Method.
- In the Source Resource section, configure Resource Type and Resource ID.
You can select up to 20 resource types.
- Specify Delete Resource.
- No: If you delete a stack that you use to manage resources, the resources are retained.
- Yes: If you delete a stack that you use to manage resources, the resources are deleted
by default. If you specify resources that you want to retain in the Delete Stack dialog
box when you delete the stack, only the resources that are specified are retained.
- Click Create.
After you create the scenario, Created appears in the Status column on the Scenarios page.
Step 2: Manage resources
- On the Scenarios page, click the ID of the scenario.
- On the scenario management page, click Manage Resource in the upper-right corner.
- Click Yes.
- After the resources are managed, click Disable.
Step 3: View managed resources
- On the scenario management page, click the Stacks tab. Then, click the ID of the stack that you use to manage the resources.
- On the stack management page, click the Resources tab to view the details of the managed resources.