Skip to content

Uninstall the solution

To uninstall the AI Video Super Resolution solution, you must delete the AWS CloudFormation stack. You can use the AWS Management Console or the AWS Command Line Interface (AWS CLI) to delete the CloudFormation stack.

Important

Because two S3 buckets starting with superresolutionstack-superresolutionstorage and superresolutionstack-superresolutionbucketaccessl will persist while you delete the stack, make sure to empty the two buckets before deleting the AWS CloudFormation stack.

Uninstall the stack using the AWS Management Console

  1. Sign in to the AWS CloudFormation console.
  2. Select this solution’s installation parent stack.
  3. Choose Delete.

Uninstall the stack using AWS Command Line Interface

Determine whether 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 <installation-stack-name> --region <aws-region>

Deleting the Amazon S3 buckets

The solution creates two S3 buckets that are not automatically deleted. You can choose to follow the following steps to delete these buckets manually.

  1. Sign in to the Amazon S3 console.
  2. Select the bucket name starting with superresolutionstack-superresolutionstorage.
  3. Choose Empty.
  4. Choose Delete.
  5. Select the bucket name starting with superresolutionstack-superresolutionbucketaccessl.
  6. Choose Empty.
  7. Choose Delete.

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

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