How to create Ec-2 instance on AWS and accessing with putty.

Step 1 - Login to AWS console.

Step 2 - GO to SERVICES.

Step 3 - Click to COMPUTE.

Step 4 - select Ec2.

Step 5 - Click to INSTANCE.

Step6 - Click to LAUNCH INSTANCE.

Step 7 - Select the OS. That you want in your ec2 machine (for learning purpose it is adviced to select free tier machines).

Step 7(a) - fill name tags.

Step 7(b) - create the KEY Pair.

Step 7(c) - Download key pair.

step 7(d) - Click to LAUNCH INSTANCE.

Step 8 - puttygen and putty is requred to accessing this instance.

If you don't have downloaded yet you can download from here https://www.puttygen.com/download-putty.

Step 9 - open puttygen and Click on the LOAD.

Step 10 - select the key that you downloaded while creating instance(make sure all files visible).

Step 11 - save this as privte key.

Step 12 - Open putty.

Step 12(a) - In the hostname write the public IP of the instance.

Step 12(b) - Go to SSH then Auth and select credentials.

Step 12(c) -In the private key section click on the Browse button for selecting the file that you have saved in step 11 for authenticate the user.

Step 13 - Click to OPEN. Accept the permission. Write ec2 -user.

Step 14 - your Linux machine is READY :)