Deleting a Stack¶
If a stack is no longer needed, you can perform the following steps to delete it:
Log in to the management console.
In the upper left corner of the page, click
, and then click Management & Deployment > Resource Formation Service.
The Dashboard page is displayed.
Figure 1 RFS Dashboard¶
In the left navigation pane, choose Stacks.
Figure 2 RFS Stacks¶
(Optional) Check whether the deletion protection is enabled for the stack.
Those stacks, where the deletion protection is enabled, cannot be deleted. If you attempt to delete such stack, an error message will be displayed, as shown in Figure Deletion failed.
Figure 3 Deletion failed¶
Click the name of the desired stack to view its details and check the Deletion Protection value in the Basic Information tab.
Figure 4 Deletion protection¶
If it is enabled, click Edit in the top right corner of the Basic Information tab, disable the deletion protection and click Save in the top right corner of the Basic Information tab.
Figure 5 Edit basic information¶
On the stack list page, locate the stack to be deleted and click Delete in the Operation column.
Alternatively, go to the stack details page by clicking the name of the stack and click Delete in the upper right corner
In the dialog box displayed, as shown in Figure Dialog box for deleting a stack,
select the desired deletion option:
If you choose to delete resources, RFS will destroy all the resources in the stack. If you choose to retain resources, we will only delete the stack without destroying the resources. Therefore, these resources will no longer be managed by RFS.
and confirm the deletion by entering Delete in the text box and click OK.
Figure 6 Dialog box for deleting a stack¶
Warning
Stacks cannot be restored after being deleted. Exercise caution when performing this operation.