In this video, we will learn how to install Linux operating system on a cloud platform.
This is the option two of our lab design.
Now please note if you are going with option one in which you will, you have installed the virtualization
software on your own computer and in creating a virtual machine, then simply skip this entire video.
This video is for those who want to create a Linux virtual machine on a cloud platform.
All right.
So let's see how it's going to work.
So here we have our computer running Windows or Mac.
Now on that computer, we will go to our Web browser and we will access one of the cloud platforms and
those cloud services, for example, AWS, Google Cloud, or many other clouds that are available to
you.
And of course, you need to make sure those are free.
And if you're using for corporate world, then you can pay for it and get a Google Cloud account.
All right.
Once we have the account, then we'll create a virtual machine and install Linux operating system with
the cloud.
More specifically with AWS, the creating a virtual machine and installing the Linux, this is all bundled
up as one step because you could pick a virtual machine with the Linux operating system and it will
create it for you.
All right.
I could give you a quick demo of how you create or how you can install the Linux on AWS.
And then I'm sure you will have a good idea and then you could take it from there.
So go to your web browser of your choice.
I'm going to use Firefox and simply go with a free account.
That's what you have to type a free account.
All right.
When you come here, you could go to the one that says Free Cloud Computing Services right here and
it says a free tier.
I'll click on that.
All right.
So right here it says free tier gained free hands on experience with platform products and services.
All right.
It tells you the information about the type of offers free trial, what it includes.
It has 750 hours that you could use.
So now, remember, you could keep your machine running for 750 hours in a month.
If you are running two virtual machines, combining that should not exceed to 750.
If it if it is going to exceed, then Amazon is going to charge you.
So just be very careful.
And one more thing I got to tell you, when you are creating this free account, you will need a credit
card to create a free account and use their virtual computer.
So if you do not have a credit card, then you can stop right there and go with option one that I've
discussed earlier.
All right.
For creating an account right here before we creating account, this the compute that tells you the
number of hours this is the storage how much storage we have.
We are only given 30 gig of storage, nothing more.
If you go with even one gig, more than that, you will be charged.
So just be very careful.
All right.
So when you need to create an account, you will just have to go through, create a root user email
that your main user email that you could use.
This is the database account name.
Any account name that you could pick that is not taken.
Of course, I have already created my account to save some time, so I'm going to go and click here
and here is my email and.
Here is a password that I have saved earlier.
Okay.
So once you create your account, you will get into the ACTU, which stands for Elastic Cloud Compute.
So in short, ACTU, so you have to go to EC two.
And here is what the H2 dashboard looks like.
All right.
So your region pick a region where it's closest to you depending on your region.
I'm closest to the east side.
I mean, New York.
So it's U.S. East Ohio side.
I could pick this one or that one.
It doesn't really matter.
All right.
So let's go back.
So this is the this is the username that we created earlier.
All right.
So once you come to this dashboard, then you come here and say, right here, launch instance.
Click on launch instance.
Okay.
This is the name of your instance.
So you could put in my Linux.
Sorry.
You could pick, I think the lowercase in this case.
My.
Let's try the uppercase lowercase.
Let's see what happens.
I don't think there should be a problem.
My Linux VM.
Okay, so once you come down, it says search.
A browse more.
Amis amis are like a combined virtual machine container with the operating system pre-built for you.
So if you pick if you go through the list, you're not going to find Santos.
So Santos and red hot is the same.
So you could go with red hot.
So you pick the red hat description.
64 bit, Ahmed.
Leave that default.
You're going to be picking T2 Micro, which is free tier eligible.
Leave that default.
It will give you one CPU, one gig of memory.
And we discussed already earlier 30 gig of disk space.
You could have no more than that.
Keep here so you have to type it in a key pair I typed in earlier when I was creating my first virtual
machine and it is right here.
You could pick your own key pair, pick any name that you would remember, and then you will have to
click on Create a new key pair.
Once it's generated, then you could download that key pair and attach that key player to your putty
session.
And putty session would allow you to connect to your Amazon virtual machine.
All right.
Once that is done, then leave everything default.
Firewall.
Allow SSH traffic from anywhere you can pick depending on your requirement.
Leave for default storage.
You could pick ten gig, 20 gig, 30 gig, whichever you like.
I would say go with 20 gig.
But again, free tier eligible customer can get up to 30 gig.
If you put pick 35, it's not going to stop you, but it will charge your credit card.
So just be very, very careful.
All right.
So then you simply go and pick everything and click on Launch Instant.
It will launch the instant which will have your preconfigured or pre-built operating Linux operating
system built in.
And then you could access it from your computer or anywhere because we said allow as a search traffic
from anywhere.
If you want to learn more about how to create from this point on, what are the details, I'm sure you're
going to find a lot of a lot of tutorial online that will help you create a Linux virtual machine on
AWS.
All right.
So that's pretty much it.
I'm sure you got a pretty good grip on how to create a virtual machine running Linux on cloud platform.