1 00:00:00,100 --> 00:00:02,170 ‫So now, I want to formally introduce 2 00:00:02,170 --> 00:00:04,210 ‫the Serverless Section to you. 3 00:00:04,210 --> 00:00:05,840 ‫So what is severless? 4 00:00:05,840 --> 00:00:08,900 ‫Severless is a catchy word but it is a new paradigm 5 00:00:08,900 --> 00:00:12,550 ‫in which the developers don't manage the servers anymore. 6 00:00:12,550 --> 00:00:14,220 ‫They just do what they do best, 7 00:00:14,220 --> 00:00:18,060 ‫they just deploy the codes or they deploy functions. 8 00:00:18,060 --> 00:00:20,660 ‫So initially, serverless was pioneered 9 00:00:20,660 --> 00:00:24,390 ‫as a Function as a Service with AWS Lambda, 10 00:00:24,390 --> 00:00:27,260 ‫and that means that you just deploy your code 11 00:00:27,260 --> 00:00:30,050 ‫and each function will be run independently 12 00:00:30,050 --> 00:00:33,090 ‫by the Lambda service, but nowadays, 13 00:00:33,090 --> 00:00:34,400 ‫anything that's serverless 14 00:00:34,400 --> 00:00:37,360 ‫is mostly mentioned as something that is managed 15 00:00:37,360 --> 00:00:40,450 ‫and that does include servers managed by the user 16 00:00:40,450 --> 00:00:42,300 ‫so that includes serverless databases, 17 00:00:42,300 --> 00:00:44,720 ‫messaging, storage, et cetera. 18 00:00:44,720 --> 00:00:47,040 ‫So serverless does not mean that there are no servers. 19 00:00:47,040 --> 00:00:49,570 ‫There are, of course, servers behind the scenes. 20 00:00:49,570 --> 00:00:51,330 ‫Otherwise, services would not work, 21 00:00:51,330 --> 00:00:53,570 ‫but it just means that as an end user, 22 00:00:53,570 --> 00:00:57,760 ‫you don't manage, provision, or even see the servers. 23 00:00:57,760 --> 00:00:59,020 ‫So in this course, 24 00:00:59,020 --> 00:01:01,150 ‫we have been using some serverless services 25 00:01:01,150 --> 00:01:02,460 ‫from the beginning. 26 00:01:02,460 --> 00:01:04,130 ‫So Amazon S3 was one of them 27 00:01:04,130 --> 00:01:06,660 ‫because we used it as a storage layer, 28 00:01:06,660 --> 00:01:09,250 ‫but we didn't manage any servers at all, okay? 29 00:01:09,250 --> 00:01:12,120 ‫Amazon S3 can scale infinitely, there was no servers, 30 00:01:12,120 --> 00:01:15,040 ‫it was just uploaded file, and that was it. 31 00:01:15,040 --> 00:01:16,490 ‫DynamoDB was another one. 32 00:01:16,490 --> 00:01:20,320 ‫So in DynamoDB, we just went ahead, we created a table, 33 00:01:20,320 --> 00:01:23,050 ‫but we didn't provision a server for that table, 34 00:01:23,050 --> 00:01:25,800 ‫and that server was, that table could auto scale 35 00:01:25,800 --> 00:01:27,510 ‫based on the load it was receiving. 36 00:01:27,510 --> 00:01:30,510 ‫So that makes it another serverless service. 37 00:01:30,510 --> 00:01:31,590 ‫Fargate is another one 38 00:01:31,590 --> 00:01:34,040 ‫so Fargate was to run Docker containers, 39 00:01:34,040 --> 00:01:38,050 ‫and as I said with ECS, you create EC2 instances 40 00:01:38,050 --> 00:01:39,240 ‫to run the Docker containers 41 00:01:39,240 --> 00:01:42,000 ‫so that would not be serverless, but with Fargate, 42 00:01:42,000 --> 00:01:43,910 ‫you just send the Docker containers 43 00:01:43,910 --> 00:01:47,720 ‫and Fargate will automatically find a way for it to be run 44 00:01:47,720 --> 00:01:50,140 ‫so that makes it another serverless service, 45 00:01:50,140 --> 00:01:52,840 ‫and in this section, we're going to see Lambda, 46 00:01:52,840 --> 00:01:55,960 ‫which was the pioneer of serverless services. 47 00:01:55,960 --> 00:01:59,230 ‫So Lambda allows you to run functions in the cloud. 48 00:01:59,230 --> 00:02:01,870 ‫So this is it for the quick intro to serverless, 49 00:02:01,870 --> 00:02:04,670 ‫I will see you in the next lecture to talk about Lambda.