0% found this document useful (0 votes)
14 views6 pages

Creating N New Ubuntu AWS EC2 Instance

This document outlines the steps to create a new Ubuntu AWS EC2 instance, starting from logging into the AWS console to launching the instance. It details the selection of the AMI, instance type, storage, and key pair creation. Finally, it explains how to connect to the instance using SSH through Windows PowerShell.

Uploaded by

faisalrafiq2131
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views6 pages

Creating N New Ubuntu AWS EC2 Instance

This document outlines the steps to create a new Ubuntu AWS EC2 instance, starting from logging into the AWS console to launching the instance. It details the selection of the AMI, instance type, storage, and key pair creation. Finally, it explains how to connect to the instance using SSH through Windows PowerShell.

Uploaded by

faisalrafiq2131
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Creating n new Ubuntu AWS EC2 Instance

Steps

1. Login to the AWS EC2 instance using the URL


https://console.aws.amazon.com/ec2/v2/home and choose your default
region.
2. You can also login to the AWS console and in the services tab select EC2 or simply
search for EC2 in the console.
3. Click on the Launch instances button available at upper right corner.

4. Choose an AMI
5. Scroll down the page and you will get the AMI option as Ubuntu Server 20.04 LTS
(HVM), SSD Volume Type. Select the 64-bit or 32-bit version.
6. On the Choose Instance Type select t2.micro (Free Tier) option and click on Next:
Configure Instances Details.

7. Keep the Configure Instance Details as default and click on Next:Add Storage.

8. Keep the values under the Add Storage option as given below. [Size: 20 Gb,
Volume type: General Purpose SSD (gp2)]
9. Review instance and Launch

10. Once you click Launch, the following menu will appear, Create a new key pair and
give it some name and download the key pair. Then click on Launch Instance [Note:
Move the keypairfile (newkeypair.pem) to desktop to make it easily accessible].
11. Once you have clicked on the Launch Instances, the following menu appears. Click
on the instance identifier as shown below.

12. Next click on Connect option.


13. Once you have clicked the Connect option a new menu appears, select the SSH
client option and note down or copy the last command shown in the menu.

14. Now go to the Windows Main Menu and search for Windows PowerShell. Run the
program as administrator.
15. Navigate to the folder where the newkeypair.pem file is located (i.e., Desktop) You
can navigate to desktop by typing the command cd C:\Users\user\Desktop
16. Copy the command from step number 14 and paste it.
17. You will get connected to your instance provided you have configured your EC2
instance properly! Now you can execute any of the Linux commands on the Ubuntu EC2
instance you have created.

You might also like