How to Create EC2 Instance in AWS Step by Step Free

Amazon EC2 provides a wide selection of instance types optimized to fit different use cases. Instance types comprise varying combinations of CPU, memory, storage, and networking capacity and give you the flexibility to choose the appropriate mix of resources for your applications.

In this tutorial, i am going to show you how to create/launch ec2 intance with linux apache web server in aws free.

How to Create EC2 Instance in AWS Step by Step Free

Just follow the below given steps to create/launch ec2 intance in aws free:

  1. Step 1: Login to the aws console
  2. Step 2: Choose Launch Instance
  3. Step 3: Choose AMI
  4. Step 4: Choose EC2 Instance Types
  5. Step 5: Configure Instance Details
  6. Step 6: Add Storage of Ec2 Intance
  7. Step 7: Tag Instance of Ec2 Instance
  8. Step 8: Configure Security Groups
  9. Step 9: Review Instances
  10. Step 10: Create Key-Pair For Intance Access
  11. Step 11: Type Ec2 Instance Public Ip On Browser

Step 1: Login to the aws console

Visit this link https://console.aws.amazon.com/ec2/ to login in your aws console account.

Step 2: Choose Launch Instance

First of all, Click on ‘Launch Instance’ button shows in the below picture for launch/create new ec2 intance in aws:

Step 3: Choose AMI

In this step, choose AMI according to your need. Here, we will choose Ubuntu server 18.04 LTS – SSD Value Type.

Step 4: Choose EC2 Instance Types

In this step, choose ec2 instance type shown in below picture:

Step 5: Configure Instance Details

In this step, you need to configure your instance. Like below given picture:

Step 6: Add Storage of Ec2 Intance

In this step, choose storage. By default ec2 t2-micro provide 8gb ssd. But you can change according to your need. Shown in the below picture:

Step 7: Tag Instance of Ec2 Instance

In this step, you need to add tag of instance with a key-value pair.

Like below given picture:

Step 7: Configure Security Groups

In this next step of configuring Security Groups, you can restrict traffic on your instance ports.

  1. Creating a new Security Group
  2. Naming our Security Group for easier reference
  3. Defining protocols which we want enabled on my instance
  4. Once, the firewall rules are set- Review and launch

Step 9: Review Instances

In this step, you need to review all settings and parameters. Then click on launch button:

Step 10: Create Key-Pair For Intance Access

In this step, you will be asked to create a key pair for login into your aws instance. A key pair is a set of public-private keys.

So, create new key pair and add the name of this key. Then download and save it in your secured folder.

Click on the Launch instances button to launch your instance. And wait a few minutes to completely launch your instance or web server.

Step 11: Type Ec2 Instance Public Ip On Browser

Next, click on ec2 dashboard and look for the Running Instances option under the main menu and also click on it.

Then, you’ll notice it lists the instance’s public IP under its details.

Thanks for reading this post of how to create ec2 instance in aws step by step.

Note :- All images in this tutorial are credited to Tutsmake.com

Leave a Comment