1 00:00:00,750 --> 00:00:01,320 Hello. 2 00:00:01,320 --> 00:00:02,220 Hello, everyone. 3 00:00:02,340 --> 00:00:08,039 In this demo, I'm going to show you how to create Rain nine or Rocky nine Linux in Microsoft Azure. 4 00:00:08,780 --> 00:00:12,920 As you can see here on the screen, this is the website of Microsoft Azure. 5 00:00:13,940 --> 00:00:17,390 Microsoft Azure often referred to as Azure. 6 00:00:17,600 --> 00:00:23,990 It's a cloud computing service operated by Microsoft for application management via Microsoft Managed 7 00:00:23,990 --> 00:00:25,250 Data Centers. 8 00:00:25,670 --> 00:00:31,580 There are more than 200 products and cloud services in the Azure Cloud platform. 9 00:00:31,730 --> 00:00:36,740 As you can see here, you can try the Azure for free and you can create an account. 10 00:00:36,740 --> 00:00:42,380 So you can click here, create a free account, and you can see here all the services. 11 00:00:42,380 --> 00:00:49,670 You can get more information about the Azure cloud services and they will give you $200 Azure credit 12 00:00:49,670 --> 00:00:51,140 to use their services. 13 00:00:51,170 --> 00:00:55,760 I already created an account and I logged in to the Azure portal. 14 00:00:55,760 --> 00:00:58,500 So this is what we called Azure Portal. 15 00:00:58,520 --> 00:01:01,220 So first thing we need to create a resource group. 16 00:01:01,220 --> 00:01:08,640 If you cannot find it over here so you can search here, so resource groups, you hit there and then 17 00:01:08,640 --> 00:01:14,810 after that you click on Create and I'm going to call this one C. 18 00:01:14,910 --> 00:01:21,990 S A, So the subscription will will be pay as you go and the region will be East us. 19 00:01:21,990 --> 00:01:23,580 So review and create. 20 00:01:23,730 --> 00:01:25,410 Then you're going to hit create. 21 00:01:25,530 --> 00:01:32,850 So next step, after we created the resource group, I'm going to go back to the home page, look for 22 00:01:32,850 --> 00:01:35,580 the virtual machines if you cannot find it here. 23 00:01:35,580 --> 00:01:40,200 So you can search also here, virtual machines, click on this. 24 00:01:40,620 --> 00:01:43,230 Then you're going to click here Create. 25 00:01:43,230 --> 00:01:45,660 And the first one, Azure Virtual Machine. 26 00:01:45,660 --> 00:01:49,530 So create a virtual machine hosted by Azure. 27 00:01:49,560 --> 00:01:50,490 Click there. 28 00:01:51,690 --> 00:01:57,660 Okay, So you will see this page and the subscription will be pay as you go. 29 00:01:57,690 --> 00:02:09,210 The resource group will be Rhcsa and I'm going to call this one rail nine region will be availability 30 00:02:09,210 --> 00:02:10,020 option. 31 00:02:10,139 --> 00:02:11,460 I'm not going to change anything there. 32 00:02:11,460 --> 00:02:13,650 So security type will be standard. 33 00:02:13,680 --> 00:02:15,390 Then here is the most important thing. 34 00:02:15,390 --> 00:02:16,350 So here is the image. 35 00:02:16,350 --> 00:02:18,900 So you can see all the images. 36 00:02:19,320 --> 00:02:28,770 You can search for Red Hat, then hit enter and you can see here all the images. 37 00:02:28,770 --> 00:02:30,330 So I'm going to choose this one. 38 00:02:30,330 --> 00:02:34,170 So Red Hat Enterprise Linux, and I'm going to click here select. 39 00:02:34,170 --> 00:02:40,170 And as you can see here, there are many types or many operating system version. 40 00:02:40,170 --> 00:02:42,180 So you can choose whatever you like. 41 00:02:42,180 --> 00:02:46,380 So 7 or 8 or nine for our demo, I'm going to choose this one. 42 00:02:46,380 --> 00:02:49,560 So Red Hat Enterprise Linux nine. 43 00:02:49,560 --> 00:02:51,300 So I'm going to click this one. 44 00:02:52,320 --> 00:02:58,710 Okay, So next the VM architecture will be 64 and the size. 45 00:02:58,710 --> 00:03:06,570 So also this is an important also you need to see all the sizes and then when you go over here, you 46 00:03:06,570 --> 00:03:09,420 can sort them by cost and month. 47 00:03:09,420 --> 00:03:12,420 You click here and you need to choose. 48 00:03:12,600 --> 00:03:19,950 For me, I like to go with the B2S, so the RAM will be four gig and the CPU two. 49 00:03:19,980 --> 00:03:21,540 That's not too bad. 50 00:03:21,540 --> 00:03:23,220 So I'm going to choose this one. 51 00:03:23,220 --> 00:03:24,660 So this is the cost. 52 00:03:25,020 --> 00:03:29,910 And then select then here the authentication type. 53 00:03:29,910 --> 00:03:31,320 I'm going to go with the password. 54 00:03:31,320 --> 00:03:33,930 So I'm going to create my username will be student. 55 00:03:34,710 --> 00:03:37,080 Then I'm going to type my password. 56 00:03:39,210 --> 00:03:41,970 So you need to create a username and password here. 57 00:03:42,790 --> 00:03:44,550 You type the password again. 58 00:03:47,040 --> 00:03:48,150 Okay, good. 59 00:03:48,180 --> 00:03:51,300 So yeah, public inbound ports here. 60 00:03:51,300 --> 00:03:58,290 We need to allow it so the inbound ports will be SSH 22 then next disk. 61 00:03:58,290 --> 00:04:06,240 So the disk, I'm going to choose the standard HDD and if you go down here, you can create and attach 62 00:04:06,270 --> 00:04:07,050 a new disk. 63 00:04:07,050 --> 00:04:12,840 We will need like you can add it right now or later on in the later session when we're going to do the 64 00:04:12,840 --> 00:04:17,310 partitioning so you can create and attach a new disk here. 65 00:04:17,730 --> 00:04:22,350 Then the networking, you click here and I see here the public IP. 66 00:04:22,620 --> 00:04:29,940 So we need a public IP in order to switch from the local machine to the virtual machine and Azure and 67 00:04:29,940 --> 00:04:31,680 everything looks fine here. 68 00:04:31,860 --> 00:04:34,440 We'll go to the next here. 69 00:04:34,770 --> 00:04:44,580 I'm not going to do anything here next, next, next, then next review and create and I'm going to 70 00:04:44,580 --> 00:04:45,960 click create here. 71 00:04:46,200 --> 00:04:49,890 So we created the new virtual machine, the Rain nine. 72 00:04:49,890 --> 00:04:54,300 So I'm going to so it will take maybe a couple of minutes to create the image. 73 00:04:54,300 --> 00:04:56,040 So I'm going to go back to the home. 74 00:04:56,670 --> 00:05:01,110 I click on Virtual Machine here and click Create. 75 00:05:01,110 --> 00:05:04,170 I'm going to create the second virtual machine. 76 00:05:04,170 --> 00:05:07,500 So the resource group will be the same our CSR. 77 00:05:08,500 --> 00:05:16,690 And I'm going to call this one Rocky nine region will be availability option. 78 00:05:17,620 --> 00:05:23,650 I'm going to leave the default here, security type standard so you can see all the images for me. 79 00:05:23,650 --> 00:05:28,990 I already have the image that I found so Rocky Linux nine. 80 00:05:29,230 --> 00:05:32,050 So you can search also for different images here. 81 00:05:32,050 --> 00:05:33,100 If you would like. 82 00:05:33,130 --> 00:05:38,440 The VM architecture here will be 64 and see all the sizes. 83 00:05:38,440 --> 00:05:44,410 So I'm going to go here and sort by constant month, I'm going to click here. 84 00:05:44,410 --> 00:05:46,900 So I believe I'm going to go with this one. 85 00:05:47,230 --> 00:05:50,410 B two is this one. 86 00:05:50,410 --> 00:05:54,460 So I'm going to have four GB RAM and two CPU also the same thing. 87 00:05:54,460 --> 00:05:56,260 So I'm going to click next. 88 00:05:56,800 --> 00:06:00,100 And for the password, we'll do the same thing here. 89 00:06:00,100 --> 00:06:06,670 So student then I'm going to type a new password here. 90 00:06:08,200 --> 00:06:13,870 Good. 91 00:06:13,870 --> 00:06:16,230 Okay, next. 92 00:06:16,240 --> 00:06:18,160 So the same thing here for the disk. 93 00:06:18,160 --> 00:06:20,140 So I'm going to go with the standard one. 94 00:06:20,260 --> 00:06:24,940 And as I said, you can create and attach the disk to this virtual machine. 95 00:06:24,940 --> 00:06:30,460 So I'm going to go to the networking, make sure that you have public IP in order to access it from 96 00:06:30,470 --> 00:06:34,420 the local machine to the virtual machine in Azure. 97 00:06:34,540 --> 00:06:38,320 So everything looks fine here. 98 00:06:38,350 --> 00:06:40,540 Okay, hit next. 99 00:06:41,020 --> 00:06:42,290 I'm not going to do anything here. 100 00:06:42,310 --> 00:06:44,770 Next, next, next. 101 00:06:45,040 --> 00:06:46,990 Review and create. 102 00:06:47,110 --> 00:06:51,190 So then I'm going to click on Create here. 103 00:06:51,250 --> 00:06:55,390 It will probably it will take a couple of minutes to create the virtual machine. 104 00:06:55,390 --> 00:06:58,030 So I'm going to go back to the home here. 105 00:06:58,210 --> 00:07:06,100 You can click on the virtual machines here and you will see this is the the image that we just created. 106 00:07:06,130 --> 00:07:12,890 So you click on it and as you can see over here, so here is the public IP address. 107 00:07:12,890 --> 00:07:17,540 So I'm going to copy this one and I'm going to go to the terminal. 108 00:07:17,540 --> 00:07:18,800 So you have to open a terminal. 109 00:07:18,800 --> 00:07:24,710 So if you have Mac, you can search for the terminal and you open the terminal and if you have windows, 110 00:07:24,710 --> 00:07:30,740 you can use the PowerShell to SSH from your local machine to the virtual machine in Azure. 111 00:07:30,740 --> 00:07:36,230 So I'm going to type SSH the name of the username there. 112 00:07:36,260 --> 00:07:40,490 Student at and I'm going to hit enter. 113 00:07:40,490 --> 00:07:41,300 Yes. 114 00:07:41,300 --> 00:07:44,060 So I'm going to type my password. 115 00:07:51,600 --> 00:07:56,580 And as you can see over here right now, we are inside the virtual machine here. 116 00:07:57,510 --> 00:07:58,080 Okay. 117 00:07:58,080 --> 00:08:03,810 So I'm going to type hostname that CTL and you can see here. 118 00:08:03,810 --> 00:08:05,400 So this is the operating system. 119 00:08:05,400 --> 00:08:10,140 So rel ren nine or the Red Hat Enterprise nine. 120 00:08:10,140 --> 00:08:18,110 And you can also check the slash Etsy slash OS, release that release and you can see over here. 121 00:08:18,120 --> 00:08:24,030 So this is the image that we just created on Microsoft Azure. 122 00:08:24,210 --> 00:08:27,660 I will go back again here, so I'm going to go to the virtual machine. 123 00:08:27,750 --> 00:08:32,669 Hopefully we will get the second image here or the second virtual machine. 124 00:08:32,669 --> 00:08:35,789 Yep, we have the Rocky here, Rocky nine, you click on it. 125 00:08:36,179 --> 00:08:40,830 And so from the overview you will see here is the public IP address. 126 00:08:41,340 --> 00:08:44,250 So I'm going to switch to the Rocky Linux here. 127 00:08:45,110 --> 00:08:51,180 Switch student at then the IP address. 128 00:08:51,180 --> 00:08:54,240 So yes, type the password. 129 00:08:59,040 --> 00:09:03,450 Okay, so we are inside the virtual machine here. 130 00:09:03,450 --> 00:09:07,440 So I'm going to type host name that CTL. 131 00:09:07,440 --> 00:09:17,730 And as you can see here, so Rocky and I can type also cat, cat, slash, Etsy slash OS release, hit 132 00:09:17,730 --> 00:09:18,420 enter. 133 00:09:18,420 --> 00:09:22,620 And as we can see here, this is the Rocky Linux nine. 134 00:09:23,430 --> 00:09:23,910 Okay. 135 00:09:23,910 --> 00:09:24,210 Okay. 136 00:09:24,210 --> 00:09:25,680 So that's concludes our session. 137 00:09:25,680 --> 00:09:27,900 Thank you and see you in the next lesson.