How to Create New EC2 Server in AWS

How to Create New EC2 Server in AWS

In this tutorial we will see how to create a new EC2 Server in AWS.

Step 1: Open AWS Management Console. Click on EC2 Service


Step 2: Select your Region. Click on Launch Instance button.

 

Step 3: Select your Desired AMI and Click Select button

Step 4: Select your instance type and Click on Configure Instance Details button.Here we are using t2.micro

Note : Only t2.micro is free for 720 hours per month if you select any other type it will be chargeable.Please check the prices before launching instance.

Step 5: Click on Add Storage button.


Step 6: To add a volume Click on Add New Volume button. Click on Tag Instance button.

 Step 7: Give a name to the instance and Click on Configure Security Group button. 

Note :This is place where we can define a value to identify the EC2 Instance. Tag key has to be "Name" only then only it will be displayed with this instance name


Step 8: Select Create New Security Group option. To add rules Click on Add Rules button. Click on Review and Launch button.

Below one will allow only SSH and HTTP access to this Server. Here we have use source as Anywhere means anywhere across the world you can login into this ECS instance if user has key.

 Step 9: Click on Launch button. 



Step 10: Select Create New Key pair option. Give a name for key pair. Click on Download Key Pair button. Click on Launch Instance button. Then click on View Instance button

Note : Please make sure to save this key securely because in Cloud any Linux instance can be accessed via this Key only. Once lost there is no way in AWS to get original Key.Even AWS Support Team also cannot help you .Since ECS is a Iaas Service . They will have any access to this ECS instance.   


 

Step 11: Now you can see your instance is running.  Below Name is one which we have specified Tag Key value in step 7



No comments