Overview
This guide provides step-by-step instructions for removing the CloudFix CloudFormation stack and its associated StackSet instances following the style of AWS documentation.
Prerequisites
Before proceeding, ensure the following prerequisites are met:
- The StackSet instances created by the CloudFormation stack must be removed.
- Verify that the StackSet is empty; otherwise, the Stack deletion will fail.
Instructions
Step 1: Removing Instances from CloudFixOrgStackSet
1. Open the AWS Management Console.
2. Navigate to the CloudFormation service.
3. In the StackSets dashboard, locate and select the "CloudFixOrgStackSet" StackSet.
4. Under "Actions," choose "Delete Stacks from StackSet."
5. Configure the deletion settings as follows:
- OU ID: Add the OU ID you are deleting from (this may be the root OU ID).
- Region: Set the region to "US East 1."
- Parallel: Optionally, change the parallel value to your preferred level (e.g., 5).
6. Click on "Delete Stacks" to initiate the removal of instances from the StackSet.
7. Wait for the deletion process to complete. The StackSet instances should be deleted successfully.
Step 2: Deleting the CloudFix CloudFormation Stack
Once the deletion of instances from the CloudFixOrgStackSet is complete, you can proceed to remove the "cloudfix-prod" stack in CloudFormation. Here are the steps to do so:
1. Return to the AWS Management Console.
2. Navigate to the CloudFormation service.
3. In the CloudFormation dashboard, find and select the "cloudfix-prod" stack.
4. Choose "Delete Stack" from the stack's actions menu.
5. Follow the prompts to confirm the deletion of the stack.
6. Wait for the stack deletion process to finish. Once completed, the CloudFix CloudFormation stack will be removed.
By following these steps, you can ensure the proper sequence of actions for removing the CloudFix CloudFormation stack and its associated StackSet instances.