6. Clean Up AWS Resources
After completing the workshop, you should delete AWS resources to avoid unnecessary costs.
Cleanup Steps:
Delete Lambda Functions
- Go to the AWS Lambda Console
- Delete the functions created during the workshop (e.g., NLPHandler, WrapOutput, …)
Delete API Gateway
- Go to the API Gateway Console
- Delete the APIs created for the chatbot
Delete Lex Resources
- Go to the Amazon Lex Console
- Delete related bots, intents, and slot types
Delete S3 Buckets (if created for logs or temporary files)
- Go to the S3 Console
- Delete any unused buckets
Delete IAM Roles and Policies
- Go to the IAM Console
- Delete any roles/policies used only for the workshop (e.g., LambdaChatbotExecutionRole)
Delete Other Resources (if any):
- Bedrock, Translate, CloudWatch log groups, etc.
Notes
- Double-check before deleting to avoid affecting resources used by other systems.
- After deletion, check your billing to ensure there are no remaining charges.
Good luck completing the workshop and optimizing your