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

Prerequisites

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

Background information

You can choose to update a stack or recreate one based on your needs:

  • To modify only the current template and configurations of a specified stack while leaving the region unchanged, you must update the stack. For more information, see Update a stack.
  • To modify the current template and configurations of a specified stack and the region where the stack resides, you must recreate the 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, find the stack you want to recreate, click the 1 icon in the Actions column, and then select Recreate.
  5. Click Previous.
  6. In the Select Template step of the Recreate wizard, select an existing template or use a sample template, and then click Next.
  7. In the Configure Template Parameters step of the Recreate wizard, set Stack Name and Parameters, and click Next.
  8. In the Configure Stack step of the Recreate wizard, set Stack Policy, Rollback on Failure, Timeout Period, and Deletion Protection, and click Next.
    If the resource is not created or updated within the time limit specified by Timeout Period, the system determines that the operation fails. Based on the Rollback on Failure configuration, the system then determines whether to roll back to the status before the resource was created or updated.
  9. In the Check and Confirm step of the Recreate wizard, click Create.