Connecting to AWS VM from Windows

Posted: April 18, 2017 in Amazon Web Services (AWS)

In previous post we created linux VM, and downloaded private key (mykeys.pem) now we’ll connect to it from Windows by PuTTY

Download PutTTY from here

Run PuTTY gen (to convert pem file to ppk-so we can import it in PuTTY)

1.png

Click Load

2

Point it to Private key we downloaded from AWS console during creating VM.

3.png

4

Now click save private key

5

If you wish to set passphrase click No and set it,otherwise,click Yes

6.PNG

Then click Save Private Key to save keys with ppk extension

8

Now copy VM’s public IP

9.png

Open PuTTY-expand SSH-Auth-browse to ppk file

10

type username (ec2-user in my case)@public IP address

1.png

12.PNG

 

13.PNG

During machine creation i created basic network access rules (ssh access only to VM’s IP-HTTP/HTTPS  to any address (0.0.0.0/0)

 

Capture

 

Install apache

yum install httpd -y

service httpd start

Test web access

 

14.PNG

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s