If you need to create a change set for a running stack, follow the instructions in this topic to modify the template or template parameters. ROS generates a change set by comparing the stack with template changes that you submitted.


A stack is created. For more information, see Create a stack.

Create a change set in the ROS console

  1. Log on to the ROS console.
  2. In the left-side navigation pane, click Stacks.
  3. Click Create Change Set in the Actions column corresponding to a stack name.
    You can also click a stack ID in the Stack Name column. On the stack management page, click the Change Sets tab. Click Create Change Set.
  4. In the Select Template step of the Create Change Set wizard, select a template and click Next.
  5. In the Configure Template Parameters step of the Create Change Set wizard, configure Change Set Name and the parameters and click Next.
  6. In the Configure Change Set step of the Create Change Set wizard, configure Stack Policy, Rollback on Failure, and Timeout Period, and then click Next.
  7. In the Check and Confirm step of the Create Change Set wizard, click Create Change Set.

Create a change set through Alibaba Cloud CLI

You can use the aliyun ros CreateChangeSet command to create a change set.

You can specify new parameter values or modify parameters by using command options and submit the template changes. In the following example, a change set named test-change-set is created for a stack by using the current template (oss://ros-templates/test-change-set.json? RegionId=cn-hangzhou):

aliyun ros CreateChangeSet --TemplateURL oss://ros-templates/test-change-set.json? RegionId=cn-hangzhou --StackId <stack_id> --ChangeSetName test-change-set --Parameters.1.ParameterKey Count --Parameters.1.ParameterValue 1