Deleting an AWS Stack
About this task
MapR resources in AWS are grouped together, making it easy for you to remove them. You can use the MapR Installer Destroy button to delete an AWS stack in one operation. The Destroy button appears when the MapR Installer detects cloud installations that were created using MapR scripts.
You can also use AWS menu commands to delete an AWS stack. Because the MapR stack is an Auto Scaling Group, deleting it using AWS menu commands requires some extra steps. First, you must disable certain AWS processes that protect against shutting down the stack. Then you must delete the stack.
Delete an AWS Stack Using the Destroy Button
About this task
Procedure
- Log in to the MapR Installer.
- On the status page, click the Destroy button. A confirmation box asks if you want to delete the MapR cluster.
-
Click OK. The Authentication
page appears:
-
Enter your security credentials, and click Destroy.
The Installer displays:
We will start to delete your cluster and all the resources associated with it. Please check the AWS console to verify that all resources were deleted successfully.
You can monitor the status of stack deletion in the AWS console.
Delete Suspended Processes
About this task
Procedure
- Click Services > EC2.
- In the left navigation pane, under Auto Scaling, click the link to Auto Scaling Groups.
-
In the list of Auto Scaling Groups, find and select the name of your
stack.
TIP Type the first few letters of the stack name in the Filter field to find the stack.
- Click the Details tab to select it.
- Click Edit.
-
Scroll down to the Suspended Processes
section:
- Click the "x" in each of the suspended processes to delete it.
- Click Save.
Delete the Stack
About this task
Procedure
- Navigate to the CloudFormation section, and select your stack.
- From the Actions menu, select Delete Stack.
- To confirm the delete operation, click Yes, Delete.