Skip to main content

Simple procedure to install Linux operating system on the AWS

Why Linux?

Linux is everywhere, all the big MNC's used Linux as a server and a lot more and if you want to survive at the IT world you should be good in Linux.

Benefit of using Linux 

  • Highly secure
  • It's free
  • Open source
  • Can be customize

Installing Linux on the AWS cloud

Any cloud services that provide remote services, let us understand remote service by one example.

AWS provides one service called EC2, which provides RAM and CPU to launch operating system and terminal of this OS can be run on our local machine whether the RAM, CPU and Hard disk are somewhere on the data center of Amazon.

Some of the top cloud service providers are - 
  • Amazon (AWS)
  • Microsoft (Azure)
  • Google (GCP)

Steps to install Linux instance

Create an AWS account, some services are free there for one year and after login go to the 'services' section on the top left and click on EC2 service.


image-description


Then select 'launch instances'  and start following the procedure explained below.

image-description

Select the machine image of your choice, for the practical, I am choosing amazon Linux 2AMI.

image-description

The next thing you should do is choose the availability zone in your region, after selecting zone go for giving the hard disk to the instance and finally give the name to the key.

image-description


Finally assigned the default security group and also go for default steps to launch the amazon Linux.

Start the OS

  • Go to the EC2 dashboard
  • Tick on the instance checkbox
  • Click on start instance
image-description

For getting the terminal of the instance we need to do one more thing i.e. click the connect, on-location ec2 > instance > <instanceID>.

image-description


This process will give you an interactive shell of the Amazon Linux OS.

image-description

There are two more ways by which you can install another OS on top of your base OS.
  1. Virtualization
  2. By container technology
Thank you for reading till end.



Comments

Popular posts from this blog

Some Linux basic commands and concepts that every programmer should know

How Linux commands work ? Installation of any operating system consumes some space on the hard disk and obviously, this space is taken by some internal folders and files, this file and folders have all the information about existing software and even ready to adapt information of other folder's that user will install. Every time a programmer type commands behind the system CPU will process or execute the file where the code of that particular command is written. Basic commands firefox cd ls pwd mkdir vi, vim, gedit df -l ps -aux #firefox This command will help to launch the Firefox browser using the command line interface and it can be easily terminated by using the ctrl + c shortcut.  If you use the ctrl + c shortcut the Firefox browser will close or terminate. #cd (change directory)  This command will use for switching to another directory it is the same as opening another folder in windows, mac, or any other  operating  system. #ls 'ls' command will list all the f...