1 00:00:06,510 --> 00:00:08,840 - [Presenter] DevOps, including the underlying technical, 2 00:00:08,840 --> 00:00:11,380 architectural and cultural practices, 3 00:00:11,380 --> 00:00:16,380 basically converge many technical and project management 4 00:00:16,460 --> 00:00:19,960 and also management movements in nowadays. 5 00:00:19,960 --> 00:00:22,180 So before we start defining what is actually DevOps, 6 00:00:22,180 --> 00:00:24,180 let's actually take a look at the history 7 00:00:24,180 --> 00:00:26,010 of the development methodologies. 8 00:00:26,010 --> 00:00:28,080 So in the past we actually had things 9 00:00:28,080 --> 00:00:30,510 like the waterfall method 10 00:00:30,510 --> 00:00:33,410 and basically that model is a software 11 00:00:33,410 --> 00:00:36,720 and hardware development and project management methodology 12 00:00:36,720 --> 00:00:40,400 that at least has five to seven phases. 13 00:00:40,400 --> 00:00:44,520 And basically they all follow a strict linear order. 14 00:00:44,520 --> 00:00:46,560 So one phase cannot start 15 00:00:46,560 --> 00:00:50,070 until the previous phase has been completed. 16 00:00:50,070 --> 00:00:51,100 There are a few reasons 17 00:00:51,100 --> 00:00:54,170 why organizations use the waterfall methodology. 18 00:00:54,170 --> 00:00:56,370 One of the main reasons is because 19 00:00:56,370 --> 00:01:00,450 the project requirements are agreed upon from the beginning. 20 00:01:00,450 --> 00:01:01,630 So subsequently, 21 00:01:01,630 --> 00:01:03,280 planning and scheduling is actually 22 00:01:03,280 --> 00:01:06,520 a little bit simpler and a little bit more clear. 23 00:01:06,520 --> 00:01:08,910 And a fully laid out project schedule 24 00:01:08,910 --> 00:01:10,770 and accurate estimates. 25 00:01:10,770 --> 00:01:13,490 Basically, you can potentially 26 00:01:14,590 --> 00:01:16,620 think about project costs 27 00:01:16,620 --> 00:01:19,960 and resources and deadlines from the beginning. 28 00:01:19,960 --> 00:01:23,440 However, the disadvantage of this methodology 29 00:01:23,440 --> 00:01:25,810 is that it can be difficult for customers 30 00:01:25,810 --> 00:01:28,130 to enumerate and communicate all of their needs 31 00:01:28,130 --> 00:01:30,160 at the beginning of the project. 32 00:01:30,160 --> 00:01:33,350 So if your end customer is actually dissatisfied 33 00:01:33,350 --> 00:01:36,380 with the product in the verification phases, 34 00:01:36,380 --> 00:01:37,860 it can actually be very costly 35 00:01:37,860 --> 00:01:40,270 to actually go back all the way back 36 00:01:40,270 --> 00:01:41,910 and design the code again. 37 00:01:41,910 --> 00:01:44,020 And then of course provide some type of fix 38 00:01:44,020 --> 00:01:47,490 for whatever the case that your customer actually brings. 39 00:01:47,490 --> 00:01:50,020 So in the waterfall methodology, 40 00:01:50,020 --> 00:01:52,760 that linear project plan is actually rigid 41 00:01:52,760 --> 00:01:55,340 and lacks a lot of flexibility 42 00:01:55,340 --> 00:01:58,250 for adapting unexpected events. 43 00:01:58,250 --> 00:02:00,900 Then you have the Agile methodology 44 00:02:00,900 --> 00:02:03,440 and Agile is a software development 45 00:02:03,440 --> 00:02:05,600 and project management process 46 00:02:05,600 --> 00:02:08,070 where a project is actually managed 47 00:02:08,070 --> 00:02:10,560 by breaking it up into several stages 48 00:02:10,560 --> 00:02:13,680 and then involving constant collaboration 49 00:02:13,680 --> 00:02:17,580 with all stakeholders and also continuous improvement 50 00:02:17,580 --> 00:02:22,250 and interaction or iteration at every single stage. 51 00:02:22,250 --> 00:02:24,010 Now, the Agile methodology begins 52 00:02:24,010 --> 00:02:26,720 with end customers basically describing 53 00:02:26,720 --> 00:02:31,040 how the final product will be used in their environment 54 00:02:31,040 --> 00:02:33,020 and clearly articulating 55 00:02:33,020 --> 00:02:35,420 what problems they actually are trying to solve. 56 00:02:35,420 --> 00:02:38,130 And then once the coding begins, 57 00:02:38,130 --> 00:02:40,940 all the respective teams cycles through a process 58 00:02:40,940 --> 00:02:43,540 of planning and executing and evaluating 59 00:02:44,880 --> 00:02:48,830 all these developing phases and stages. 60 00:02:48,830 --> 00:02:50,980 Now, this process may allow 61 00:02:50,980 --> 00:02:54,520 for the final deliverable to change 62 00:02:54,520 --> 00:02:57,080 in order to better fit the customer needs. 63 00:02:57,080 --> 00:03:00,210 So that's why a lot of people 64 00:03:00,210 --> 00:03:01,470 historically, and nowadays 65 00:03:01,470 --> 00:03:04,130 still actually use the Agile methodology 66 00:03:04,130 --> 00:03:08,870 to have more flexibility in their environment 67 00:03:08,870 --> 00:03:12,010 and throughout the developing process. 68 00:03:12,010 --> 00:03:14,250 In Agile, the input to the developing process 69 00:03:14,250 --> 00:03:18,310 is actually the creation of a business objective. 70 00:03:18,310 --> 00:03:21,270 A concept, an idea, or some type of hypothesis 71 00:03:21,270 --> 00:03:23,840 that you may actually have for the work. 72 00:03:23,840 --> 00:03:26,930 Then the work is added to a committed backlog. 73 00:03:26,930 --> 00:03:29,440 And then from there, the software development teams 74 00:03:29,440 --> 00:03:31,990 actually will follow that standard, Agile, 75 00:03:31,990 --> 00:03:35,270 or iterative process to transform 76 00:03:35,270 --> 00:03:37,570 that idea into user stories. 77 00:03:37,570 --> 00:03:40,570 And this is actually a terminology from Agile. 78 00:03:40,570 --> 00:03:43,480 And then those user stories will actually have some type 79 00:03:43,480 --> 00:03:45,610 of feature specification. 80 00:03:45,610 --> 00:03:49,000 Now, this specification is then implemented in code. 81 00:03:49,000 --> 00:03:51,250 Then the code of course is also checked 82 00:03:51,250 --> 00:03:54,010 into a version control repository. 83 00:03:54,010 --> 00:03:58,763 Things like GitHub or GitLab and many others are there. 84 00:03:59,610 --> 00:04:01,480 Now, there's also a concept adopted 85 00:04:01,480 --> 00:04:04,240 by many organizations related to Agile. 86 00:04:04,240 --> 00:04:06,350 And that concept is called Scrum. 87 00:04:06,350 --> 00:04:09,790 Scrum is basically a framework that helps organizations 88 00:04:09,790 --> 00:04:10,800 to actually work together 89 00:04:10,800 --> 00:04:15,010 because it encourages teams to learn through experiences. 90 00:04:15,010 --> 00:04:16,980 And basically there's a concept 91 00:04:16,980 --> 00:04:20,560 of self-organization while working on a solution 92 00:04:20,560 --> 00:04:23,810 and then reflecting on their wins and losses 93 00:04:23,810 --> 00:04:25,760 to continue to improve. 94 00:04:25,760 --> 00:04:28,910 Now, Scrum is actually used by software development teams. 95 00:04:28,910 --> 00:04:31,400 However, it is also a principle 96 00:04:31,400 --> 00:04:33,100 and lesson that can be applied 97 00:04:33,100 --> 00:04:35,860 to all kinds of teamwork as well. 98 00:04:35,860 --> 00:04:39,360 Now, Scrum describes a set of meetings, tools, 99 00:04:39,360 --> 00:04:41,870 roles that basically will work 100 00:04:41,870 --> 00:04:46,870 in concert to help teams structure and manage their work. 101 00:04:46,920 --> 00:04:49,180 Scrum.org has a set of resources 102 00:04:49,180 --> 00:04:51,030 even a certification and training materials 103 00:04:51,030 --> 00:04:52,670 that are related to Scrum. 104 00:04:52,670 --> 00:04:54,210 For the purpose of this exam, 105 00:04:54,210 --> 00:04:55,860 you only have to actually know 106 00:04:55,860 --> 00:04:58,790 the different Agile methodologies and what Scrum is, 107 00:04:58,790 --> 00:05:01,610 and Scrum Master, which is actually the person, 108 00:05:01,610 --> 00:05:03,190 typically a project manager 109 00:05:03,190 --> 00:05:05,750 that is orchestrating all the developing, 110 00:05:05,750 --> 00:05:08,120 I guess the project deliverables 111 00:05:08,120 --> 00:05:09,750 and all the different milestones 112 00:05:09,750 --> 00:05:12,090 and the tasks and so on. 113 00:05:12,090 --> 00:05:13,690 Now, talking about tasks, 114 00:05:13,690 --> 00:05:17,320 the Scrum framework uses the concept of sprints 115 00:05:17,320 --> 00:05:20,410 and those are a short timeboxed period 116 00:05:20,410 --> 00:05:22,120 whenever the Scrum team actually works 117 00:05:22,120 --> 00:05:25,750 to complete a predefined amount of work. 118 00:05:25,750 --> 00:05:28,000 Now, sprints are one of the key concepts 119 00:05:28,000 --> 00:05:31,320 of the Scrum and Agile methodologies. 120 00:05:31,320 --> 00:05:34,140 Now, there are three general ways to DevOps. 121 00:05:34,140 --> 00:05:39,140 The first way or method includes systems and flow. 122 00:05:39,310 --> 00:05:43,720 And this way or method, you actually make work visible 123 00:05:43,720 --> 00:05:46,210 by reducing the work batch sizes. 124 00:05:46,210 --> 00:05:49,750 Basically you also reduce the intervals of work 125 00:05:49,750 --> 00:05:52,840 and prevent defects from being introduced 126 00:05:52,840 --> 00:05:57,070 by building in quality and control throughout the process. 127 00:05:57,070 --> 00:06:00,700 The second way includes a feedback loop 128 00:06:00,700 --> 00:06:02,870 to prevent problems from happening again. 129 00:06:02,870 --> 00:06:06,470 Basically enabling you to do faster detection 130 00:06:06,470 --> 00:06:10,010 and recovery by seeing problems as they occur, 131 00:06:10,010 --> 00:06:13,220 and maximizing opportunities to learn and improve 132 00:06:13,220 --> 00:06:15,000 throughout your process. 133 00:06:15,000 --> 00:06:16,630 In a true DevOps environment, 134 00:06:16,630 --> 00:06:21,030 you actually conduct dynamic and disciplined experimentation 135 00:06:21,030 --> 00:06:24,760 and you also are allowed to take risks as well. 136 00:06:24,760 --> 00:06:28,220 So you define the time to fix issues 137 00:06:28,220 --> 00:06:30,100 and make systems better. 138 00:06:30,100 --> 00:06:34,950 The creation of shared code repositories help tremendously, 139 00:06:34,950 --> 00:06:37,040 things like GitHub and GitLab. 140 00:06:37,040 --> 00:06:39,710 It definitely helps you significantly 141 00:06:39,710 --> 00:06:42,610 to achieve this continuous experimentation 142 00:06:42,610 --> 00:06:44,840 and learning process. 143 00:06:44,840 --> 00:06:45,860 Now, the last concept 144 00:06:45,860 --> 00:06:49,697 that I want to introduce here is continuous integration 145 00:06:49,697 --> 00:06:52,490 or CI, which is a software developing practice 146 00:06:52,490 --> 00:06:56,940 were programmers merge code in an ongoing basis. 147 00:06:56,940 --> 00:06:59,860 Basically in a central repository like GitHub 148 00:06:59,860 --> 00:07:04,320 or GitLab and many others, multiple times a day. 149 00:07:04,320 --> 00:07:07,960 And then you also have continuous delivery or CD, 150 00:07:07,960 --> 00:07:09,460 that sits on top of CI. 151 00:07:09,460 --> 00:07:11,030 And basically in many cases, 152 00:07:11,030 --> 00:07:16,030 you refer to this as your CI/CD pipelines. 153 00:07:16,060 --> 00:07:17,750 And this provides a way 154 00:07:17,750 --> 00:07:22,170 for automating the entire software release process. 155 00:07:22,170 --> 00:07:25,810 So whenever you adopt the CI/CD methodologies, 156 00:07:25,810 --> 00:07:28,870 each change in code will actually trigger 157 00:07:28,870 --> 00:07:32,320 an automated build and test sequence. 158 00:07:32,320 --> 00:07:34,650 This automation actually also provides feedback 159 00:07:34,650 --> 00:07:37,533 to the programmers who actually made the change 160 00:07:37,533 --> 00:07:38,933 from the start. 161 00:07:39,910 --> 00:07:42,460 CI/CD has been adopted by many organizations 162 00:07:42,460 --> 00:07:44,440 that provide cloud services, 163 00:07:44,440 --> 00:07:46,220 including software as a service, 164 00:07:46,220 --> 00:07:48,600 platform as a service, and so on. 165 00:07:48,600 --> 00:07:51,660 For example, the continuous delivery 166 00:07:51,660 --> 00:07:54,230 can actually include cloud infrastructure provisioning 167 00:07:54,230 --> 00:07:56,330 and deployment, which basically, 168 00:07:56,330 --> 00:07:59,870 in the past, you have done all this manually. 169 00:07:59,870 --> 00:08:03,380 And then it also consisted in multiple stages. 170 00:08:03,380 --> 00:08:05,690 And now with the CI/CD process, 171 00:08:05,690 --> 00:08:07,550 this can be fully automated 172 00:08:07,550 --> 00:08:11,610 with each run fully logged and visible to the entire team. 173 00:08:11,610 --> 00:08:15,763 That's a huge, huge benefit of today's modern world.