Hello.
Hello, everyone.
In this demo, I'm going to show you how to create Rain nine or Rocky nine Linux in Microsoft Azure.
As you can see here on the screen, this is the website of Microsoft Azure.
Microsoft Azure often referred to as Azure.
It's a cloud computing service operated by Microsoft for application management via Microsoft Managed
Data Centers.
There are more than 200 products and cloud services in the Azure Cloud platform.
As you can see here, you can try the Azure for free and you can create an account.
So you can click here, create a free account, and you can see here all the services.
You can get more information about the Azure cloud services and they will give you $200 Azure credit
to use their services.
I already created an account and I logged in to the Azure portal.
So this is what we called Azure Portal.
So first thing we need to create a resource group.
If you cannot find it over here so you can search here, so resource groups, you hit there and then
after that you click on Create and I'm going to call this one C.
S A, So the subscription will will be pay as you go and the region will be East us.
So review and create.
Then you're going to hit create.
So next step, after we created the resource group, I'm going to go back to the home page, look for
the virtual machines if you cannot find it here.
So you can search also here, virtual machines, click on this.
Then you're going to click here Create.
And the first one, Azure Virtual Machine.
So create a virtual machine hosted by Azure.
Click there.
Okay, So you will see this page and the subscription will be pay as you go.
The resource group will be Rhcsa and I'm going to call this one rail nine region will be availability
option.
I'm not going to change anything there.
So security type will be standard.
Then here is the most important thing.
So here is the image.
So you can see all the images.
You can search for Red Hat, then hit enter and you can see here all the images.
So I'm going to choose this one.
So Red Hat Enterprise Linux, and I'm going to click here select.
And as you can see here, there are many types or many operating system version.
So you can choose whatever you like.
So 7 or 8 or nine for our demo, I'm going to choose this one.
So Red Hat Enterprise Linux nine.
So I'm going to click this one.
Okay, So next the VM architecture will be 64 and the size.
So also this is an important also you need to see all the sizes and then when you go over here, you
can sort them by cost and month.
You click here and you need to choose.
For me, I like to go with the B2S, so the RAM will be four gig and the CPU two.
That's not too bad.
So I'm going to choose this one.
So this is the cost.
And then select then here the authentication type.
I'm going to go with the password.
So I'm going to create my username will be student.
Then I'm going to type my password.
So you need to create a username and password here.
You type the password again.
Okay, good.
So yeah, public inbound ports here.
We need to allow it so the inbound ports will be SSH 22 then next disk.
So the disk, I'm going to choose the standard HDD and if you go down here, you can create and attach
a new disk.
We will need like you can add it right now or later on in the later session when we're going to do the
partitioning so you can create and attach a new disk here.
Then the networking, you click here and I see here the public IP.
So we need a public IP in order to switch from the local machine to the virtual machine and Azure and
everything looks fine here.
We'll go to the next here.
I'm not going to do anything here next, next, next, then next review and create and I'm going to
click create here.
So we created the new virtual machine, the Rain nine.
So I'm going to so it will take maybe a couple of minutes to create the image.
So I'm going to go back to the home.
I click on Virtual Machine here and click Create.
I'm going to create the second virtual machine.
So the resource group will be the same our CSR.
And I'm going to call this one Rocky nine region will be availability option.
I'm going to leave the default here, security type standard so you can see all the images for me.
I already have the image that I found so Rocky Linux nine.
So you can search also for different images here.
If you would like.
The VM architecture here will be 64 and see all the sizes.
So I'm going to go here and sort by constant month, I'm going to click here.
So I believe I'm going to go with this one.
B two is this one.
So I'm going to have four GB RAM and two CPU also the same thing.
So I'm going to click next.
And for the password, we'll do the same thing here.
So student then I'm going to type a new password here.
Good.
Okay, next.
So the same thing here for the disk.
So I'm going to go with the standard one.
And as I said, you can create and attach the disk to this virtual machine.
So I'm going to go to the networking, make sure that you have public IP in order to access it from
the local machine to the virtual machine in Azure.
So everything looks fine here.
Okay, hit next.
I'm not going to do anything here.
Next, next, next.
Review and create.
So then I'm going to click on Create here.
It will probably it will take a couple of minutes to create the virtual machine.
So I'm going to go back to the home here.
You can click on the virtual machines here and you will see this is the the image that we just created.
So you click on it and as you can see over here, so here is the public IP address.
So I'm going to copy this one and I'm going to go to the terminal.
So you have to open a terminal.
So if you have Mac, you can search for the terminal and you open the terminal and if you have windows,
you can use the PowerShell to SSH from your local machine to the virtual machine in Azure.
So I'm going to type SSH the name of the username there.
Student at and I'm going to hit enter.
Yes.
So I'm going to type my password.
And as you can see over here right now, we are inside the virtual machine here.
Okay.
So I'm going to type hostname that CTL and you can see here.
So this is the operating system.
So rel ren nine or the Red Hat Enterprise nine.
And you can also check the slash Etsy slash OS, release that release and you can see over here.
So this is the image that we just created on Microsoft Azure.
I will go back again here, so I'm going to go to the virtual machine.
Hopefully we will get the second image here or the second virtual machine.
Yep, we have the Rocky here, Rocky nine, you click on it.
And so from the overview you will see here is the public IP address.
So I'm going to switch to the Rocky Linux here.
Switch student at then the IP address.
So yes, type the password.
Okay, so we are inside the virtual machine here.
So I'm going to type host name that CTL.
And as you can see here, so Rocky and I can type also cat, cat, slash, Etsy slash OS release, hit
enter.
And as we can see here, this is the Rocky Linux nine.
Okay.
So that's concludes our session.
Thank you and see you in the next lesson.