Group your cloud resources and use Resource Orchestration Service (ROS) to streamline O&M.
Use cases
As cloud resource usage grows, efficient O&M becomes critical. Traditional manual methods can no longer keep pace with rapidly expanding cloud operations. ROS is an Alibaba Cloud service that simplifies cloud resource management. Developers and administrators can write a template to define the required Alibaba Cloud resources, such as ECS instances and RDS database instances, and the dependencies between them. The ROS orchestration engine then uses the template to automatically create and configure all resources, enabling automated deployment and O&M. To perform O&M, you must first identify the target resources. Resource groups let you organize cloud resources by deployment environment, department, or project. After grouping, you can use ROS to manage them efficiently.
Consider an enterprise that runs multiple projects. After a project ends, the enterprise needs to clean up project resources in batches to improve efficiency.
Procedure
-
Create resource groups and transfer resources to them.
-
Log on to the Resource Management console.
-
Create a resource group.
In this example, create one resource group for each project.
For more information, see Create a resource group.
-
Transfer resources to their corresponding resource groups.
In this example, resources that belong to different projects are transferred to the corresponding resource groups.
For more information, see Transfer resources across resource groups.
-
-
Clean up resources by resource group.
-
Log on to the ROS console.
-
In the left-side navigation pane, choose Common Tools > Resource Cleanup.
-
Click Create Scenario.
-
Configure the scenario parameters.
Filter resources by Resource Group and keep other parameters at their default settings.
For information about the resource types that support cleanup, see Supported resource types.
-
Click Scan.
The scenario is created when its status changes to Created..
-
Click the scenario name. On the Overview tab, in the Resource Cleanup Summary section, view the list of resources targeted for cleanup.
-
In the upper-right corner of the scenario details page, click Update.
-
Set the cleaner action to Clean Up, and then click Update.
-
On the Overview tab, in the Resource Cleanup Detail section, verify that the resources in the resource group are cleaned up.
-
Learn more
The resource replication, resource import, and resource migration scenarios in ROS also support filtering resources by resource group. For more information, see Create a scenario.