Cleaning Up Resources
In this section, we will clean up all AWS resources that were created during the workshop in order to:
- Avoid unwanted charges.
- Clear the testing environment.
- Ensure compliance with cloud resource management best practices.
Delete Lambda Functions
- Go to the AWS Console → Lambda
- Select each function (e.g.,
create_user
, get_user
) - Click Actions → Delete function
- Enter the function name to confirm and delete
📌 If you have multiple functions, double-check to avoid deleting the wrong ones.
Delete API Gateway
- Go to AWS Console → API Gateway
- Select REST APIs
- Choose the API you want to delete (e.g.,
UserAPI
) - Click Actions → Delete API and confirm
🔒 After deletion, all associated endpoints will no longer be accessible.
Delete DynamoDB Tables
- Go to AWS Console → DynamoDB
- Click on the Tables tab
- Select each table (e.g.,
Users
) → Actions → Delete Table - Confirm the deletion
All data will be permanently lost if no backup exists.