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.

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

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 FCAJ-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 aws-fcaj-container-app-frontend.
- 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 aws-fcaj-container-app-backend.
- 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 Frontend và Backend đã 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.


Truy cập Subnet Groups và xoá subnet groups đã tạo.


NAT Gateway

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



Route 53
- Tìm và chọn
Route 53
- Chọn hosted zone fcajresbar.internal
- Chọn Delete records
- Nhập
delete
- Chọn Delete
