Resource Orchestration Service (ROS) can automatically create and configure all the resources defined in templates to implement automated deployment and O&M. You can use ROS to call the API operations of CloudOps Orchestration Service (OOS), for example, to automatically create a common parameter.
Supported resources
ROS is a service provided by Alibaba Cloud that simplifies cloud resource management. You define the required resources, such as Elastic Compute Service (ECS) and ApsaraDB RDS instances, in a template, and ROS automatically creates and configures them. For more information, see What is Resource Orchestration Service
The following table lists the OOS resources that can be orchestrated by using ROS.
|
Resource type |
Reference |
Description |
|
Resources |
Registers a default patch baseline. |
|
|
Starts an execution. |
||
|
Creates a template. |
||
|
Creates a common parameter. |
||
|
Creates a patch baseline. |
||
|
Creates an encrypted parameter. |
||
|
Creates a desired-state configuration. |
||
|
Data sources |
Queries a patch baseline. |
|
|
Queries a list of patch baselines. |
||
|
Queries a list of encrypted parameters. |
Permissions
An Alibaba Cloud account has permissions on all API operations but may pose security risks. We recommend that you use a Resource Access Management (RAM) user for API calls and routine O&M. Before you use a RAM user, grant the required permissions. For more information, see Use RAM for access control.
Procedure
-
Log on to the ROS console. In the top navigation bar, select a region based on your business requirements.
-
In the left-side navigation pane, choose Deployment > Stacks. On the Stacks page, choose .
-
Specify Template: Select Select an Existing Template.
-
Template Import Method: Select Enter Template Content.
-
-
In the Template Content section, click the ROS tab and enter code in the JSON or YAML format.
For more information about the syntax and parameters, see ALIYUN::OOS::Parameter. The following sample code creates a common parameter.
-
Click Next. In the Configure Parameters step, select Yes for the Rollback on Failure parameter.
-
Click Create to create the stack.
-
View the result.

-
Log on to the OOS console. In the left-side navigation pane, click Parameter Store.
-
In the top navigation bar, select the region in which you created the stack.
-
On the Common Parameters tab of the Parameter Store page, check whether the parameter is created as expected.
