Skip to content

UMANG2707/AWS-EC2-ACCESS-WITH-PUTTY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

AWS-EC2-ACCESS-WITH-PUTTY

How to access AWS EC2 ubuntu instances using PuTTY.

3 Steps to connect to the instance.

  1. Create Instance
  2. Download and install PuTTY.
  3. Generate Key using PuTTYgen.
  4. Connect to the instance using PuTTY.

Step 1 Create Instance

  • Login to AWS Educate Account.
  • Go to the services and click on EC2.

2020-04-03 (32)

  • Click on launch Instance.

2020-04-03 (1)

  • Select an Amazone Machine Image as Ubuntu Server 16.04.

2020-04-03 (2)

  • Choose an instance type t2.micro (Which is free).

2020-04-03 (3)

  • Click on Launch.

2020-04-03 (4)

  • Create key pair value if you already have you can choose that exist key pair.
  • Give Key Pair Name.
  • Download that key pair file (Key pair name + .pen).

2020-04-03 (5)

  • Click on Lounch Instance.

2020-04-03 (7)

  • Instance is Launched.
  • Now, Click on View Instances.

2020-04-03 (9)

  • You can edit the name of instances.

2020-04-03 (10)

  • For edit the name of instance click on pen sign which is in Name column.

step 2 Download and Install PuTTY.

  • For Download PuTTY open link given below.

2020-04-03 (11)

  • Now, Download PuTTY installer.
  • After that install PuTTY.

step 3 Generate Key using PuTTYgen.

  • Open PuTTYgen.

2020-04-03 (12)

  • Load Keypair file which we have download.(keypair.pen)

2020-04-03 (13)

  • Select key Pair Name file which we have downloaded during step 1 process.(.pen File)

2020-04-03 (14)

  • It will show you only private key (.ppk) files for selecting .pen file select All Files *.

2020-04-03 (15)

  • Save Private key (.ppk file).'

2020-04-03 (17)

2020-04-03 (18)

step 4 Connect to the instance.

  • Open PuTTY.

2020-04-03 (19)

  • Select public IPV4 of instance.

2020-04-03 (20)

  • Give that ip as host.

2020-04-03 (21)

  • Save this session data to any session variable.

2020-04-03 (22)

  • Click on Connection -> SSH -> Auth.

2020-04-03 (25)

  • Browse that private key file which we have generated using PuTTYgen.
  • Click on Open.

2020-04-03 (26)

Now you can access your instace.

2020-04-03 (28)

For Terminate Instance

  • Select that instance -> Actions -> Insance state -> Terminate.

2020-04-03 (29)

  • Yes,Terminate

2020-04-03 (30)

About

How to access AWS EC2 ubuntu instance using PuTTY.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published