What is Aws EC2?

An EC2 instance is nothing but a virtual server in Amazon Web services terminology. It stands for Elastic Compute Cloud. It is a web service where an AWS subscriber can request and provision a compute server in AWS cloud.

How to create & setup AWS EC2 Instance?


Step 1: 

First of all you need to register on aws.

Step 2: 

Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/ and you need to click on Launch Instance.

Step 3: 

Now I’m going to select “Amazon Linux 2 AMI (HVM)”. You can go with which would you like.

Step 4: 

Select Instance type “t2.micro” (Free Tier eligible) There is many type of instance available

  • Instance type is determines the hardware of the host computer used for your instance

Step 5: 

Now you need to configure Instance Details.

Step 6: 

Now setup storage size

  • Amazon EC2 provides you with flexible, cost effective, and easy-to-use data storage options for your instances.
  • Each option has a unique combination of performance and durability.
  • These storage options can be used independently or in combination to suit your requirements.

Step 7: 

Add tags in your restance.

  • A tag is a label that you assign to an AWS resource. Each tag consists of a key and an optional value, both of which you define.

Step 8: 

Configure security for instance

  • It is used for control traffic for one or more instance (For more detail – https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security-groups.html)

Step 9: 

Now you can Launch Instance.

Step 10: 

Now you can get SSH Key Pair & Save it.