Dọn dẹp tài nguyên

Xóa Lambda Function

  1. Truy cập AWS Lambda
  2. Chọn các function dc-common-lambda-auto-stopdc-common-lambda-auto-start
  3. Chọn ActionsDelete

Xóa EventBridge Schedule

  1. Truy cập Amazon EventBridge Scheduler
  2. Chọn các schedule dc-common-lambda-auto-stopdc-common-lambda-auto-start
  3. Chọn Delete

Xóa IAM Role

  1. Truy cập IAM Roles
  2. Tìm và chọn role dc-common-lambda-role
  3. Chọn Delete

Terminate EC2 Instance

  1. Truy cập EC2 Instances
  2. Chọn các instance có tag environment_auto: true
  3. Chọn Instance stateTerminate (delete) instance

Xóa VPC

  1. Truy cập VPC
  2. Chọn VPC đã tạo trong bài lab
  3. Chọn ActionsDelete VPC (sẽ tự động xóa kèm Subnet, Internet Gateway, Route Table liên quan)