Connecting EC2 Instance

Connecting EC2 Instance

  1. In the AWS Management Console
  • Find Systems Manager
  • Select Systems Manager

Connect to EC2 instance

  1. In the AWS Systems Manager interface
  • Select Parameter Store

Connect to EC2 instance

  1. In the Parameters Store interface
  • Select My parameters
  • Select MyKey01

Connect to EC2 instance

  1. In the MyKey01 interface
  • Select Overview
  • See Last modified user
  • Select Show Value

Connect to EC2 instance

  1. Copy the value and save cloudformation.pem

Connect to EC2 instance

  1. Use MobaXterm to connect EC2 Instance
  • Enter public EC2 IP
  • Enter user name: ec2-user
  • Select Use private key and select the cloudformation.pem file

Connect to EC2 instance

  1. Use ifconfig -a command to display information of all network interfaces

Connect to EC2 instance

  1. Do ping amazon.com -c5 to test the connection

Connect to EC2 instance