- November 25, 2020
- saptrxuy_learnit
- 0 Comments
- 2022 Views
- 0 Likes
- AWS
Create Virtual Private Server (EC2 Instance) in AWS
By Nutan
1 Introduction
2 Login to AWS account
3 Search EC2 in AWS Management Console
4 Create VPS
5 Convert private key .pem file to Putty Private Key .ppk file
6 Connect to VPS from your local system through Putty
1.Introduction▲
This document describes how to create virtual private server(EC2) in AWS. After that how you can connect to that server from your local system.
2.Login to AWS account▲
Email: xxxx@xxxx.com
Password: xxxxxx
3.Search EC2 in AWS Management Console▲
EC2
Next screen will show like below:
4.Create VPS▲
4.1.Click on Launch instances▲
4.2.Search “ubuntu” -> then select Ubuntu Server 18.04(Free for Eligible)▲
4.3.Review and Launch▲
Next will show like below:
4.4.Create a new key pair▲
Select “Create a new key pair” from dropdown and give name of key pair.
4.5.Download Key Pair private key▲
Save .pem file in your local system. We need this file later, so keep safely. You will not be able to download file again after server instance’s created.
4.6.Click on Launch Instance▲
Next screen will show like below.
Server instance is launching. It will take some time to launch, so please wait.
4.7.After sometimes you can view instance▲
4.8.Note down server details▲
Click on Action -> Connect
Public DNS: ec2-3-20-203-40.us-east-2.compute.amazonaws.com
User: ubuntu
Host: ubuntu@ec2-3-20-203-40.us-east-2.compute.amazonaws.com
Private IP: 172.31.18.190
Instance ID: i-0a88485ddc6c1d39b
5.Convert private key .pem file to Putty Private Key .ppk file▲
5.1.Search puttygen in your local system and open▲
Next screen will come like below:
5.2.Load▲
5.3.Save private key▲
After saving close the puttygen.
6.Connect to VPS from your local system through Putty▲
6.1.Search putty and open in your local system▲
Add host ubuntu@ec2-3-20-203-40.us-east-2.compute.amazonaws.com
6.2.Load private key .ppk for authorization▲
Next screen will show like below:
Click yes
Now it is connected to AWS EC2 server instance.
Leave a Comment