Manual delete retained resources - Modular Cloud Studio on AWS

Manual delete retained resources

After deleting the core stack, see the following sections for how to delete remaining resources.

Deleting the Amazon S3 buckets

This solution is configured to retain the solution-created Amazon S3 bucket (for deploying in an opt-in Region) if you decide to delete the AWS CloudFormation stack to prevent accidental data loss. After uninstalling the solution, you can manually delete this S3 bucket if you do not need to retain the data. Follow these steps to delete the Amazon S3 bucket.

  1. Sign in to the Amazon S3 console.

  2. Choose Buckets from the left navigation pane.

  3. Locate the S3 buckets that begin with <stack-name> .

  4. Select the S3 bucket and choose Delete.

To delete the S3 bucket using AWS CLI, run the following command:

$ aws s3 rb s3://<bucket-name> --force

Deleting the CloudWatch Logs

This solution retains the CloudWatch Logs if you decide to delete the AWS CloudFormation stack to prevent against accidental data loss. After uninstalling the solution, you can manually delete the logs if you do not need to retain the data. Follow these steps to delete the CloudWatch Logs.

  1. Sign in to the Amazon CloudWatch console.

  2. Choose Log Groups from the left navigation pane.

  3. Locate the log groups created by the solution.

  4. Select one of the log groups.

  5. Choose Actions and then choose Delete.

Repeat the steps until you have deleted all the solution log groups.

Deleting the Amazon EC2 AMIs

This solution is configured to retain the Amazon EC2 AMIs if you enable and then disable the Leostream Broker stack. After uninstalling the solution, you can manually delete the Amazon EC2 AMIs if you do not need to retain the data. Follow these steps:

  1. Sign in to the Amazon EC2 console.

  2. Choose AMIs from the left navigation pane under Images.

  3. Select the AMIs you wish to remove, and choose Actions → Deregister AMI.

To delete the DynamoDB tables using AWS CLI, run the following command:

$ aws ec2 deregister-image --image-id <image-id>

Deleting the SSM Parameters

This solution is configured to retain Systems Manager Parameters if you enable and then disable the Leostream Broker stack. After uninstalling the solution, you can manually delete the Systems Manager Parameters if you do not need to retain the data. Follow these steps:

  1. Sign in to the Systems Manager console.

  2. Choose Parameter Store from the left navigation pane.

  3. Select the Parameters you wish to remove, and choose Delete.

To delete the Parameters tables using AWS CLI, run the following command:

$ aws ssm delete-parameter --name <parameter-name>

Deleting the FSx for Windows File Server Backups

This solution retains the FSx for Windows File Server backups if you decide to disable the AWS FSx for Windows File Server module to prevent against accidental data loss. After uninstalling the solution, you can manually delete the backups if you do not need to retain the data. Follow these steps to delete the FSx Backups.

  1. Sign in to the Amazon FSx console.

  2. Choose Backups from the left navigation pane.

  3. Select the backup created by the Amazon FSx for Windows File Server file system when it was disabled.

  4. Choose Actions, and then choose Delete Backup.