Kết nối EC2 Instance

Kết nối EC2 Instance

  1. Trong giao diện AWS Management Console
  • Tìm Systems Manager
  • Chọn Systems Manager

Connect to EC2 instance

  1. Trong giao diện AWS Systems Manager
  • Chọn Parameter Store

Connect to EC2 instance

  1. Trong giao diện Parameters Store
  • Chọn My parameters
  • Chọn MyKey01

Connect to EC2 instance

  1. Trong giao diện MyKey01
  • Chọn Overview
  • Xem Last modified user
  • Chọn Show Value

Connect to EC2 instance

  1. Sao chép value và lưu cloudformation.pem

Connect to EC2 instance

  1. Sử dụng MobaXterm để kết nối EC2 Instance
  • Nhập public EC2
  • Nhập user name:ec2-user
  • Chọn Use private key và chọn file cloudformation.pem

Connect to EC2 instance

  1. Sử dụng lệnh ifconfig -a để hiển thị thông tin của tất cả giao diện mạng

Connect to EC2 instance

  1. Thực hiện ping amazon.com -c5 để kiểm tra kết nối

Connect to EC2 instance