# AWS ubuntu setup || launch an AWS EC2 Server

- Link: https://technotaught.com/aws-ubuntu-setup-launch-an-aws-ec2-server/
- Published: 2020-03-31T19:33:53+05:30
- Author: Ashishkumar Vishwakarma

In this tutorial, We will learn AWS ubuntu setup || Launch An AWS EC2 Server from
scratch. We will configure the Ubuntu 16.04 OS on the server. Also, we will do some
essential configuration like setting up the hostname, correct locale, and NTP service.

## AWS ubuntu setup||Launch An AWS EC2 Server

First, you have to Sign-in into the AWS Management Console. If you are a new user
Register into AWS

Learn how to:- [Setting up Aws sign up || registration](https://technotaught.com/setting-up-aws-sign-up-registration/)

### For AWS ubuntu setup requires the following steps:

### Step 1: – Launch a virtual machine with EC2

You can launch a Linux instance using the AWS Management Console as described in
the following procedure. From the console dashboard, choose Launch Instance.

![AWS ubuntu setup](https://technotaught.com/wp-content/uploads/2020/03/aws-5.jpg)

### Step 1: – Choose an Amazon Machine Image (AMI)

In AMI page displays a list of basic configurations, called Amazon Machine Images(
AMIs), that serve as templates for your instance. Notice that these AMIs are marked“
Free tier eligible.”

Select Ubuntu Server 18.04 LTS(HVM), SSD, which is the latest Ami from Ubuntu.

![AWS ubuntu setup](https://i1.wp.com/technotaught.com/wp-content/uploads/2020/03/
aws-6.jpg?fit=800%2C427&ssl=1)

### Step 2: – **Choose an Instance Type**

On the Instance Type page, you can select the hardware configuration of your instance.
Select the t2.micro type, which is selected by default which is eligible for the
free tier.

![AWS ubuntu setup](https://technotaught.com/wp-content/uploads/2020/03/image-12.
png)

### Step 3: – **Configure** the Instance Details

Configure the instance, keep default and move to the next step that is Add Storage.

![launch instance](https://technotaught.com/wp-content/uploads/2020/03/image-13.
png)

### Step 4: – **Add Storage**

By default, EC2 comes with an 8 GiB disk size. You can add storage to Virtual Machine,
30 GB SSD max to free tier and move to the next step that is Add tags.

You should mark on ‘Delete On Termination’ always. This way it will be ensured that
this volume would be deleted once the server is deleted.

![storage ](https://i1.wp.com/technotaught.com/wp-content/uploads/2020/03/aws.jpg?
fit=800%2C427&ssl=1)

###  Step 5: – **Add **Tags

Click on Add Tag and give a good name to the server. A good policy is to use the
final domain name that you’re going to assign to the server and move to the next
step that is Configure Security Group.

![AWS ubuntu setup](https://technotaught.com/wp-content/uploads/2020/03/aws1.jpg)

![tags](https://technotaught.com/wp-content/uploads/2020/03/aws1-1.jpg)

### Step 6: – Configure Security Group

Create a new security group, specify name and description of a group, select type
of traffic to allow and way of accessing VM

![AWS ubuntu setup](https://i2.wp.com/technotaught.com/wp-content/uploads/2020/03/
aws.png?fit=800%2C424&ssl=1)

###  Step 7: – Review Instance Launch

Preview the details if everything is in order in previous steps and launch instance.
A pop up will appear which will give you an option of either using existing Key 
Pair or create a new Key Pair.

![AWS ubuntu setup](https://technotaught.com/wp-content/uploads/2020/03/aws1-2.jpg)

 A pop up will appear which will give you an option of either using** existing Key
Pair** or **create a new Key Pair**.

Select Choose an **existing key pair**, then select the key pair that you created
when getting set up.

Alternatively, you can **create a new key pair**. Select Create a new key pair, 
enter a name for the key pair, and then choose Download Key Pair.

“This is the only chance for you to save the private key file, so be sure to download
it. Save the private key file in a safe place. You’ll need to provide the name of
your key pair when you launch an instance and the corresponding private key each
time you connect to the instance.”

> Don’t select the **Proceed without a key pair** option. If you launch your instance
> without a key pair, then you can’t connect to it.

![AWS ubuntu setup](https://technotaught.com/wp-content/uploads/2020/03/aws-1.jpg)

![AWS ubuntu setup](https://technotaught.com/wp-content/uploads/2020/03/aws-2.jpg)

### Step 8: – Launch Status

A confirmation page lets you know that your instance is launching. Choose **View
Instances** to close the confirmation page and return to the console.

![AWS ubuntu setup](https://i0.wp.com/technotaught.com/wp-content/uploads/2020/03/
aws-3.jpg?fit=800%2C427&ssl=1)

On the Instances screen, you can view the status of the launch. It takes a short
time for an instance to launch.

When you launch an instance, its initial state is **pending**. After the instance
starts, its state changes to **running** and it receives a public DNS name.

![ec2 instance](https://technotaught.com/wp-content/uploads/2020/03/aws-4.jpg)

Now your instance is ready you can Add, update, delete in this instance.

Learn:- [How to connect ec2 instance using putty](https://technotaught.com/connect-ec2-instance-using-putty/)

Let us know in the comment section if you have any problem related to AWS ubuntu
setup

### Share this:

 * [  X ](https://technotaught.com/aws-ubuntu-setup-launch-an-aws-ec2-server/?share=twitter)
 * [  Facebook ](https://technotaught.com/aws-ubuntu-setup-launch-an-aws-ec2-server/?share=facebook)
 * [More](https://technotaught.com/aws-ubuntu-setup-launch-an-aws-ec2-server/#)

 * [  WhatsApp ](https://technotaught.com/aws-ubuntu-setup-launch-an-aws-ec2-server/?share=jetpack-whatsapp)
 * [  LinkedIn ](https://technotaught.com/aws-ubuntu-setup-launch-an-aws-ec2-server/?share=linkedin)
 * [  Email ](https://technotaught.com/aws-ubuntu-setup-launch-an-aws-ec2-server/?subject=%5BShared%20Post%5D%20AWS%20ubuntu%20setup%20%7C%7C%20launch%20an%20AWS%20EC2%20Server&body=https%3A%2F%2Ftechnotaught.com%2Faws-ubuntu-setup-launch-an-aws-ec2-server%2F&share=email)
 * [  Reddit ](https://technotaught.com/aws-ubuntu-setup-launch-an-aws-ec2-server/?share=reddit)
 * [  Tumblr ](https://technotaught.com/aws-ubuntu-setup-launch-an-aws-ec2-server/?share=tumblr)
 * [  Pinterest ](https://technotaught.com/aws-ubuntu-setup-launch-an-aws-ec2-server/?share=pinterest)
 * [  Telegram ](https://technotaught.com/aws-ubuntu-setup-launch-an-aws-ec2-server/?share=telegram)
 * [  Print ](https://technotaught.com/aws-ubuntu-setup-launch-an-aws-ec2-server/#print?share=print)

### _Related_
