1
00:00:00,180 --> 00:00:06,740
In this video I would like to show you to create microservice HTTP endpoints with a management console.

2
00:00:06,750 --> 00:00:14,550
So that means I will I will create the same architecture into the environment bit using the shortcut

3
00:00:14,550 --> 00:00:16,950
of this creating infrastructure.

4
00:00:16,950 --> 00:00:21,690
So for that purpose I'm going to open a lambda function.

5
00:00:21,690 --> 00:00:27,360
If you come to lambda functions and come to the beginning of the lambda functions, I would like to

6
00:00:27,360 --> 00:00:33,780
show one more way to create API gateway with a lambda for synchronous invocations.

7
00:00:33,780 --> 00:00:36,840
So go to lambda function and create function.

8
00:00:37,410 --> 00:00:40,950
And this time we are going to use a blueprint.

9
00:00:41,580 --> 00:00:46,680
This is the building lambda application from the sample code and configurations present for common use

10
00:00:46,680 --> 00:00:49,620
case if you search for the microservices.

11
00:00:51,450 --> 00:00:58,560
You can see the microservice HTTP endpoint that we can choose this blueprint to create simple back and

12
00:00:58,560 --> 00:01:03,810
read write to dynamic DB and restful API endpoint using API Gateway.

13
00:01:03,810 --> 00:01:05,580
So if you click the configure.

14
00:01:06,350 --> 00:01:13,610
You can see that this is going to create end to end architecture of this architecture API, gateway,

15
00:01:13,610 --> 00:01:20,840
lambda function and dynamic DB and to perform CRUD operation from the scratch and provide from the blueprint

16
00:01:20,960 --> 00:01:23,000
from the ADA as it is required.

17
00:01:23,000 --> 00:01:23,780
The function name.

18
00:01:23,780 --> 00:01:29,450
If you scroll down, give the role name and you can see that the policy template comes from the simple

19
00:01:29,450 --> 00:01:30,800
microservice permission.

20
00:01:30,800 --> 00:01:37,550
And if you scroll down you can see the API gateway that we can create an API gateway, HTTP or rest,

21
00:01:37,550 --> 00:01:40,640
or we can use existing API gateway.

22
00:01:40,640 --> 00:01:46,780
And if you scroll down you can see the lambda function code that implementing the CRUD operations with

23
00:01:46,790 --> 00:01:54,590
using the Dynamo DB SDK package and the code is copied from this place one we copy from our lambda function

24
00:01:54,590 --> 00:02:00,500
in the last videos, we already copy code from this place and this code is looking for the incoming

25
00:02:00,500 --> 00:02:07,820
event method and the perform CRUD operation with invoking the Dynamo DB API to perform, scan, delete,

26
00:02:07,820 --> 00:02:09,500
put and update commands.

27
00:02:09,860 --> 00:02:17,450
So basically as you can see that we have also showed additional way to create and perform CRUD operations

28
00:02:17,450 --> 00:02:24,710
in our services and we have finished to create restful microservices with using API at Lambda and Dynamo

29
00:02:24,710 --> 00:02:26,690
DB on the management console.
