All Products
Document Center

Elastic Compute Service:ROS

Last Updated:Nov 22, 2023

Resource Orchestration Service (ROS) is an Alibaba Cloud service that can simplify the management of cloud computing resources. You can compile stack templates to describe cloud computing resources such as Elastic Compute Service (ECS) and ApsaraDB RDS instances, and the dependencies between resources in the templates. The ROS engine automatically creates and configures all resources in a stack based on a template to implement automated deployment and O&M.

How ROS works

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

If you want to change the 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.


  • Free service hosting

    ROS provides a fully managed and serverless O&M service that enables the automatic execution of O&M tasks. You can define Alibaba Cloud resources, describe the dependencies between the resources, configure template parameters, and then create a stack to manage the resources.

  • Resource deployment across accounts and regions

    You can use a single template to implement automated deployment within multiple Alibaba Cloud accounts across regions. You can also use a single template to deploy development, test, and production environments. You can specify parameters in the template based on the requirements of the environments. For example, you can use the same template to deploy two ECS instances in the test environment and 20 ECS instances in the production environment.

  • Standardized deployment

    ROS allows you to implement repeated deployment and save deployment costs by standardizing deployment environments, minimizing differences between environments, and incorporating environment configurations into templates.

  • Visual presentation of results

    You can view the deployment status of all resources that are deployed by using the ROS console or by calling API operations. This eliminates the need to manually check the deployment process.

  • Drift detection

    You can use the drift detection feature to identify the changes in the configuration of your resources that are beyond the control of ROS. This way, you can take corrective measures to resynchronize resources with their template definitions.

  • Access control

    ROS is integrated with Resource Access Management (RAM) to centrally manage accounts and control permissions. ROS is also integrated with ActionTrail to allow you to review all O&M operations on Alibaba Cloud services, including operations on ROS.


  • Improved deployment efficiency

    You can use templates in ROS to provision your entire cloud environment. ROS templates help you deploy cloud resources in new zones as your business grows. ROS templates can also be used to deploy the development, test, and production environments with improved deployment efficiency and reduced chances of human errors.

  • Convenient architecture optimization

    An exclusive and optimal cloud migration guide for enterprises is developed by Alibaba Cloud based on previous cloud migration experiences from a large number of customers. ROS Solution Center summarizes the cloud migration experiences to create templates for your use. You can deploy these templates based on your business requirements to optimize your cloud architecture.

  • Compliance control

    ROS is a template-based Infrastructure as Code (IaC) service. You can define your infrastructure as code in your templates. Each time you want to create or update a template, you can review the code. Continuous integration (CI) and continuous delivery (CD) are also integrated into templates, which ensures that the templates meet the management requirements of your organization and that your cloud environment is secure and compliant.

  • Cost-effectiveness

    You can use templates in ROS to provision your entire cloud environment. After you specify templates, ROS can automatically deploy or delete stacks at scale as demand for resources increases or decreases. ROS allows you to purchase cloud resources on demand to reduce your costs.


You can create a stack template in the ROS console or by calling API operations. Then, you can use the template to quickly create and manage 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.

For more information about ROS, see What is ROS? and Getting started.