EC2 connection with cmd.

 Connecting an EC2 instance with cmd

Step1: Create an Ec2 Instance. For creating an instance Click.
  • Follow the link to create an EC2 Instance.
Step2: Connect the EC2 with cmd.
  • Copy the public Ip address in an Instance.
Fig.1: Copy the Public IP address. 

  • Copy the key-pair file path where it is downloaded. 
  • Open the cmd in your computer.
  • Enter the following command in the cmd.
                ssh -i key-pair-path ec2-user@ipaddress
       Ex;   ssh -i "C:\Users\nandi\Downloads\vs1.pem" ubntu@54.91.103.217


Fig.2: Connecting the EC2 instance.


Fig.3: Successfully Connected the EC2 instance.

Fig.4: Ubuntu os instance.


Thank you😊






















Comments

Popular posts from this blog

NANDISH

LEO Review

Travel Hack