1 00:00:00,940 --> 00:00:07,840 In this video, we are going to talk about how we are going to design and set up our lab. 2 00:00:08,170 --> 00:00:11,740 So let's talk about designing our lab first. 3 00:00:11,980 --> 00:00:19,780 So if you are in corporate world, are you're working for any company, for example, ABC or XYZ company, 4 00:00:19,780 --> 00:00:24,370 and you want to go through the automation through Ansible. 5 00:00:24,790 --> 00:00:35,110 Then most likely you do have access to a server or a computer and it has Linux operating system running 6 00:00:35,110 --> 00:00:35,590 on it. 7 00:00:36,100 --> 00:00:44,770 All you have to do is install Ansible and then you also have other Linux servers or Windows Server for 8 00:00:44,800 --> 00:00:52,210 that matter that you want to control and automate tasks onto those servers. 9 00:00:52,210 --> 00:01:01,720 So you basically send the commands, the automation commands from Ansible to those clients, and that's 10 00:01:01,720 --> 00:01:04,600 how it will work in a corporate world. 11 00:01:04,930 --> 00:01:11,260 Now what if you have a home environment, in home environment or in your lab environment? 12 00:01:11,260 --> 00:01:13,870 I would say you would have to find a computer. 13 00:01:13,990 --> 00:01:16,720 A computer could be either desktop or laptop. 14 00:01:17,530 --> 00:01:26,710 It has to have a Linux operating system running on it and we will install Ansible on top of the Linux 15 00:01:26,710 --> 00:01:27,700 operating system. 16 00:01:28,120 --> 00:01:34,520 By the way, if you do not have a Linux operating system directly running on that computer, it's fine. 17 00:01:34,540 --> 00:01:39,670 I will show you in the next slide how are we going to go about installing Linux? 18 00:01:40,300 --> 00:01:47,050 Then we have to make sure that computer, that Linux machine has required package, which is Python 19 00:01:47,050 --> 00:01:47,630 three. 20 00:01:47,650 --> 00:01:49,510 Again, we'll talk about that later. 21 00:01:50,080 --> 00:01:58,540 If that computer is running windows or the virtual machine that we will be setting up on top of this 22 00:01:58,540 --> 00:02:07,270 computer, if it has a windows running, then please note that ansible node or Ansible engine cannot 23 00:02:07,270 --> 00:02:10,420 be installed on Windows Server. 24 00:02:10,510 --> 00:02:17,350 All right, so once we have that Linux machine, then we installed Ansible and then we could execute 25 00:02:17,350 --> 00:02:19,390 all the commands to our remote clients. 26 00:02:19,510 --> 00:02:22,870 Moving on to the detailed design of our lab. 27 00:02:22,870 --> 00:02:25,000 So we have two options here. 28 00:02:25,090 --> 00:02:31,120 Option number one, we have to find a computer, a desktop or laptop. 29 00:02:31,360 --> 00:02:40,180 And let's say if your laptop is running Mac OS or if it's running windows, that's perfectly fine. 30 00:02:40,180 --> 00:02:47,950 All you have to make sure that it has Intel, Vertex or AMD 64 bit CPU. 31 00:02:48,550 --> 00:02:54,370 The operating system which is running on your computer has to be a 64 bit operating system. 32 00:02:54,640 --> 00:02:59,950 The computer has to have a eight gig, minimum eight gig of RAM, which is the memory. 33 00:03:00,100 --> 00:03:03,820 It has to have 40 to 60 gig of free disk space. 34 00:03:04,810 --> 00:03:07,330 Once you have that, that's the minimum requirement. 35 00:03:07,330 --> 00:03:13,180 Then what we will do, we will install and virtualization software on top of that. 36 00:03:14,110 --> 00:03:20,320 On that operating system, that virtualization software could either be Oracle VirtualBox or it could 37 00:03:20,320 --> 00:03:22,120 be VMware Workstation Player. 38 00:03:23,020 --> 00:03:29,410 Then we will create a virtual machine, a very first virtual machine on that virtualization software, 39 00:03:29,410 --> 00:03:32,710 and then we will install Linux operating system. 40 00:03:32,710 --> 00:03:37,960 That Linux operating system could either be Santas or Red Hat or a Bun two. 41 00:03:38,860 --> 00:03:43,390 Ansible can be installed and can be run on any of these operating systems. 42 00:03:43,840 --> 00:03:50,890 We will install operating Ansible Engine or Ansible software on these operating system. 43 00:03:50,890 --> 00:03:55,990 And that virtual machine or that virtual computer will become our control node. 44 00:03:56,260 --> 00:04:03,100 Any ansible engine which controls the remote clients or other clients is known as a control node. 45 00:04:03,460 --> 00:04:11,380 Then we will create another virtual machine that would have either Linux or Windows, whichever computer 46 00:04:11,380 --> 00:04:12,870 that you want to control. 47 00:04:12,880 --> 00:04:20,860 So in our lab design or in this course, we will create one extra virtual machine which we will control 48 00:04:20,860 --> 00:04:22,210 through a control node. 49 00:04:22,720 --> 00:04:30,340 If you have enough resources, then I would say aside from client, one will create another client a 50 00:04:30,340 --> 00:04:35,320 VM three running Linux as well and we will call it client two. 51 00:04:35,530 --> 00:04:38,170 Now this is our option one. 52 00:04:38,560 --> 00:04:40,150 What's the second option? 53 00:04:40,540 --> 00:04:48,940 The second option is if you do not have the required resources or computer or a desktop in your home, 54 00:04:48,940 --> 00:04:55,840 then you could actually utilize one of those cloud services such as AWS, Google Cloud. 55 00:04:56,110 --> 00:05:00,010 Microsoft Azure create an account and most of. 56 00:05:00,100 --> 00:05:07,450 These cloud services gives you free account and free access to create virtual machines. 57 00:05:08,500 --> 00:05:14,530 In this example or in this option, you will create a VM one and then you will install Linux operating 58 00:05:14,530 --> 00:05:15,300 system on it. 59 00:05:15,310 --> 00:05:18,460 Again, it could be either Santos, RedHat or Ubuntu. 60 00:05:18,640 --> 00:05:24,330 Then we will install Ansible on it and that becomes a control node. 61 00:05:24,340 --> 00:05:31,990 Then we'll create VM two as our remote client, which we will be running or executing our commands through 62 00:05:31,990 --> 00:05:34,400 control node in that VM too. 63 00:05:34,420 --> 00:05:36,460 Of course we will install the Linux. 64 00:05:36,730 --> 00:05:37,570 Same thing. 65 00:05:37,570 --> 00:05:40,120 This is going to be cloud client one. 66 00:05:40,150 --> 00:05:43,810 Same thing with VM three Linux and that becomes client two. 67 00:05:44,710 --> 00:05:46,960 So that's our option too. 68 00:05:47,230 --> 00:05:55,330 But in this entire course, we will go through option one and by the way, the VM one, that's where 69 00:05:55,330 --> 00:05:57,940 we will install the Linux operating system. 70 00:05:58,030 --> 00:06:05,470 And this entire course we will go through the sentence or send OS operating system installation and 71 00:06:05,470 --> 00:06:10,670 and we will set our control node on that operating system and install the Ansible on it.