Dọn Dẹp Tài Nguyên
Xoá Elastic Container Service
- Tìm kiếm và chọn Elastic Container Service.


Trong phần Services:
- Chọn hai Service đang chạy.
- Nhấn Delete service.


Sau khi đã dọn dẹp xong các service đang chạy, tiếp theo chúng ta sẽ xoá Cluster:

- Nhập
delete FCJ-Lab-cluster
. - Chọn Delete.

Tiếp theo, chúng ta sẽ dọn dẹp các task definitions:
- Chọn Task definitions.
- Chọn task cần xóa.

- Tiếp tục làm theo hướng dẫn:
- Chọn task definition.
- Nhấn Action.
- Chọn Deregister.

Lặp lại quy trình để xoá task còn lại.

- Thực hiện theo hướng dẫn.

Như vậy, bạn đã hoàn thành việc xoá ECS và các ECS services.
Dọn Dẹp Elastic Container Registry
Trên giao diện AWS Console:
- Tìm kiếm và chọn Elastic Container Registry.

Bạn sẽ thấy hai kho lưu trữ đã tạo trước đó:
- Chọn fcjresbar-be.
- Nhấn Delete.

- Xác nhận hành động Delete.

Tương tự, thực hiện cho kho còn lại:
- Chọn fcjresbar-fe.
- Nhấn Delete.

- Xác nhận hành động Delete.

Xoá Load Balancer
- Tìm và chọn Load Balancer.

- Chọn Load Balancer đã tạo.
- Nhấn Action.
- Chọn Delete load balancer.

- Nhập confirm.
- Chọn Delete.

Dọn Dẹp Target Groups
Trong bảng bên trái:
- Chọn Target Groups.
- Chọn target group đã tạo.
- Nhấn Action.
- Chọn Delete.

Dọn Dẹp RDS
Trên giao diện AWS Console:

- Chọn Databases.
- Chọn RDS instance đã tạo.
- Nhấn Action.
- Chọn Delete.

- Chọn I acknowledge that upon instance deletion, automated backups, including system snapshots and point-in-time recovery, will no longer be available.
- Nhập
delete me
. - Nhấn Delete.

NAT Gateway

- Chọn NAT Gateway chúng ta đã tạo
- Chọn Action
- Chọn Delete NAT gateway
