Cleanup

Cleanup

Select the correct tab, depending on where you are running the workshop:

  1. Go the EMR Management Console and termiate the cluster.
  2. Go to the Cloud9 Dashboard and delete your environment.
  3. Delete the VPC you deployed via CloudFormation, by going to the CloudFormation service in the AWS Management Console, selecting the VPC stack (default name is Quick-Start-VPC) and click the Delete option. Make sure that the deletion has completed successfully (this should take around 1 minute), the status of the stack will be DELETE_COMPLETE (the stack will move to the Deleted list of stacks).
  4. Delete your S3 bucket from the AWS Management Console - choose the bucket from the list of buckets and hit the Delete button. This approach will also empty the bucket and delete all existing objects in the bucket.
  5. Delete the Athena table by going to the Athena service in the AWS Management Console, find the emrworkshopresults Athena table, click the three dots icon next to the table and select Delete table.
  6. Delete the CloudFormation stack for the FIS experiment templates. Run the following command:
aws cloudformation delete-stack --stack-name fis-spot-interruption
  1. Delete the CloudFormation stack for tracking the Spot interruptions. Run the following command:
aws cloudformation delete-stack --stack-name track-spot-interruption

If you are running the workshop in an AWS event, then you do not need to take any cleanup steps. The account will be deleted automatically.