1 00:00:00,380 --> 00:00:05,630 ‫Okay, So let's talk about a new service that I really like, and that does come up in the exam now. 2 00:00:05,660 --> 00:00:08,420 ‫It is called EC2 Image Builder. 3 00:00:08,450 --> 00:00:14,360 ‫It is used to automate the creation of virtual machines or container images. 4 00:00:14,570 --> 00:00:16,760 ‫Concretely, what does that mean for the exam? 5 00:00:16,790 --> 00:00:22,430 ‫That means that you're going to be able with ec2 image builder to automate the creation, maintain, 6 00:00:22,430 --> 00:00:27,230 ‫validate and test Amis for EC2 instances. 7 00:00:27,320 --> 00:00:30,630 ‫So let's have a look at a diagram to see how that works in a detail. 8 00:00:30,710 --> 00:00:36,340 ‫So we have the EC2 image builder service and we're going to set it up as we'll see in the next lecture. 9 00:00:36,350 --> 00:00:41,830 ‫And it is automatically going when it's going to run, it is going to create an EC2 instance called 10 00:00:41,840 --> 00:00:48,950 ‫a builder EC2 instance, and that EC2 instance is going to build components and customize the software. 11 00:00:48,950 --> 00:00:55,550 ‫For example, install Java, update the CLI, update the software system, maybe install firewalls, 12 00:00:55,550 --> 00:01:01,110 ‫whatever you define to happen on that EC2 instance, maybe install your application and then once this 13 00:01:01,110 --> 00:01:07,050 ‫is done, then an Ami is going to be created out of that EC2 instance. 14 00:01:07,050 --> 00:01:09,690 ‫But all of this is obviously automated. 15 00:01:10,230 --> 00:01:13,020 ‫Then the image is created, but we want to validate it. 16 00:01:13,020 --> 00:01:21,660 ‫So EC2 image builder will automatically create a test EC2 instance from that Ami and going to run a 17 00:01:21,660 --> 00:01:24,600 ‫bunch of tests that you are defining in advance. 18 00:01:24,600 --> 00:01:28,020 ‫And if you don't want to run a test, obviously you can just skip that test. 19 00:01:28,020 --> 00:01:32,760 ‫But the test can be asking is the working, is it secure? 20 00:01:32,790 --> 00:01:34,600 ‫Is my application running correctly? 21 00:01:34,620 --> 00:01:36,000 ‫All these kind of things. 22 00:01:36,000 --> 00:01:41,850 ‫And then once the Ami, once the EMI is tested, then the Ami is going to be distributed. 23 00:01:41,850 --> 00:01:48,990 ‫So while EC2 Image Builder is a regional service, it is possible for you to take that Ami and distribute 24 00:01:48,990 --> 00:01:54,630 ‫it to multiple regions, therefore allowing your application and your workflow to be truly global. 25 00:01:55,810 --> 00:02:02,410 ‫Next EC2 image builder can be run on a schedule, so you can define a weekly schedule or you can say 26 00:02:02,410 --> 00:02:05,760 ‫you can run whenever packages are updated or you can run it manually. 27 00:02:05,770 --> 00:02:06,910 ‫ET cetera. 28 00:02:07,030 --> 00:02:12,160 ‫And it is a free service, so you're only going to pay for the underlying resources. 29 00:02:12,190 --> 00:02:13,170 ‫What does that mean? 30 00:02:13,180 --> 00:02:20,320 ‫Well, that means that if you create an EC2 instance during this process, an EC2 image builder will 31 00:02:20,320 --> 00:02:21,970 ‫create these EC2 instances. 32 00:02:22,000 --> 00:02:24,550 ‫Then you're going to pay for these EC2 instances. 33 00:02:24,550 --> 00:02:30,460 ‫And when the Ami is created and distributed, you're going to pay for the storage of that Ami wherever 34 00:02:30,550 --> 00:02:33,880 ‫it has been created and wherever it has been distributed. 35 00:02:33,880 --> 00:02:35,140 ‫But that should make sense, right? 36 00:02:35,140 --> 00:02:37,000 ‫So I will see you in the next lecture.