Terminate a CloudFormation stack

By default, when an instance reaches the end of its lease (or its grace period), Cloud Management terminates the stack and notifies the user. You can, instead, request the termination of a CloudFormation stack that is running.

Before you begin

Role required:
  • For their personal cloud resources, cloud_user users can manage some settings directly and must change other settings by making a request to the cloud_operator.
  • cloud_admin users have management access to all cloud resources

About this task

A cloud administrator can configure the system to generate a change request whenever a user requests the early termination of a stack.

Procedure

  1. Navigate to Amazon AWS Cloud > Managed Resources > Stacksand select a stack.
  2. Select a CloudFormation stack to terminate. You can terminate a stack in any of the following states:
    • Create Complete
    • Rollback Complete
    • Rollback Failed
    Note: You cannot terminate a stack if there is an open change request (stopping, pausing, and so on).
  3. Under Related Links, click Terminate Stack.
    If this action is subject to change control, a pop-up window advises you that change control is required and asks whether to proceed. For stacks that are not subject to change control, the termination workflow is triggered immediately.

What to do next

When the stack has been terminated, the following information appears:

  • Stack Status - Delete Complete
  • Install Status - Retired
  • State - Non-Operational

If stack termination failed, the following information appears:

  • Stack Status - Delete Failed
  • Install Status - Pending Repair
  • State - Non-Operational