1
00:00:00,480 --> 00:00:06,030
In this section, we are going to create and develop our first lambda function.

2
00:00:06,540 --> 00:00:09,940
So let me start with a lambda of information.

3
00:00:10,410 --> 00:00:17,340
A lambda is the most popular serverless compute platform that is using millions of customers and running

4
00:00:17,340 --> 00:00:20,040
billions of invocations all over the world.

5
00:00:20,760 --> 00:00:24,240
In this video, we are going to order a wave of data which is lambda.

6
00:00:24,630 --> 00:00:30,480
We will see what is a lambda overview of the Lambda Core Concepts.

7
00:00:30,480 --> 00:00:35,640
Example Use cases, main features, best practices of a lambda.

8
00:00:36,060 --> 00:00:42,360
And of course we will walk through a management console with a lambda creating functions, run and testing

9
00:00:42,360 --> 00:00:45,450
functions and see configurations and so on.

10
00:00:45,840 --> 00:00:48,690
So let's start with what is a lambda.

11
00:00:49,320 --> 00:00:55,950
A lambda is a compute service that runs code without thinking any servers or underlying services.

12
00:00:56,460 --> 00:01:01,350
It is a serverless function that you only responsible for your actual code.

13
00:01:01,920 --> 00:01:09,600
So if you look at the Wikipedia definition, a table is lambda is a one table serverless computing platform

14
00:01:09,600 --> 00:01:13,500
provided by Amazon as part of the Amazon Web Services.

15
00:01:13,860 --> 00:01:20,070
It is a computing service that runs code in response to events and automatically manage the computing

16
00:01:20,070 --> 00:01:22,470
resources required by that code.

17
00:01:22,500 --> 00:01:26,040
So it was introduced November 2014.

18
00:01:26,970 --> 00:01:32,760
ADA, which is Lambda provide to create functions self contain the application routine in one of the

19
00:01:32,760 --> 00:01:36,360
supported languages and runtimes and upload to code.

20
00:01:36,360 --> 00:01:43,950
The ADA is lambda and execute towards those functions in an efficient way without thinking, scalability

21
00:01:43,950 --> 00:01:45,480
and availability issues.

22
00:01:46,200 --> 00:01:52,260
So therefore you don't need to worry about which ADA is resources to launch or how will you manage them.

23
00:01:52,470 --> 00:01:56,310
Instead, you need to put the code on lambda and run it.

24
00:01:56,940 --> 00:02:05,430
So there is a supported language runtimes like Node.js, Python, Java, go, ruby, dot net and so

25
00:02:05,430 --> 00:02:05,790
on.

26
00:02:06,180 --> 00:02:10,350
So ADA, which is Lambda, is designed for the event driven architectures.

27
00:02:10,560 --> 00:02:19,530
So example use case such as image or object uploads to Amazon S3 or updates to dynamic DB table responding

28
00:02:19,530 --> 00:02:21,360
to website click and so on.

29
00:02:21,360 --> 00:02:26,550
So that means Amazon a lambda design for the event driven architecture.

30
00:02:26,730 --> 00:02:35,580
Also, a lambda can be used automatically provision backend services triggered by the custom HTTP request

31
00:02:35,580 --> 00:02:39,780
and zipping down such services when not in use to save resources.

32
00:02:40,080 --> 00:02:46,830
So these custom HTTP requests are configured in a API gateway, which can also handle authentication

33
00:02:46,830 --> 00:02:50,150
authorization in conjunction with the ADA, which is cognita.

34
00:02:52,480 --> 00:02:57,610
So if you summarize what is a bullish lambda, we can say that it is.

35
00:02:57,610 --> 00:03:03,790
Lambda is a serverless event driven compute service that lets you run code for virtually any type of

36
00:03:03,790 --> 00:03:09,040
application or backend services without thinking, provisioning or managing servers.

37
00:03:10,400 --> 00:03:16,580
We can trigger lambda function from over 200 Ada Willis services.

38
00:03:16,580 --> 00:03:24,110
So that means a lambda has incredible natural integration with ADA resources and also able to integrate

39
00:03:24,110 --> 00:03:25,610
source applications.

40
00:03:27,000 --> 00:03:30,390
Run code without provisioning or managing infrastructure.

41
00:03:30,420 --> 00:03:34,680
Simply write and upload code as a zip file or container image.

42
00:03:34,710 --> 00:03:41,700
It's automatically respond to the code execution request at any scale from a dozen events for per day

43
00:03:41,700 --> 00:03:44,130
or hundreds or thousands per seconds.

44
00:03:44,130 --> 00:03:48,480
So Lambda is very powerful when it comes to scalability and availability.

45
00:03:48,510 --> 00:03:55,140
You only upload your cost and it will automatically execute your code according to incoming events or

46
00:03:55,140 --> 00:03:56,160
incoming requests.

47
00:03:57,840 --> 00:04:05,010
So you can save your cost by paying only for the complete time you use by per millisecond instead of

48
00:04:05,010 --> 00:04:08,160
provision infrastructure upfront for the peak capacity.

49
00:04:08,190 --> 00:04:11,130
We call this pay as you go model.

50
00:04:11,340 --> 00:04:18,870
This is a common feature for several services, but for a lambda, a charger is per millisecond level.

51
00:04:18,900 --> 00:04:25,710
It is really fair because when it comes to pay as you go model, you can charge by per millisecond execution

52
00:04:25,710 --> 00:04:26,160
time.

53
00:04:26,190 --> 00:04:34,530
It is one of the power of the lambda in terms of the cost management and you can also optimize code

54
00:04:34,530 --> 00:04:39,030
execution time and performance with the right function memory size.

55
00:04:39,180 --> 00:04:45,620
It is response to high demand in double digit milliseconds with provision concurrency feature.

56
00:04:45,660 --> 00:04:52,530
Lambda has a provision concurrency feature that is really powerful when it comes to execute your code

57
00:04:52,530 --> 00:04:54,930
in performance or high demand.

58
00:04:55,410 --> 00:05:00,250
As you can see that we have understand understand that what is a lambda.

59
00:05:00,270 --> 00:05:04,170
In the next video we will see how a lambda is works.
