1 00:00:00,340 --> 00:00:02,470 ‫Now let's talk about AWS OpsWorks, 2 00:00:02,470 --> 00:00:04,903 ‫and to first talk about OpsWorks, I need to talk to you 3 00:00:04,903 --> 00:00:07,830 ‫about something called Chef and Puppet. 4 00:00:07,830 --> 00:00:09,430 ‫Chef and Puppet are two tools 5 00:00:09,430 --> 00:00:11,490 ‫that are not created by AWS, 6 00:00:11,490 --> 00:00:12,540 ‫and these two tools help you 7 00:00:12,540 --> 00:00:14,830 ‫perform server configuration automatically, 8 00:00:14,830 --> 00:00:16,340 ‫or a repetitive action. 9 00:00:16,340 --> 00:00:18,400 ‫And Chef and Puppet have been designed 10 00:00:18,400 --> 00:00:21,060 ‫to work great with EC2 instances, 11 00:00:21,060 --> 00:00:23,270 ‫or on-premises virtual machines. 12 00:00:23,270 --> 00:00:26,600 ‫And so therefore, OpsWorks was created by AWS 13 00:00:26,600 --> 00:00:30,090 ‫to give you a managed Chef and Puppet in the cloud. 14 00:00:30,090 --> 00:00:32,320 ‫It's going to be viewed as an alternative 15 00:00:32,320 --> 00:00:34,730 ‫to SSM that we saw from before, 16 00:00:34,730 --> 00:00:36,320 ‫but with Chef and Puppet, 17 00:00:36,320 --> 00:00:39,370 ‫we can only provision standard AWS resources, 18 00:00:39,370 --> 00:00:41,290 ‫so we can only provision EC2 instances, 19 00:00:41,290 --> 00:00:43,830 ‫databases, load balancers, and EBS volumes. 20 00:00:43,830 --> 00:00:45,400 ‫So from an exam perspective, 21 00:00:45,400 --> 00:00:47,470 ‫OpsWorks is very simple to reason about. 22 00:00:47,470 --> 00:00:50,370 ‫Any time you see Chef or Puppet that is needed, 23 00:00:50,370 --> 00:00:51,950 ‫you need to think about OpsWorks, 24 00:00:51,950 --> 00:00:53,420 ‫and this is going to be the extent 25 00:00:53,420 --> 00:00:56,370 ‫of what is required from you from the exam. 26 00:00:56,370 --> 00:00:57,610 ‫Now, I just wanted to show you 27 00:00:57,610 --> 00:01:00,010 ‫how OpsWorks would work at a high level. 28 00:01:00,010 --> 00:01:01,670 ‫So we have OpsWorks stacks, 29 00:01:01,670 --> 00:01:03,660 ‫and then on it, you're going to have 30 00:01:03,660 --> 00:01:06,520 ‫your Elastic Load Balancer layer with an ALB, 31 00:01:06,520 --> 00:01:08,820 ‫then you're going to have your application server layer 32 00:01:08,820 --> 00:01:10,390 ‫with EC2 instances, 33 00:01:10,390 --> 00:01:13,050 ‫and they will get their application information 34 00:01:13,050 --> 00:01:15,580 ‫from something called the cookbook repository, 35 00:01:15,580 --> 00:01:17,060 ‫and they will get the application 36 00:01:17,060 --> 00:01:19,130 ‫from the application repository as well. 37 00:01:19,130 --> 00:01:21,600 ‫And finally, we're going to have a database layer 38 00:01:21,600 --> 00:01:24,900 ‫which will contain our RDS database through OpsWorks. 39 00:01:24,900 --> 00:01:26,740 ‫So as you can see, this is quite simple. 40 00:01:26,740 --> 00:01:29,530 ‫This is just as same as what we've seen from before, 41 00:01:29,530 --> 00:01:31,680 ‫for example, using our three-tier web application, 42 00:01:31,680 --> 00:01:34,200 ‫or even if we're using Beanstalk to deploy our application, 43 00:01:34,200 --> 00:01:35,890 ‫this would follow this kind of layer, 44 00:01:35,890 --> 00:01:39,340 ‫but the only reason why you would use OpsWorks and AWS, 45 00:01:39,340 --> 00:01:41,610 ‫is that you are already using Chef and Puppet 46 00:01:41,610 --> 00:01:43,840 ‫before migrating to the cloud, 47 00:01:43,840 --> 00:01:47,000 ‫and you wanted to reuse your Chef and Puppet templates 48 00:01:47,000 --> 00:01:48,690 ‫to work on AWS. 49 00:01:48,690 --> 00:01:51,710 ‫In that case, OpsWorks is going to be the service for you. 50 00:01:51,710 --> 00:01:53,000 ‫So that's it, I hope you liked it, 51 00:01:53,000 --> 00:01:55,030 ‫this is also an advanced service that I won't demo, 52 00:01:55,030 --> 00:01:56,980 ‫and I will see you in the next lecture.