Creating N New Ubuntu AWS EC2 Instance
Creating N New Ubuntu AWS EC2 Instance
Steps
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.
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.