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

Bạn sẽ dọn dẹp tài nguyên theo thứ tự sau:

Terminate EC2 Instance

  1. Truy cập Amazon EC2 console.
  • Trên thanh điều hướng bên trái, click Intances.
  • Chọn DevAxWindowsHost.
  • Click Instance state
  • Click Terminate instance Clean up reources
  1. Click Terminate Clean up reources

Xóa Users

  1. Truy cập vào AWS IAM Console.
  • Click Users.
  • Nhập awsstudent vào ô tìm kiếm
  • Chọn awsstudent.
  • Click Delete Clean up reources
  1. Điền awsstudent để xác nhận, sau đó click Delete Clean up reources

Xóa policy

  1. Truy cập vào AWS IAM Console.
  • Click Policies.
  • Chọn DevAx-04-idevelopCodeStarCloudFormationPolicy…
  • Click Actions
  • Click Delete Clean up reources
  1. Điền tên của policy để xác nhận, sau đó click Delete để xóa Clean up reources

Xóa CodeStar

  1. Truy cập AWS CodeStar Console.
  • Click Projects
  • Chọn dev-calculator
  • Click Delete Clean up reources
  1. Điền delete để xác nhận, sau đó click Delete để xóa Clean up reources

Xóa CloudFormation Stack

  1. Truy cập AWS CloudFormation Console.
  • Chọn DevAx-04.
  • Click Delete Clean up reources
  1. Click Delete stack Clean up reources

Xóa DynamoDB

  1. Truy cập AWS DynamoDB Console.
  • Click Tables
  • Chọn TravelBuddyTripSectors
  • Click Actions
  • Click Delete Clean up reources
  1. Điền delete để xác nhận, sau đó click Delete để xóa Clean up reources

Xóa Lambda function

  1. Truy cập AWS Lambda console.
  • Click Functions.
  • Chọn idevelop_basic_calculator.
  • Click Delete Clean up reources
  1. Điền delete để xác nhận, sau đó click Delete để xóa Clean up reources

Xóa Key Pairs

  1. Truy cập Amazon EC2 console.
  • Trên thanh điều hướng bên trái, click Key Pairs.
  • Chọn KPforDevAxInstances.
  • Click Actions
  • Click Delete Clean up reources
  1. Điền Delete để xác nhận, sau đó click Delete để xóa Clean up reources

Xóa Step Function

  1. Truy cập AWS Step Function Console.
  • Click State machines.
  • Chọn BasicCalculatorWithAddition .
  • Click Delete Clean up reources
  1. Click Delete state machine để xóa Clean up reources

Xóa S3 bucket

  1. Truy cập vào AWS S3 Console.
  • Click Buckets
  • Chọn aws-codestart-us-1….
  • Click Empty. Clean up reources
  1. Điền permanently delete để xác nhận, sau đó click Empty để xóa toàn bộ dữ liệu trong S3 bucket. Clean up reources
  2. Click Exit để trở lại giao diện S3. Clean up reources
  3. Click Delete. Clean up reources
  4. Điền tên bucket sau đó click Delete bucket để xóa S3 bucket. Clean up reources
  5. Làm tương tự cho S3 bucket còn lại