Clean up resources

Cleanup

We will proceed to delete the resources in the following order:

When you have finished with this workshop, remember to clean up all those AWS resources that you created using AWS CloudFormation.

Follow the steps below for clean up:

Athena Spark

  • You would need to manually go and empty the S3Bucket athena-spark-workshop created by the CloudFormation as S3 bucket can only be deleted by CloudFormation once it’s empty.

  • Use the AWS CloudFormation console or AWS CLI to delete the stack named Athena-Spark-Workshop.

    Image

Athena Federation

  1. Delete VPC endpoint

    Image

  2. Delete Database in RDS

    Image

  3. Delete Lambda function

    Image

  4. Delete IAM Role of Lambda

  5. You would need to manually go and empty the S3Bucket created for Athena then delete it.