Skip to content
Related Articles

Related Articles

Improve Article

Amazon EC2 – Creating an Elastic Cloud Compute Instance

  • Difficulty Level : Expert
  • Last Updated : 01 Jun, 2021

This article will educate you all about Amazon EC2. EC2 or Elastic Compute Cloud is a scalable computing service launched on the AWS cloud platform. In simpler words, EC2 is nothing but a virtual computer on which we can perform all our tasks and we have the authority to configure, launch or even dissipate this virtual computer. Hereby configuration, I mean RAM, ROM, storage, and so on, along with an extra secured environment. In return, AWS asks us to pay the bill for using their platform and their resources. 

Now, let us look at the step-by-step process for creating an EC2 instance.

Step 1: First, login into your AWS account and click on “services” present on the left of the AWS management console, i.e. the primary screen. And from the drop-down menu of options, tap on “EC2”. Here is the image attached to refer to.

Step 2: In a while, the EC2 console will be loaded onto your screen. Once it is done, from the list of options on the left in the navigation pane, click on “Instances”.  Please refer to the image attached ahead for a better understanding.



Step 3: A new fresh screen will be loaded in a while. In the right corner, there will be an orange box named “Launch Instance”. Click on that box and wait. Here is the image to refer to.

Step 4: Now, the process of launching an EC2 instance will start. The next screen will display you a number of options to choose your AMI(Amazon Machine Image) from it. And horizontally, on the menu bar you will see, there is a 7-step procedure written to be followed for successfully launching an instance. I have chosen “Amazon Linux 2 AMI” as my AMI. And then go ahead, click “Next”. Refer to the image for any confusion.

Step 5: Now, comes sub-step-2 out of 7-steps of creating the instance, i.e. “Choose Instance Type”. I have chosen “t2 micro” as my instance type because I am a free tier user and this instance type is eligible to use for us. Then click “Next”. Refer to the image attached ahead for better understanding.

Step 6: Further comes sub-step 3 out of the 7-step process of creating the instance, i.e. “Configure Instance”. Here we will confirm all the configurations we need for our EC2. By default, the configurations are filled, we just confirm them or alter them as per our needs and click “Next” to proceed. Here’s the image for better understanding and resolving confusion.



Step 7: Next comes sub step 4 out of the 7-step process of creating the instance, i.e. “Add Storage”. Here we will look at the pre-defined storage configurations and modify them if they are not aligned as per our requirements. Then click “Next”. Here’s the image of the storage window attached ahead to understand better.

Step 8: Next comes sub-step 5 out of the 7-step process of creating the instance, i.e. “Add Tags”. Here we will just click “Next” and proceed ahead. Here’s the image to refer to. 

Step 9: Now we will complete the 6th sub step out of the 7-step process of creating the instance, which is “Configure Security Group”. In Security Group, we have to give a group name and a group description, followed by the number and type of ports to open and the source type. In order to resolve confusion please refer to the image attached ahead.

Step 10: Now we will complete the last step of the process of creating the instance, which is “Review”. In review, we will finally launch the instance and then a new dialog box will appear to ask for the “Key Pair”. Key pairs are used for authentication of the user when connecting to your EC2. We will be given two options to choose from, whether to choose an existing key pair or creating a new one and downloading it to launch. It is not necessary to create a new key pair every time you can use the previous one as well. Here is the image of the window attached.

In this way, we can easily create our EC2 instance using the console. In a while, you will be able to see the instance you have created. And if you also use a free tier account, make sure you delete all the resources you have used before logging out. 

Go Premium (An Ad Free Experience with many more features)




My Personal Notes arrow_drop_up
Recommended Articles
Page :