Dọn dẹp tài nguyên
Xóa Lambda Function
- Truy cập AWS Lambda
- Chọn các function
dc-common-lambda-auto-stop và dc-common-lambda-auto-start - Chọn Actions → Delete
Xóa EventBridge Schedule
- Truy cập Amazon EventBridge Scheduler
- Chọn các schedule
dc-common-lambda-auto-stop và dc-common-lambda-auto-start - Chọn Delete
Xóa IAM Role
- Truy cập IAM Roles
- Tìm và chọn role
dc-common-lambda-role - Chọn Delete
Terminate EC2 Instance
- Truy cập EC2 Instances
- Chọn các instance có tag
environment_auto: true - Chọn Instance state → Terminate (delete) instance
Xóa VPC
- Truy cập VPC
- Chọn VPC đã tạo trong bài lab
- Chọn Actions → Delete VPC (sẽ tự động xóa kèm Subnet, Internet Gateway, Route Table liên quan)