1 00:00:00,230 --> 00:00:02,300 Workflow Orchestration. 2 00:00:02,300 --> 00:00:03,280 In this lesson, 3 00:00:03,280 --> 00:00:05,710 we're going to start talking about orchestration, 4 00:00:05,710 --> 00:00:07,760 because orchestration is the automation 5 00:00:07,760 --> 00:00:10,760 of multiple steps in a deployment process. 6 00:00:10,760 --> 00:00:12,490 Now, when you take a process, 7 00:00:12,490 --> 00:00:15,040 you have to first break it down into its component parts. 8 00:00:15,040 --> 00:00:17,660 You need to understand what that workflow looks like. 9 00:00:17,660 --> 00:00:18,980 So, if I start at the green dot 10 00:00:18,980 --> 00:00:20,560 and I want to get to the red dot, 11 00:00:20,560 --> 00:00:22,330 what things do I do to get there? 12 00:00:22,330 --> 00:00:24,880 What are those if and then and else statements? 13 00:00:24,880 --> 00:00:26,810 What are the different actions they go through? 14 00:00:26,810 --> 00:00:27,950 Let's take an example. 15 00:00:27,950 --> 00:00:29,300 Let's say you wanted to orchestrate 16 00:00:29,300 --> 00:00:32,470 adding a new virtual machine to a load balance cluster. 17 00:00:32,470 --> 00:00:35,180 Now, this process might include lots of different things. 18 00:00:35,180 --> 00:00:36,810 You're going to have to provision the VM. 19 00:00:36,810 --> 00:00:38,210 You have to configure the VM. 20 00:00:38,210 --> 00:00:40,050 You have to add it to the load balance cluster, 21 00:00:40,050 --> 00:00:41,170 and you need to configure 22 00:00:41,170 --> 00:00:43,120 that load balance cluster weight distribution 23 00:00:43,120 --> 00:00:44,570 to consider the fact that you added 24 00:00:44,570 --> 00:00:47,100 this new virtual machine as part of that cluster. 25 00:00:47,100 --> 00:00:49,840 When you do all these things, there might be four, five, 26 00:00:49,840 --> 00:00:53,080 10, 15, 20 steps, maybe 100 steps. 27 00:00:53,080 --> 00:00:55,240 But you can do all of this through orchestration, 28 00:00:55,240 --> 00:00:56,830 and then you can automate it 29 00:00:56,830 --> 00:00:58,050 so you can run those things 30 00:00:58,050 --> 00:01:00,660 without having to do each of those steps yourself. 31 00:01:00,660 --> 00:01:02,340 Now, when you talk about orchestration, 32 00:01:02,340 --> 00:01:03,980 I want you to think about it this way. 33 00:01:03,980 --> 00:01:07,520 Orchestration is the automation of automations. 34 00:01:07,520 --> 00:01:09,000 Now, what does that mean? 35 00:01:09,000 --> 00:01:10,160 Well, each of those blocks 36 00:01:10,160 --> 00:01:11,930 in that flowchart I just showed you 37 00:01:11,930 --> 00:01:13,480 could be its own step, 38 00:01:13,480 --> 00:01:17,630 and that step may be one action, or it could be 50 actions. 39 00:01:17,630 --> 00:01:20,340 For instance, I have a flowchart and a path 40 00:01:20,340 --> 00:01:22,420 that talks about when you buy a course, 41 00:01:22,420 --> 00:01:24,850 everything that happens from the time you buy the course 42 00:01:24,850 --> 00:01:26,490 to the time you start taking the course. 43 00:01:26,490 --> 00:01:28,280 And there's a lot of things that happen 44 00:01:28,280 --> 00:01:30,030 because we have to create an account for you. 45 00:01:30,030 --> 00:01:31,410 We have to reset your password. 46 00:01:31,410 --> 00:01:33,200 We need to add the course to your account. 47 00:01:33,200 --> 00:01:34,670 There's all these different steps. 48 00:01:34,670 --> 00:01:37,060 And so each of those isn't just one step, either. 49 00:01:37,060 --> 00:01:39,610 Some of those have multiple actions inside of it. 50 00:01:39,610 --> 00:01:40,980 For instance, when you buy the course, 51 00:01:40,980 --> 00:01:42,400 we have to send you a receipt. 52 00:01:42,400 --> 00:01:44,900 We have to log that inside of our purchase system. 53 00:01:44,900 --> 00:01:45,970 We have to make sure we accounted 54 00:01:45,970 --> 00:01:47,770 for the taxes that we have to pay on that. 55 00:01:47,770 --> 00:01:48,740 We have to account for the fact 56 00:01:48,740 --> 00:01:49,800 that we need to create an account for that, 57 00:01:49,800 --> 00:01:51,250 and all those different things. 58 00:01:51,250 --> 00:01:53,090 And so, if we can think logically about, 59 00:01:53,090 --> 00:01:54,630 what is the sequence, 60 00:01:54,630 --> 00:01:56,460 then we can automate that sequence. 61 00:01:56,460 --> 00:01:58,140 And if we take lots of different sequences 62 00:01:58,140 --> 00:02:00,440 and put them all together in one big automation, 63 00:02:00,440 --> 00:02:02,570 that is the orchestration piece. 64 00:02:02,570 --> 00:02:04,620 Now, when we talk about cloud computing, 65 00:02:04,620 --> 00:02:06,520 one of the biggest benefits in cloud computing 66 00:02:06,520 --> 00:02:08,180 is rapid elasticity. 67 00:02:08,180 --> 00:02:09,220 When you go to my website, 68 00:02:09,220 --> 00:02:10,910 if there's one person going to my website, 69 00:02:10,910 --> 00:02:12,590 we have one cloud server up. 70 00:02:12,590 --> 00:02:14,980 If we have 10 people, we might have two cloud servers up. 71 00:02:14,980 --> 00:02:16,150 If we have a 100 people, 72 00:02:16,150 --> 00:02:18,220 we might have five cloud servers up. 73 00:02:18,220 --> 00:02:20,561 If we have 100,000 people, we might have, 74 00:02:20,561 --> 00:02:22,980 I don't know, 1,000 or 2,000 servers up. 75 00:02:22,980 --> 00:02:25,210 And what happens is this rapid elasticity. 76 00:02:25,210 --> 00:02:26,780 It does this all on its own. 77 00:02:26,780 --> 00:02:28,740 It rapidly adds new servers 78 00:02:28,740 --> 00:02:30,470 as the configurations configures them, 79 00:02:30,470 --> 00:02:32,900 copies the data, and then puts them into the cloud, 80 00:02:32,900 --> 00:02:35,550 as well, as part of our load balance cluster. 81 00:02:35,550 --> 00:02:37,990 All that happens with automation, 82 00:02:37,990 --> 00:02:38,850 and this all happens 83 00:02:38,850 --> 00:02:41,010 because of the orchestration we've created. 84 00:02:41,010 --> 00:02:43,020 Now, when you start talking about orchestration, 85 00:02:43,020 --> 00:02:45,480 there's really three types of orchestration. 86 00:02:45,480 --> 00:02:47,870 The first one is resource orchestration. 87 00:02:47,870 --> 00:02:50,180 This is to provision and allocate resources 88 00:02:50,180 --> 00:02:52,620 within a cloud environment or other solution. 89 00:02:52,620 --> 00:02:54,770 When you talk about workload orchestration, 90 00:02:54,770 --> 00:02:56,570 this is for the management of applications 91 00:02:56,570 --> 00:02:59,190 and other cloud workloads that need to be performed, 92 00:02:59,190 --> 00:03:00,540 and basically looking at the components 93 00:03:00,540 --> 00:03:02,720 to create the product you need. 94 00:03:02,720 --> 00:03:03,890 The third one that we have 95 00:03:03,890 --> 00:03:05,940 is what's known as service orchestration. 96 00:03:05,940 --> 00:03:07,950 This is going to be used to deploy services 97 00:03:07,950 --> 00:03:09,420 into cloud environments. 98 00:03:09,420 --> 00:03:10,970 Notice the differences here. 99 00:03:10,970 --> 00:03:14,450 Resources is like an EC2 instance in Amazon. 100 00:03:14,450 --> 00:03:17,060 You're going to start up a new server, a new VM. 101 00:03:17,060 --> 00:03:19,040 If you're dealing with workload orchestration, 102 00:03:19,040 --> 00:03:20,360 this is about managing apps 103 00:03:20,360 --> 00:03:22,020 and other things that are working together. 104 00:03:22,020 --> 00:03:23,900 And then we talk about service orchestration. 105 00:03:23,900 --> 00:03:26,640 This is working on those services themself. 106 00:03:26,640 --> 00:03:28,100 Now, when it comes to orchestration, 107 00:03:28,100 --> 00:03:28,933 I want you to remember 108 00:03:28,933 --> 00:03:31,260 you don't have to be locked into one vendor. 109 00:03:31,260 --> 00:03:33,540 Everything you do doesn't have to sit there on Amazon 110 00:03:33,540 --> 00:03:35,710 or on Azure or on Google Cloud. 111 00:03:35,710 --> 00:03:38,650 You can pick one, two, three, or multiple. 112 00:03:38,650 --> 00:03:40,320 It really depends on you. 113 00:03:40,320 --> 00:03:41,440 And if you do this, 114 00:03:41,440 --> 00:03:42,890 there is some platforms out there 115 00:03:42,890 --> 00:03:45,710 that are known as third-party orchestration platforms. 116 00:03:45,710 --> 00:03:47,900 These allow you to work on your product 117 00:03:47,900 --> 00:03:50,130 and your orchestration across multiple vendors, 118 00:03:50,130 --> 00:03:52,940 and allows you to prevent this vendor lock-in. 119 00:03:52,940 --> 00:03:54,500 Now, as we talk about orchestration, 120 00:03:54,500 --> 00:03:57,350 there is a handful of tools that you need to be aware of.