<aside> 💡
製作完卡牌後工作坊也接近尾聲了,最後教大家如何清除本次建立的資源,避免不必要的花費
</aside>
回到 SageMaker Unified Studio,點選左上角的 Build > Inference endpoints

選擇 Part 2 部署的 Endpoint,點擊右上角的 Delete

勾選 I confirm that I want to delete the endpoint 後,點選 Delete endpoint

稍等一下後 Endpoint 就會被刪除啦~

<aside> 🧹
首先要刪除的是我們在 Part 3 透過 CloudFormation 建立的 S3 Bucket,因為我們在裡面放了東西,沒辦法直接透過 CloudFormation 刪除,需要手動清除
</aside>
回到 AWS console,搜尋並進入 S3

<aside> 🪣
刪除 S3 Bucket 之前必須要先把裡面的東西清空
</aside>
選擇 workshop-stack-generatedimagesbucket-xxxxxxxxxxxx,並點擊上方的 Empty

輸入 permanently delete 之後,點選右下角的 Empty

刪除完成後,點選右上角的 Exit 回到 Buckets 目錄
