Cleanup

After completing the workshop, we need to clean up the resources we created to avoid incurring costs.

1. Delete DynamoDB Table

  1. Open DynamoDB console

  2. Select Tables from the left menu

  3. Select Books table and click Delete SelectTable

  4. Enter confirm and click Delete DeleteTable

  5. Wait for table deletion TableDeleting

2. Delete S3 Buckets

  1. Open Amazon S3 console

  2. Select bucket book-image-stores-tranvix SelectBucket

  3. Click Empty to delete all objects in the bucket

  4. After the bucket is empty, click Delete and enter the bucket name to confirm DeleteBucket

  5. Repeat the above steps for the following buckets:

    • book-image-resize-stores-tranvix
    • fcj-book-shop-tranvix

3. Delete REST API

  1. Open API Gateway console

  2. Select fcj-serverless-api and click Delete SelectAPI

  3. Enter confirm and click Delete DeleteAPI

  4. API deleted successfully APIDeleted

4. Delete Lambda Functions

  1. Open AWS Lambda console

  2. Select book_create function and click ActionsDelete SelectFunction

  3. Enter confirm and click Delete DeleteFunction

  4. Function deleted successfully FunctionDeleted

  5. Repeat the above steps for the following functions:

    • books_list
    • book_delete
    • resize_image

After completing the cleanup steps, please check the services again to ensure all resources have been deleted.