Uninstall the solution - Amazon S3 Glacier Re:Freezer

Uninstall the solution

The solution by default will not delete the CloudWatch Logs that are generated as part of the solution’s archive copy process. This allows you to delete the solution stack, but retain the archive copy CloudWatch Logs.

Use the following procedures to delete the CloudFormation stack, then manually delete the CloudWatch Logs.

Important

The solution only copies archives from a source S3 Glacier vault to the destination S3 bucket, it does not delete archives in the source S3 Glacier vault. After the solution completes a successful archive copy to the destination S3 bucket, you must manually delete the archives from your Glacier vault. For more information, refer to Deleting an Archive in Amazon S3 Glacier in the Amazon S3 Glacier Developer Guide.

Uninstall the stack using the AWS Command Line Interface

Determine whether the AWS Command Line Interface (AWS CLI) is available in your environment. For installation instructions, see 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>

Uninstall the stack using the AWS Management Console

  1. Sign in to the AWS CloudFormation console.

  2. Select this solution’s installation stack.

  3. Choose Delete.

  4. Refresh your browser window, or use choose the refresh icon in the top-right corner of the console until this stack disappears (this may take a few minutes).

  5. From the Stacks window, select the dropdown next to the search bar and change the option from Active to Deleted. Verify that your stack name shows the DELETE_COMPLETE status.

Manually delete the CloudWatch Logs

  1. Sign in to the AWS CloudWatch console

  2. Select Log groups.

  3. Enter name of your CloudFormation stack (for example, grf-vault-10).

    Figure 16: CloudWatch Logs Log groups

  4. Select the check box next to all 14 items with your stack name

  5. Choose Actions, then select Delete log groups(s).