DEV Community

Cover image for A Step-By-Step Guide To Creating An EC2 Instance In AWS
Akintoye Gbenga
Akintoye Gbenga

Posted on

A Step-By-Step Guide To Creating An EC2 Instance In AWS

What is an EC2 instance?

An EC2 instance (Elastic Compute Cloud) is a Virtual Server provided by AWS (Amazon Web Services) it allows user to run applications and workloads in the cloud with scalable computing capacity.

Now, follow these simple steps to learn how to create an EC2 instance in AWS.

1.Open your AWS Console and type EC2 to the search bar and select the first option from the list of the options it displays.

2.Click launch instance

3.Give it a name, but in this article, we are going to name it Oyinserver

4.Click add additional tags to add the tags

5.Add the tags

Scroll down to where you have the Application and OS image (Amazon image)

6.Select an image (OS) from the list of images displayed. In this article, I'm going to select Windows

7.Create down and select create key pair

8.Give the key pair a name and click create key pair

9.scroll down a little and tick HTTP

10.Click Launch instance

11.Successfully initiated launch of instance will be displayed on your screen

12.Click connect to instance

13.Click RDP client

14.Scroll down and click get password

15.Click upload private key file and select the key pair you downloaded

16.Scroll down and click Decrypt password

Copy the password to your clipboard because it will be needed

17.Now, click download remote desktop file to connect

18.Click the desktop file downloaded from the top right conner of your screen (The download icon) and click connect

19.Paste the password you had already copied to your clipboard and click connect

20.Click yes

Wow! this is great, you just created an EC2 instance in AWS

Do not forget to drop a comment. your questions are welcome.

See you in my next article.

Top comments (0)