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.
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.
Usage
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.
References
If you created ECS instances, you can use Cloud Assistant to perform O&M on the instances. Cloud Assistant is an automated O&M tool that is developed for ECS. For more information, see Overview of Cloud Assistant.
You can use scaling groups to automatically adjust the number of ECS instances in response to load changes. For more information, see Create a scaling group based on an existing ECS instance.