Create EC2 Instance AWS in 10 Steps: Beginner

Create EC2 Instance AWS in 10 Steps: Beginner

Table of contents

No heading

No headings in the article.

EC2 instance is a virtual server (you can also think of it as a virtual machine) where you can run web applications on the AWS platform.

Following are the steps to create an EC2 instance

  1. Login to AWS cloud aws.amazon.com.

  2. After logging in you would see the following screen.

  3. Click on the EC2 button which would navigate you to the EC2 dashboard

  4. Click on the Launch Instance dialog box.

  5. Choose your preferred Amazon Machine Image. you can think of Amazon Machine as a combination of OS, Storage for root devices along with architecture that you want for your virtual server. We will choose Amazon Linux 2023 AMI as its free tier which has support for 5 years from Amazon.

  6. Then choose the Instance type which is the combination of compute, memory and networking resources that is needed for your server. As currently for a demo, we are using the t2.micro which is eligible for the free tier account.

  7. As you would be creating an instance first, you need to create key pair which is used to connect to your Amazon Instance from your local machine via SSH connection. Save the downloaded key pair in your local machine. This would be used to establish a connection via putty.

  8. Choose the network connectivity you want to allow for this EC2 instance. Connectivity from where this instance is accessible .

  9. Configure the storage that you require for your Virtual Server. As this is a free tier you would be eligible for 30GB of free storage. We would be selecting 8 GB.

  10. Finally, Click on launch instance and your EC2 instance would be launched

    .