Clean up

  1. Empty S3 bucket.

    • Open AWS S3 console
    • Select fcj-book-shop-by-myself.
    • Click Empty.
    • Enter permanently delete.
    • Click Empty.
    • Do the same for bucket starting with aws-sam-cli-managed-default-.
  2. Delete CloudFormation stacks.

    • Execute the below command to delete the AWS SAM application.

      sam delete --stack-name fcj-book-store
      sam delete --stack-name aws-sam-cli-managed-default
      
    • If you have issues when deleting with command. Open AWS Cloudformation console. Then, delete all stacks related to this workshop.

  3. Open Amazon Cognito console.

    • Select User pools on the left menu.
    • Choose User pool - … that just created before.
    • Click the Delete button. CreateUserPool
    • At the Delete user pool “User pool - …”? popup.
      • Check on the Delete Cognito domain … and Deactivate deletion protection.
      • Enter the User pool - ... at the 2. To confirm deletion field.
      • Click the Delete button. CreateUserPool