How to create EC2 Instance using AWS

This tutorial explains, how to create EC2 instance. We will learn how to connect instance using SSH in the next tutorial. Click here to go next tutorial

What is the EC2

Don't Miss

An Ec2 Instance is a virtual server that provided by Amazon. Virtual Server is in the Amazon Elastic Compute Cloud(EC2) for running application on the Amazon Web Service(AWS).

[get_ad_banner2]

To create an instance, follow the below steps:

  1. Login to AWS

    We need to create an Aws account to access Aws Service. If we have already an account then sign in Aws account to access Aws Service. Go to Aws Website (link).
    Aws-signin

  2. Search EC2

    After login, search EC2 in the Amazon Console then click on EC2.
    ec2

  3. Launch Instance

    Click on the Launch Instance button.

  4. Choose Amazon Machine Image

    Once we clicked on launch an EC2 instance then we have choose AMI, the instance will automatically be booted with the desired OS. Here we are choosing Ubuntu Server 20.04 LTS(HVM).
    choose-amazon-machine-image

  5. Choose Instance Type

    We have to choose Instance Type require based on your business needs. We are choosing t2.micro instance type, which is a 1 CPU and 1GB memory server offered by AWS.
    Now, Click on “Configure Instance Details” for further configurations
    choose-an-instance-type


  6. Configure Instance Details

    Aws is offering to launch maximum 20 instances at a time, Here we are launching one instance. Here we are configuring some basic networking details for our EC2 server.Click on ‘Add Storage’ to add data volumes to your instance in next step.
    configure-instance

  7. Add Storage

    In this step, we can see that instance has been a General Purpose SSD root volume of 8 GB. We can add new volumes on the require of our business purpose.

  8. Add Tags

    We can tag our instance. When there are lots of instance available then it helps to recognize. Here we tagged the instance as a Test-01. Click on ‘configure Security Groups’ to go to next step.
    add-tags

  9. Configure Security Groups

    Here we are configuring Security Groups, we can restrict traffic on your instance ports. Here we added three rules to access instance ports – SSH, HTTPS & Http. This is an added firewall mechanism provided by AWS apart from your instance’s OS firewall.
    configure-security-group

  10. Review

    We will review all chosen parameters and click on the ‘Launch’ to go to next step.
    review-instance-launch

  11. Download Key Pair

    We need to create a key pair ( Set of public-private keys )to login an instance. AWs stores the private key in the instance and we are asked to download the private key. It is RSA private key.
    download-key-pair

    • Choose Create a new key pair. Also we can choose existing key pair.
    • Give a name to our key. Here We added Test-01.
    • Click on ‘Download Key Pair’. After save it in the local
  12. Launch the instance

    Click on the Launch the instance. We will got launch status. Click on the ‘View Instance’;
    launch-status
    ec2 instance

Now Our instance is launched, In next tutorial, we will learn how to login EC2 instance using SSH. Click here to go next tutorial to learn how to connect EC2 instance using SSH.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

564FansLike

Recent Posts

Concept of Session in Laravel Tutorial

Sessions are used to store details about the user throughout the requests. Laravel supplies various drivers like file, cookie, apc, array, Memcached, Redis, and database to handle session data. By default, file driver is used as a result of it's light-weight....

Laravel Url Generation Tutorial

Our web application revolves around routes and URLs. After all, they're what direct our users to our pages. At the end of the day, serving pages is what any web application should do. Our users may...

Concept of Laravel Views Tutorial

In MVC framework, the letter "V" stands for Views. It separates the application logic and presentation logic. Views are saved in resources/views listing. Generally, the view contains the HTML which might be served by the application.

Related Articles

Concept of Session in Laravel Tutorial

Sessions are used to store details about the user throughout the requests. Laravel supplies various drivers like file, cookie, apc, array, Memcached, Redis, and database to handle session data. By default, file driver is used as a result of it's light-weight....

Laravel Url Generation Tutorial

Our web application revolves around routes and URLs. After all, they're what direct our users to our pages. At the end of the day, serving pages is what any web application should do. Our users may...

Concept of Laravel Views Tutorial

In MVC framework, the letter "V" stands for Views. It separates the application logic and presentation logic. Views are saved in resources/views listing. Generally, the view contains the HTML which might be served by the application.
WP2Social Auto Publish Powered By : XYZScripts.com