Uninstall the solution - Media Services Application Mapper on AWS

Uninstall the solution

You can uninstall the Media Services Application Mapper solution from the AWS Management Console or by using the AWS Command Line Interface. To uninstall the solution, you must delete the solution’s root CloudFormation stack, which deletes the other stacks and all of the resources created by the template.

Note

If you used separate template to install the solution, you must delete those stacks separately.

Using the AWS Management Console

  1. Sign in to the AWS CloudFormation console.

  2. On the Stacks page, select this solution’s root installation stack.

  3. Choose Delete.

Using AWS Command Line Interface

Verify that the AWS Command Line Interface (AWS CLI) is available in your environment. For installation instructions, refer to What Is the AWS Command Line Interface in the AWS CLI User Guide. After confirming that the AWS CLI is available, run the following command.

$ aws cloudformation delete-stack --stack-name <your-stack-name>

Replace <your-stack-name> with the name of your root CloudFormation stack.

CloudWatch event handler stack

Delete the CloudWatch event handler stack from any other Regions that were installed after you installed the main solution.

Deleting separate stacks

If you used separate templates to install the solution, delete the stacks in the opposite order they were installed.

The order in which to delete the stacks is as follows:

  1. Browser application stack

  2. CloudWatch event handler stack

  3. Core API and periodic tasks stack

  4. DynamoDB tables stack

  5. IAM resources stack

Important

You must remove the DynamoDB tables stack after the Core API and periodic tasks and CloudWatch event handler stacks. These stacks run software that access the tables. Removing the tables before removing the running software has the potential to create excessive error rates in your account which might result in service usage throttling.

To delete a stack:

  1. Sign in to the AWS CloudFormation console.

  2. On the Stacks page, select the stack.

  3. From the Actions menu, select Delete Stack

Deleting the Amazon S3 buckets

This solution is configured to retain the solution-created Amazon S3 to maintain history. 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 <stack-name-msam-browserappmod-msambrowserapplogicbuc-xxxxxxxxxxxx> S3 bucket.

  4. Select the S3 bucket and choose Empty.

  5. Choose Buckets and select the S3 bucket again.

  6. Choose Delete.

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

$ aws s3 rb s3:// <stack-name-msam-browserappmod-msambrowserapplogicbuc-xxxxxxxxxxxx> --force