This topic describes how to use Resource Orchestration Service (ROS) to update a stack.

Prerequisites

A stack is created. For more information about how to create a stack, see Create a stack.

Background information

  • To modify only the current template and configurations of a specified stack while leaving the region unchanged, you must update the stack.
  • To modify the current template and configurations of a specified stack and the region where the stack resides, you must recreate the stack. For more information, see Recreate a stack.

Procedure

  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. On the Stacks page, click Update in the Actions column corresponding to the target stack.
  5. In the Configure Template Parameters step of the Edit Stack wizard, set Parameters.
    Note If you modify only the template parameters without modifying the stack policy, you can click Confirm to update the stack.
  6. Click Next.
  7. In the Configure Stack step of the Edit Stack wizard, set Stack Policy, Timeout Period, RAM Role, Whether to enable replacement update, and Tags.
    Note
    • If you do not set RAM Role, ROS uses the RAM role you specified when you created the stack.
    • If you need to update a stack but the resource properties cannot be modified, you can update the stack by replacing its resource properties, you can enable replacement update.
  8. Click Confirm.
    To confirm the update configuration, click Next. After you confirm that the configuration is correct, click Confirm to update the stack.