+++ title = "Clean up" weight = 38 pre = "8 " +++ In this step, we will clean up all resources, we created during this lab, so that no further cost will occur. #### 1. Delete the previously created IAM Inline Policies In your Amazon IAM console, select **[Roles](https://console.aws.amazon.com/iamv2/home#/roles)** in the left navigation. In the search field, enter "async-msg". Open all matching roles and delete the previously created inline policies by clicking the "x" right to the policy name. #### 2. Delete the AWS SAM template In your Cloud9 IDE, run the following command to delete the resources we created with our AWS SAM template: {{< highlight bash >}} cd ~/environment/wild-rydes-async-messaging/lab-2 aws cloudformation delete-stack \ --stack-name wild-rydes-async-msg-2 {{< /highlight >}} #### 3. Delete the AWS Lambda created Amazon CloudWatch Log Group Follow **[this deep link](https://console.aws.amazon.com/cloudwatch/home?#logs:prefix=/aws/lambda/wild-rydes-async-msg-2)** to list all **Amazon CloudWatch Log Groups** with the prefix `/aws/lambda/wild-rydes-async-msg-2`, AWS Lambda created during this lab. Select all the Amazon CloudWatch Log Group one after each other and choose **Delete log group** from the **Actions** menu.