Appendix C: Uninstall this solution - Genomics Tertiary Analysis and Data Lakes Using AWS Glue

Appendix C: Uninstall this solution

You can uninstall the Genomics Tertiary Analysis and Data Lakes Using AWS Glue and Amazon Athena solution using the AWS Management Console, the AWS Command Line Interface (AWS CLI), or manually.

Note:

Uninstalling this solution deletes the Amazon Simple Storage Service (Amazon S3) solution buckets and the data in those buckets; AWS CodeCommit repositories and the code in them; the AWS Glue jobs, crawlers, triggers, and data; and the Amazon SageMaker notebook instance.

Using the AWS Management console

  1. Sign in to the AWS CloudFormation console.

  2. Select the solution’s installation stack that has a name ending in -Setup. All other solutions stacks will be deleted automatically.

  3. Choose Delete.

Using AWS CLI

Determine whether 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 the AWS CLI is available, run the following command.

$ aws cloudformation delete-stack --stack-name installation-stack-name

Uninstalling manually

To manually uninstall this solution, you must delete the related AWS CloudFormation stacks using the following procedure, in the specified order.

  1. Delete all <project-name>-*bucket Amazon S3 bucket contents.

  2. Delete the <ProjectName>Code stack.

    Important:

    Wait for deletion to complete successfully before proceeding.

  3. Delete the <ProjectName>Pipe stack.

    Important:

    Wait for deletion to complete successfully before proceeding.

  4. Delete the <ProjectName>Zone stack.

    Important:

    Wait for deletion to complete successfully before proceeding.

  5. Delete the solution’s installation stack.

  6. Delete the <ProjectName>Code AWS CodeCommit repository.

  7. Delete the <ProjectName>Pipe AWS CodeCommit repository.

  8. Delete all <project-name>-* image repositories in Amazon ECR.