Cleanup

You won! Thanks to you, the Juice Shop continues to thrive. The milkshake bandits have returned to their headquarters.

Cleaning Up

Before you finish this workshop, please make sure to delete the resources you no longer need.

Here are the list of resources you will have created in this workshop.

  • Sample Web Application
  • Web ACL
  • Kinesis Data Firehose
  • S3 Bucket (Kinesis Firehose Destination)

Below are instructions on how to delete these resources.

Sample Web Application

The Sample Web Application is contained is defined as a CloudFormation stack, titled WAFWorkshopSampleWebApp.

Follow the steps in Deleting a CloudFormation Stack.

The WAFWorkshopSampleWebApp is a nested stack. By deleting the top level stack, the nested stacks contained will also be removed.

WAF web ACL

Follow the steps in Deleting a Web ACL.

Kinesis Data Firehose

  1. Navigate to the Kinesis console
  2. Select the Data Firehose tab. If you cannot see the resource, double check your region. This resource should be in us-east-1. This may differ from the region used for the Web App deployment
  3. Delete the Data Firehose you created earlier. It will have the prefix aws-waf-logs-workshop-

S3 Bucket

  1. Navigate to the S3 Console.
  2. Select the bucket used as the Kinesis Data Firehose destination. It will have the prefix aws-waf-logs-workshop- If you cannot see the resource, double check your region. This resource should be in us-east-1. This may differ from the region used for the Web App deployment
  3. Delete the contents of the bucket.
  4. Delete the bucket.