Deleting a CloudFormation stack

Last Updated : Jun 10, 2026 |

Procedure

  1. Sign in to the AWS console and click Services > Management Tools > CloudFormation.
  2. On the CloudFormation page, select a stack to delete.
  3. Click Actions  > Delete Stack.
  4. Click Yes, Delete when prompted.

    The AMI virtual machines and other resources that are in the stack are deleted.

    Note:

    The stack is not completely deleted if it includes Amazon Route 53. See the next step for information about resolving this issue.

  5. Optional If deleting the stack fails due to the presence of an Amazon Route 53 DNS zone, then do the following:
    1. Navigate to Services > Networking & Content Delivery > Route 53 > Hosted zones.
    2. Select the Hosted Zone that is no longer required and click Delete Hosted Zone.
    3. Click Confirm.
    4. Navigate to Services > Management Tools > CloudFormation.
    5. Select the stack that previously failed to delete.
    6. Click Actions  > Delete Stack.
    7. Click Yes, Delete.