1 00:00:00,830 --> 00:00:02,510 ‫Now let's talk about a quick service 2 00:00:02,510 --> 00:00:04,490 ‫called the Amazon API Gateway. 3 00:00:04,490 --> 00:00:07,310 ‫So this comes from the use case from an exam perspective 4 00:00:07,310 --> 00:00:10,970 ‫of you wanting to build a server less HTTP API. 5 00:00:10,970 --> 00:00:13,320 ‫So in this example, we have server less technologies 6 00:00:13,320 --> 00:00:14,740 ‫so we're using Lambda, 7 00:00:14,740 --> 00:00:17,640 ‫and we're Reading, Creating, Updating and Deleting data 8 00:00:17,640 --> 00:00:18,510 ‫from DynamoDB, 9 00:00:18,510 --> 00:00:21,570 ‫which are both server less technologies 10 00:00:21,570 --> 00:00:24,550 ‫but we want external clients to be able to access our Lambda 11 00:00:24,550 --> 00:00:25,450 ‫function. 12 00:00:25,450 --> 00:00:29,540 ‫But a Lambda function is not exposed as an API right away. 13 00:00:29,540 --> 00:00:31,750 ‫For this we need to expose it 14 00:00:31,750 --> 00:00:33,690 ‫through an API Gateway 15 00:00:33,690 --> 00:00:37,340 ‫which is going to provide the client with the rest HTTP API 16 00:00:37,340 --> 00:00:39,420 ‫to connect directly to your website. 17 00:00:39,420 --> 00:00:41,030 ‫And so, as we can see the client 18 00:00:41,030 --> 00:00:42,440 ‫will talk to the API Gateway. 19 00:00:42,440 --> 00:00:44,920 ‫The API gateway will proxy the request 20 00:00:44,920 --> 00:00:45,870 ‫to your lender functions 21 00:00:45,870 --> 00:00:50,140 ‫which will execute the transformations on your data. 22 00:00:50,140 --> 00:00:52,310 ‫And so API Gateway is used 23 00:00:52,310 --> 00:00:53,910 ‫as a fully managed service 24 00:00:53,910 --> 00:00:55,290 ‫that is going to allow developers 25 00:00:55,290 --> 00:00:57,530 ‫to easily create, publish, maintain, 26 00:00:57,530 --> 00:01:00,660 ‫monitor, and secure APIs in the cloud. 27 00:01:00,660 --> 00:01:02,530 ‫It is a server less technology, 28 00:01:02,530 --> 00:01:04,330 ‫and it is fully scalable. 29 00:01:04,330 --> 00:01:06,140 ‫It supports RESTful APIs, 30 00:01:06,140 --> 00:01:09,970 ‫and also WebSocket APIs for real time streaming of data. 31 00:01:09,970 --> 00:01:13,530 ‫It supports also security, user authentication, 32 00:01:13,530 --> 00:01:17,420 ‫API throttling, API keys, monitoring, and so on. 33 00:01:17,420 --> 00:01:19,440 ‫So when you see going to exam 34 00:01:19,440 --> 00:01:21,730 ‫which creates a server less API 35 00:01:21,730 --> 00:01:24,800 ‫you need to think about API Gateway and Lambda. 36 00:01:24,800 --> 00:01:25,633 ‫That's it for this lecture. 37 00:01:25,633 --> 00:01:26,466 ‫I hope you liked it. 38 00:01:26,466 --> 00:01:28,280 ‫And I will see you in the next lecture.