+ Login To AWS Account : After login, Go Services > Compute > EC2
(Recommended : Login with IAM User account – if you don’t have any IAM User then Create new IAM User with AmazonEC2FullAccess Policy/Permissions)
(If IAM User Don’t have an access API Error will shown in AWS EC2 Dashboard, you can see it below)
+ If You are logged in with root user account or IAM User with EC2FullAccess, Here you can see full fledged EC2 Dashboard (Graphic user interface Nov-2022) will Opens
+ Click on Launch Instance :
+ Launch Pad/Panel of EC2 Instance:
Steps to complete :
S.No |
Step |
Details |
1 |
Name and tags |
Name of your Server and tagsUp to 128 Characters |
2 |
Application and OS Images (Amazon Machine Image) |
Operations system |
3 |
Instance type |
Processor |
4 |
Key pair (login) |
Login Keys / SSH(pem/ppk) Keys |
5 |
Network settings |
VPC, Subnet, IP Assign, Security Group, Firewall |
6 |
Configure storage |
EBS Block storage (Like HARD Disk) |
7 |
Advanced details |
Request for spot instances, Termination protection, Userdata(bootstrapping script), Tenancy .. More |
8 |
Summary |
Review your settings and launch/create Instance |
Task : Create Amazon Linux instance with free tier facilities
Step – 1. Name and tags : Add name and tags
Step -2 AMI : Select Operating system, here we Selected Amazon Linux – Free Tier Supported
Step – 3 : Instance Type : Select t1.micro(1 Core – 612 MB RAM) or t2.micro (1 Core – 1 GB RAM) – These are free tier eligible
Step – 4. Add Key Pair : Click on Create new key pair
4.1 To Create Key pair give details:
(1) Key pair name: Linux-Instance – Free-Tier – 05112022-01 – RSA – PEM – 01,
(2) Key pair type : RSA
(3) Private key file format : .pem
(4) Click on Create key pair
4.2 Download – Save Key pair :
After clicking the Create key pair, your key will automatically downloads – save it in secure place
This is the key to login to the EC2 Instance using SSH Connection.
Step – 5 : Network Settings:
S.No |
Setting |
Details |
1 |
Network VPC |
Virtual Private Network ( Assigning Secured Isolated Internet Network Area) |
2 |
Subnet |
It’s Related to IP ( Here you can private and public ip access ranges) |
3 |
Auto-assign public IP |
Public IP automatically assigned to Virtual Server Instance |
4 |
Security Group |
It’s like firewall, It allows and blocks IP ranges and Ports |
5 |
SSH Traffic |
It allows Users Device IP address to login to virtual Server instance using SSH connection. Here Anywhere means you can access from any ip address Or you can select particular ip if you have |
6 |
Allow HTTPS traffic from the internet |
If we want to turn EC2 Virtual server instance into web server then we need to enable https or http to access it from internet using browsers , port opens 443 |
7 |
Allow HTTP traffic from the internet |
If we want to turn EC2 Virtual server instance into web server then we need to enable https or http to access it from internet using browsers, port opens 80 |
Here we are going with Basic settings ! , when in case of real time complex EC2 infrastructure we have to edit settings by clicking the edit button at top right corner.
Step – 6 : Configure storage : It is Exactly Like Hard Disk or SSD (here gp2 is ssd – free tier gives us 8GB)
Step – 7 : Advanced details : We don’t have any requirement right now to change these settings Request for spot instances, Termination protection, Userdata(bootstrapping script), Tenancy .. More
Skip this step now, go for next and last step
Step – 8 : Summary : It shows the setting that you selected for creating the EC2 Virtual server instance. If everything is OK then click on Launch Instance, if you find any mistakes or misconfigurations, change settings and come back here and click on Launch Instance.
When after you clicking launch instance wait for few seconds: it will shows Success and returns you EC2 Virtual server instance ID, Click on it to see the Instances Dashboard
It’s Done ! , Creating EC2 Virtual server instance with Amazon Linux OS with Free Tier Features
Here is the instances list : here you can see the instance is Running, Wait until status check are completed(It will takes few minutes to completes) to use the EC2 Virtual server instance