Terminating Deployment
In order to shut down the cluster and remove all of its resources, you will need to delete the root stack. The root stack deletion will also delete all of the resources created by the nested stacks. You can delete the stack via both AWS console or CLI (see more below).
A few notes regarding cluster shutdown:
- If you changed any of the resources, you should revert the changes - otherwise delete stack might fail.
- The delete stack is permanent and all data on the storage instances will be removed and will no longer be available.
- If you need the data, it is recommended to do one last backup before shutting down the cluster (so you can restore from it to a new cluster).
- The backup bucket created will not be deleted as part of the delete stack and will remain permanent. If you no longer need the data, make sure to delete the bucket or the folder with all its sub-directories.
- CloudWatch logs remain and will be deleted by AWS based on the retention policy.
- Config bucket will not be deleted and can be used for other deployments. If you no longer need the data, make sure to delete the bucket or the folder with all its sub-directories.
Example of AWS CLI to delete stack:
aws cloud formation delete-stack --stack-name <name-of-stack>
For AWS Console delete stack:
- Log in to the account where the Lightbits SDS is running.
- Go to the CloudFormation page.
- Click on the stack you want to shut down (delete).
- Select Delete.
- Confirm again.
- Wait for the state of the stack to move to Deleted state.
Was this page helpful?