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. In the upper-left corner, select the region where the target stack resides from the drop-down list.
  4. Choose 1 > Create Change Set in the Actions column corresponding to the target stack.
    You can also click the stack ID in the Stack Name column. On the stack management page, click the Change Sets tab, and then click Create Change Set.
  5. In the Select Template step of the Create Change Set wizard, specify a template and click Next.
  6. In the Configure Template Parameters step of the Create Change Set wizard, set Change Set Name and Parameters, and then click Next.
  7. In the Configure Change Set step of the Create Change Set wizard, set Stack Policy, Rollback on Failure, Timeout Period, RAM Role, and Whether to enable replacement update, and then click Next.
  8. In the Check and Confirm step of the Create Change Set wizard, click Create Change Set.

Create a change set by using 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