Clean up resources

To perform the cleanup of the AWS resources used in this exercise, we perform the following steps in turn:

  1. Delete the S3 bucket that was created by the CloudFormation Template with the format guardduty-example. This step is required because the CloudFormation Stack cannot be deleted if the S3 bucket has data inside.
  1. Remove Custom Threat List used for GuardDuty.

  2. Disable the Amazon GuardDuty service.

    1. Go to GuardDuty Console.
    2. Click on Settings.
    3. Select Disable GuardDuty and click Save.
  3. Delete the CloudFormation Stack. If you can’t delete it, check the first steps again.