How to set up an Ubuntu instance in AWS?

ELAKIA VM
featurepreneur
Published in
4 min readApr 28, 2022

In this article, we will see how to launch an Ubuntu instance, this instance is for demo purposes not for industrial use, because here we will mostly use the free tier only.

You can choose any region like US East (N. Virginia) us-east-1, US West (N. California)us-west-1, Asia Pacific (Singapore)ap-southeast-1, and many more, here we are using the Singapore region

What is AWS EC2?

Amazon web service-Elastic Compute cloud is a simple and mostly used web service among the AWS service

What is an Instance?

Amazon EC2 provides cloud-hosted virtual machines, called “instances”, to run applications.

Step 1:

Go to the AWS console home and search for EC2 service.

Select EC2 service which is shown in the above image

Step 2:

Then on the right top, you will see the Launch instance button select that.

Step 3:
AMI means Amazon Machine Image in this we are choosing the OS we that we for our application

Select Free tier

AWS Free Tier provides customers with the ability to explore and try out AWS services free of charge up to specified limits for each service.

Then choose Ubuntu Server 20.04 LTS

Step 4:

First select t2 micro, then click the next configure button.

T2 instances are a good choice for a variety of general-purpose workloads including microservices, low-latency interactive applications, small and medium databases

Step 5:

No need to change anything on Configure Instance page leave it as a default because it is just for demo purposes. So click the Next Add storage button

Step 6:

On this page, we can see the storage volumes for our instance if we want we can increase the EBS volume but as this is just a demo we not are doing to change anything

Step 7:

On the Add Tags page, we can see a button Add Tag, click that button

Add key and value for the instance it should be meaningful as it is like a naming tag for the application

Then Click Next: Configure Security Group

Step 8:
On the Configure Security Group, the go-to source we will have

Step: 9

Then click to review the details and after checking the settings launch the instance

then they will ask for key pair, if you have an existing key pair use that or create a new set of key pairs, after choosing your key pair click to launch the instance.

Step: 10

Click View Instance to see the instance running state

--

--