Clean Up Resources
Clean up service resources after use
1. Clean up IAM service
- In the search bar, enter IAM
- On the IAM service page, on the left Navigation Panel, select Role
- On the Roles page, search for LambdaAnalyzeRole, check LambdaAnalyzeRole
- Click the Delete button, enter the Role name: LambdaAnalyzeRole




2. Clean up S3 service
- In the search bar, enter S3
- On the General purpose buckets page, select the bucket you want to delete
- Click the Empty button to delete all Objects in the bucket before deleting the Bucket
- Enter permanently delete and click Empty to delete the Objects
- Go back, select the bucket you want to delete, click Delete
- Enter your bucket name, click Delete Bucket





3. Clean up Lambda service
- In the search bar, enter Lambda
- Select the functions you want to delete, click the Action button, choose Delete
- Enter confirm and click Delete



4. Clean up CloudWatch service
- In the search bar, enter CloudWatch
- On the main CloudWatch page, on the left Navigation Panel select Log groups
- Select the Log group you want to delete, click Action, choose Delete log group(s)
- In the popup window, select Delete




5. Clean up API Gateway service
- In the search bar, enter API Gateway
- Select the API you want to delete, click Delete on the right
- Enter confirm, click Delete
- Repeat for the remaining APIs



Congratulations, you have completed the entire lab. This section will help you save costs by cleaning up unused AWS services. Thank you for taking the time to read and