DEV Community

Cover image for How to create an EC2 in AWS in Ubuntu Image and install nginx.
EMMANUEL
EMMANUEL

Posted on

How to create an EC2 in AWS in Ubuntu Image and install nginx.

EC2 (Amazon Elastic Compute Cloud )is a part of Amazon's cloud-computing platform, Amazon Web Services, that allows users to rent virtual computers on which to run their own computer applications.Amazon EC2 provides secure, resizable compute in the cloud, offering the broadest choice of processor, storage, networking, OS, and purchase model.An Amazon EC2 Instance is a virtual server within Amazon's EC2, a service in the AWS.

In this article we are going to write the steps in creating EC2 in AWS in ubuntu image and installing it.

Step 1
Go to AWS.com/free and open a free account and login

AWS Login

Step 2
Go to the 'Search field ' and type EC2 and click on the dashboard.

EC2 search field

Dashboard launch

Step 3
Click on 'Launch instance' button

Launch instance

Step 4
Write your name/fill in the Tag filed.

Name

Tag

Step 5
Choose your image, because we are writing article on ubuntu,so we chose the ubuntu image.

Image Ubuntu

Step 6
Choose your instance type.

Instance type

Step 7
Create key pair.

key pair

Step 8
Go to 'Network settings' and choose your traffic , because its ubuntu image we are going to choose SSH and HTTP.

Network settings

Step 9
Click on 'Launch instance' to create the EC2, after which We will have a successful initiated launch of the EC2.

EC2 Launch instance

Successful Initiated Launch

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.