Clean up

Clean up

Kinesis Firehose Delivery Stream

  • Go to: Kinesis Console
  • Delete Firehose: analytics-workshop-stream

Kinesis Data Stream

  • Go to: Kinesis Console
  • Delete Data Stream: analytics-workshop-data-stream

Kinesis Data Analytics Studio Notebook

  • Go to: Kinesis Console
  • Delete Notebook: AnalyticsWorkshop-KDANotebook

Lambda

  • Go to: Lambda Console

  • Navigate to list of functions and select Analyticsworkshop_top5Songs.

  • Under Actions drop down menu, select Delete.

Glue Database

  • Go to: Glue Console
  • Delete Database: analyticsworkshopdb

Glue Crawler

  • Go to: Glue Crawlers
  • Delete Crawler: AnalyticsworkshopCrawler

Glue Studio Job

Glue DataBrew projects

Glue DataBrew datasets

Glue DataBrew Jobs

Delete Glue connection

  • Go to: Glue Connections

  • Select analytics_workshop

  • From Actions select Delete Connection

  • Click Delete

Delete IAM Role

  • Go to: IAM Console
  • Search for following roles and delete:
  • Analyticsworkshop-GlueISRole
  • Analyticsworkshop_RedshiftRole
  • AnalyticsworkshopKinesisAnalyticsRole
  • Analyticsworkshop_top5Songs-role-

Delete IAM Policy

  • Go to: IAM Console

  • Search for following policies and delete:

  • AWSGlueInteractiveSessionPassRolePolicy

Delete Redshift cluster

  • Go to: Redshift Console
  • Select redshift-cluster-1
  • From Actions menu, select Delete.
  • Uncheck Create final snapshot
  • Click Delete

Delete S3 Gateway Endpoin

  • Go to: S3 Gateway Endpoints
  • Select RedshiftS3EP
  • From Actions select Delete Endpoint

Revert Security Group rules

  • Go to: EC2 Security Groups
  • For the default security group:
  • Click on Inbound Rules
  • Click Edit Rules
  • Delete the row with S3 prefix list ID
  • Click Save rules
  • Click on Outbound rules
  • Click Edit Rules
  • Delete the self-referencing All TCP rule.
  • Click Save rules

Delete S3 bucket

  • Go to: S3 Console
  • Delete Bucket: yourname-analytics-workshop-bucket
  • You may need to first Empty the bucket as prompted
  • Once emptied, proceed to Delete the bucket

Delete the Cognito CloudFormation Stack

  • Go to: CloudFormation
  • Click: Kinesis-Data-Generator-Cognito-User
  • Click: Actions > DeleteStack
  • On confirmation screen:
  • Click Delete

Close QuickSight account

  • Go to: Quicksight Console

  • Click: Unsubscribe

Cognito Userpool

  • Go to: Cognito Console
  • Click Kinesis Data-Generator Users
  • Click Delete Pool