Cleaning up the cluster and the stack

To cleanup the stack, you must delete the stack created by the main template. This also deletes the IBM Spectrum Scale™ cluster.

Important: You can delete the stack, and clean up the alarm and Lambda console functions to free up memory space. This is a non-reversible action. Stacks once deleted cannot be accessed.
To delete the stack created by the main template follow these steps:
  1. Open the CloudFormation console, and select the root stack to be deleted.
  2. Go to Actions > Delete Stack.
When the stack is deleted, the Config Status field for CloudWatch alarms displays an Invalid notification message. The state of alarms which initially displays OK change to INSUFFICIENT_DATA after 5 minutes. Take the following steps to delete the alarms:
  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.
  2. In the navigation pane, go to Alarms > Insufficient.
  3. Select the alarms corresponding to the stack, and click Delete.

The deletion operation on a stack does not delete the EBS volumes used for NSD servers. If they are no longer needed, the EBS volumes can be deleted by switching to AWS EBS console and deleting them manually. The EBS volumes have the following naming convention: <StackName>-ClusterStack-<ID>.

If the start_nodes lambda function has been created using the mmaws create_lambda_function command, it needs to be deleted using the following steps:
  1. Open the lambda console at https://console.aws.amazon.com/lambda/.
  2. In the Functions pane, select the start_nodes function name, and select Actions > Delete.