All Products
Document Center

Elastic Compute Service:ROS

Last Updated:Feb 04, 2024

You can create Resource Orchestration Service (ROS) templates to define cloud resources such as Elastic Compute Service (ECS) and ApsaraDB RDS instances. The orchestration engine of ROS automatically creates and configures all resources based on the templates, such as connecting ECS instances to ApsaraDB RDS instances and initializing data, to implement automated deployment and O&M.

For more information about ROS, see What is ROS?

How ROS works

After you create a template, ROS can use the template to create stacks and automatically deploy resources. The following figure shows how ROS works.

If you want to change resources in a stack, you can update the stack. For more information, see Update a stack.

Before you change your resources, you can create a change set to preview the changes that you want to apply to the resources. Then, you can execute the change set to apply the changes to your stack. For more information, see Overview.


You can create stack templates in the ROS console or by calling ROS API operations to quickly create and manage resources. For more information, see Create a stack or List of API operations by function. The following topics describe how to use ROS templates to create or manage ECS instances and related resources. For more information about ROS templates, see Template structure.

You can also perform the following operations on ROS:

  • Use Git or Subversion (SVN) to manage template versions, and then call ROS API operations to maintain stacks.

  • Use Alibaba Cloud CLI to create stacks. For more information, see Stack operations.