In order to prevent charges to your account we recommend cleaning up the infrastructure that was created. If you plan to keep things running so you can examine the workshop a bit more please remember to do the cleanup when you are done. It is very easy to leave things running in an AWS account, forgot about it, and then accrue charges.
If you are using this in an instructor led session, with AWS Event Engine you do not need to run the cleanup steps.
If you are running this in your own account. You will need to manually delete some resources before you delete the CloudFormation stacks so please do the following steps in order.
- Delete the five S3 buckets created by the Module 1 CloudFormation template. The buckets are labeled with:
- Go to Amazon S3 console
- Select the appropiate bucket
- Click Empty
- Type permanently delete in the field and click Empty to empty the bucket
- Navigate back to the S3 Console
- Select the same bucket you just emptied
- Click Delete, you will be
- Copy and paste the name of the bucket (this is an extra verification that you actually want to delete the bucket)
- Repeat the steps above for all five buckets
- Delete the Module 1 Cloudformation template (MacieWorkshop-Env-Setup)
- Go to the AWS CloudFormation console
- Select the appropiate stack
- Select Action
- Click Delete Stack
- Disable Amazon Macie
Disabling Macie will remove the custom data identifier, jobs and results.
- Go to the Amazon Macie console
- Click on Settings on the left navigation menu
- Scroll down
- Click Disable Macie
- Disable AWS Security Hub
- Go to the AWS Security Hub console
- Click on Settings on the left navigation
- Click the General on the top navigation
- Click Disable AWS Security Hub