To avoid incurring ongoing charges, you should clean up all AWS resources created during this workshop. Follow the steps below to empty and delete the S3 buckets, then delete the CloudFormation stacks via SAM CLI.
The S3 bucket must be emptied before it can be deleted.
Open the Amazon S3 console.

On the Empty bucket confirmation page:
permanently delete in the text field.
Wait for the operation to complete. The status page shows “Successfully emptied bucket” with 15 objects, 3.8 MB deleted.

Go back to the S3 bucket list. Select fcaj-book-shop-by-tranvix again, then click Delete.

On the Delete bucket confirmation page:
fcaj-book-shop-by-tranvix in the text field.
After deleting the front-end bucket, you will see the remaining workshop buckets. Empty and delete each of the following:
Repeat the same Empty → Delete steps for each bucket.

The book-image-resize-shop-by-tranvix and book-image-shop-by-tranvix buckets were created by SAM and may already be empty. Still confirm before deleting. The aws-sam-cli-managed-default-... bucket stores Lambda deployment artifacts and must also be emptied first.
Run the following commands in your terminal to delete the deployed SAM stacks:
sam delete --stack-name fcaj-book-shop
sam delete --stack-name aws-sam-cli-managed-default
y when asked.If the sam delete command fails (e.g., due to non-empty S3 buckets still attached to the stack), ensure all relevant S3 buckets are fully emptied first, then re-run the command. Alternatively, open the AWS CloudFormation console and manually delete the stacks from there.