1
00:00:00,360 --> 00:00:08,130
In this video, we are going to see how to configure a lambda functions and which configurations are

2
00:00:08,130 --> 00:00:10,200
existing on lambda function.

3
00:00:12,140 --> 00:00:17,660
Then we create the function a place lambda has several options to configure function.

4
00:00:17,660 --> 00:00:21,470
Some of the configurations can change after creating the function.

5
00:00:21,470 --> 00:00:26,690
For example, when we choose the runtime and the type of the deployment package do need to function

6
00:00:26,690 --> 00:00:30,470
create operation, this configuration cannot be changed later.

7
00:00:31,250 --> 00:00:37,790
After you create the function, we can configure settings for many functions, capabilities and options.

8
00:00:37,790 --> 00:00:42,290
For example, permissions environment variables takes under layers.

9
00:00:42,560 --> 00:00:48,830
We will see all these configurations and settings when creating function on a management console, but

10
00:00:48,830 --> 00:00:55,310
before that it is good to learn which type of configurations can be set for the lambda functions in

11
00:00:55,310 --> 00:00:56,500
the management console.

12
00:00:56,510 --> 00:01:01,400
The function configuration tab provides these configurations.

13
00:01:01,610 --> 00:01:04,310
Let me overview this configuration, for example.

14
00:01:04,310 --> 00:01:06,920
The first one is the general configurations.

15
00:01:07,010 --> 00:01:09,580
We can configure memory settings in here.

16
00:01:09,590 --> 00:01:16,340
This is so important because memory configuration led to provide concurrency capacity of lambda function.

17
00:01:16,340 --> 00:01:19,940
We can also configure function, timeout and the execution role.

18
00:01:20,630 --> 00:01:22,850
Another configuration is permissions.

19
00:01:22,970 --> 00:01:30,530
We can configure the execution role and other permissions in this tab, and we can also configure environment

20
00:01:30,530 --> 00:01:31,250
variables.

21
00:01:31,250 --> 00:01:35,720
We can set key value space for lambda function in the execution environment.

22
00:01:35,750 --> 00:01:41,060
This is the best practice to use environment variable in order to manage our functions configuration

23
00:01:41,060 --> 00:01:42,320
outside of the code.

24
00:01:42,650 --> 00:01:45,320
And another configuration is text.

25
00:01:45,320 --> 00:01:50,150
We can set key value space that lambda attach to our function resources.

26
00:01:50,150 --> 00:01:56,720
We can use text to organize lambda functions into groups for costing, reporting and filtering lambda

27
00:01:56,720 --> 00:01:57,410
console.

28
00:01:58,520 --> 00:02:06,050
If we continue to order configurations, we can also configure virtual private cloud VPC one.

29
00:02:06,050 --> 00:02:12,590
We need to set network access to add resources and we can also set the concurrency.

30
00:02:13,100 --> 00:02:15,590
Concurrency configuration is very important.

31
00:02:15,980 --> 00:02:22,580
Basically, we can reserve concurrency for a function to set maximum number of the simultaneous execution

32
00:02:22,580 --> 00:02:30,200
for particular function provision concurrency to ensure that function that scale without fluctuations

33
00:02:30,200 --> 00:02:31,220
in latency.

34
00:02:32,180 --> 00:02:34,680
And we can also configure function URL.

35
00:02:34,760 --> 00:02:38,010
This is the new feature of a lambda functions.

36
00:02:38,030 --> 00:02:43,490
We can configure the function URL to add a unique https and print to our lambda function.

37
00:02:43,520 --> 00:02:47,480
Basically it is exposing API without using the API gateway.

38
00:02:47,510 --> 00:02:51,560
You can think to expose single microservices to external world.

39
00:02:52,250 --> 00:02:58,670
And we have also additional settings like triggers destinations, asynchronous invocation, code, signing

40
00:02:58,670 --> 00:03:02,510
database proxies, file systems, state machines and so on.

41
00:03:02,540 --> 00:03:07,910
We will see all these settings when developing different use cases with lambda functions during the

42
00:03:07,910 --> 00:03:08,450
course.
