Run Command

  1. Truy cập vào AWS Management Console
  • Tìm Systems Manager
  • Chọn Systems Manager

Run Command

  1. Trong giao diện Systems Manager
  • Chọn Run Command trên thanh điều hướng
  • Sau đó chọn Run command

Run Command

  1. Trong giao diện Run a command
  • Tìm kiếm AWS-RunPowerShellScript
  • Chọn AWS-RunPowerShellScript

Run Command

  1. Chạy command net user

Run Command

  1. Trong bước Targets
  • Chọn Choose instances manually
  • Chọn 2 Windows EC2 instance

Run Command

  1. Trong bước Output options
  • Chọn Enable an S3 bucket
  • Chọn Choose an S3 bucket name from the list

Run Command

  1. Chọn Run

Run Command

  1. Đợi khoảng 1 phút sau command thành công

Run Command

  1. Chọn 1 instance để xem output command

Run Command

  1. Xem ouput commandError

Run Command

Vậy chúng ta đã hoàn thành bài lab.