Тёмный

AWS Lambda & DynamoDB - AWS Serverless Part I 

Block Explorer
Подписаться 39 тыс.
Просмотров 170 тыс.
50% 1

Join us in this video tutorial as we walk you through step-by-step how to write AWS Lambda functions in NodeJS to get and set data in DynamoDB.
Link to Serverless Architecture: AWS API Gateway & Lambda (part II of this series):
• AWS API Gateway & AWS ...
Completed tutorial code:
github.com/jspruance/cloudpat...
Intro to AWS Lambda with Python:
• Intro to AWS Lambda wi...
Originally published on 12/29/2018. Updated 1/3/2019.

Наука

Опубликовано:

 

2 янв 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 155   
@duyhieu7820
@duyhieu7820 4 года назад
8:22 - create role 9:13 - specify action 11:47 - lambda 23:29 - example code for getItem 26:11 - use json instead of dynamo json 29:52 - async / await 33:17 - put
@MichaelRainabbaRichardson
@MichaelRainabbaRichardson 4 года назад
40:35 forgot to confirm the return on a put after using a unique key.
@rainthstrive
@rainthstrive 3 года назад
Here I am, at 4am, following and successfully finishing this tutorial pleasantly and with a smile on my face. Sometimes I zone out following lenghty videos, but yours is super cohesive and easy to follow! Thank you so very much.
@ENCRYPTaBIT
@ENCRYPTaBIT 5 лет назад
Wow I'm impressed. I'd buy this on Udemy for sure. But you're generous enough to give this out for free. Subscribed and liked!
@subhojeetsinha7865
@subhojeetsinha7865 3 года назад
Link to the Udemy course plsz
@ryanrussell4071
@ryanrussell4071 4 года назад
You have a genuine gift for explaining concepts. Thank you so much for putting this together. I will be sharing this video at an upcoming Hackathon to help attendees set up their Lambda instances.
@alammahtab27
@alammahtab27 4 года назад
Nicely explained. I really like the pace of your explanation, you were calm and not like others who actually rushes to finish it off and make the story short. Well done
@pragmaticcoder6910
@pragmaticcoder6910 4 года назад
God bless you! Thanks for giving this tutorial for free. I am preparing for new job and need knowledge on AWS Lambda. May God bless you and your family!
@kokoro5051
@kokoro5051 5 лет назад
Thanks dude, this series is pretty good and solid. I love it.
@reidyoung298
@reidyoung298 4 года назад
Thank you SOOOOOO much for this fantastic video. It deservers 10M views and a badge of honor. I appreciate all the effort that went into it. Loved the video. It's inspiring me to create a few of my own. All the best Cloud Path!
@maryotoole8270
@maryotoole8270 4 года назад
Awesome. This was so much more helpful that the Amazon online tutorials. Big help and thanks so much!
@drvoip
@drvoip 5 лет назад
Excellent material! Most other folks say "Dine a Moe DB" !
@BlockExplorerMedia
@BlockExplorerMedia 5 лет назад
thanks! i know somebody else pointed that out too, lol. trying to retrain my brain my mangled pronunciation : )
@johnblack8178
@johnblack8178 4 года назад
Thanks for that great tutorial, you have a nice voice to listen to. Thanks to you i understand the environment better.
@leastros927
@leastros927 5 лет назад
This was so helpful to me. I truly appreciate the video. It was very clear and concise as well as easy to follow. Thank you for your work!
@BlockExplorerMedia
@BlockExplorerMedia 5 лет назад
really glad to hear that. thanks for your support!
@MrJohn360
@MrJohn360 5 лет назад
Got so much value out of it, thanks for sharing.
@arunkumark
@arunkumark 4 года назад
Cool Video!! Explained Lambda & Dynamo DB working in excellent way!
@fanggladys9986
@fanggladys9986 4 года назад
exactly agree with Jacari. Also your voice is beautifully soothing
@dkkektmsnsndm2084
@dkkektmsnsndm2084 2 года назад
What a clear explanation, thank you sir. I really appreciate all the help you gave. Love respect.
@emmanuelwafwana5583
@emmanuelwafwana5583 4 года назад
The lesson is great. Probably the best i ever followed. Everything works at the end ;-). Thanks a lot!
@holyproton8855
@holyproton8855 4 года назад
What an awesome tutorial, I learned a lot! Looks like the logs would have displayed the new item created if the ID is unique. With preexisting IDs it shows empty brackets.
@denkling
@denkling 4 года назад
Why is your video much better than the official AWS-videos?
@SameeraAbeywickrama
@SameeraAbeywickrama 5 лет назад
Wow, I wish I had found this earlier. Thanks man. Very useful and very well explained. I would love to see a tutorial on Serverless framework from you
@BlockExplorerMedia
@BlockExplorerMedia 5 лет назад
thanks Sameera, glad you found it useful! i do have a 'Create a Serverless App' tutorial series available here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-VGerk8hrP9U.html. anything else you'd like to see covered on this channel?
@firattamur1682
@firattamur1682 3 года назад
Best tutorial for lambda after long time of searching. Thank you!
@BlockExplorerMedia
@BlockExplorerMedia 2 года назад
Love to hear that...thanks for the feedback!
@kamalbuqaileh8474
@kamalbuqaileh8474 4 года назад
You saved my day, THANK YOU SOOOO MUCH
@johnduriman8662
@johnduriman8662 2 года назад
Thank you for this, it was very easy to follow. Well made man!
@caiotony2037
@caiotony2037 2 года назад
Thanks too much!!! My permanency in my current job was saved
@BlockExplorerMedia
@BlockExplorerMedia 2 года назад
That's awesome...glad to hear that!
@richardnguyen6141
@richardnguyen6141 4 года назад
Excellent explanation. I like your exceptional teaching skill.
@liangwang3356
@liangwang3356 4 года назад
very helpful for me to understand the basic operation of AWS.
@ankitsmit19
@ankitsmit19 4 года назад
Very nicely explained. Thanks for the tutorial.
@TheSmellOfCode
@TheSmellOfCode 5 лет назад
Awesome videos. I like the pace and amount of details.
@BlockExplorerMedia
@BlockExplorerMedia 5 лет назад
thanks, appreciate it : )
@responseready7375
@responseready7375 4 года назад
You saved my day! I love you :)
@ritanshusingh4426
@ritanshusingh4426 3 года назад
You are a gem....... perfectly explained...love from india ❤️
@michagoleniewski8074
@michagoleniewski8074 4 года назад
thanks man, im rookie in AWS and have to create app here :D great tut
@zachwhite8054
@zachwhite8054 4 года назад
Unreal tutorial. Thank you so much. Liked and subscribed.
@Hackenbaker
@Hackenbaker 4 года назад
Excelent!! More than excelent. Thanks for this class!!!
@andreapirola2737
@andreapirola2737 5 лет назад
AMAZING! You are perfect to explain this
@BlockExplorerMedia
@BlockExplorerMedia 5 лет назад
thanks Andrea...appreciate the support!
@agnieszkadrabczyk4917
@agnieszkadrabczyk4917 4 года назад
Thank you so much for your videos. Your vioce is amazing and you explain very well. Thanks
@sasquatch2267
@sasquatch2267 5 лет назад
Thanks for creating this! :)
@madChileRiver
@madChileRiver 3 года назад
Great tutorial/demo - thank you very much.
@ankur_upadhyay_
@ankur_upadhyay_ 4 года назад
Thank you ... it was amazing lesson and a detailed one ...appreciate
@yogirajkouskiya1199
@yogirajkouskiya1199 5 лет назад
Good. Thanks for the video. Appreciated.
@hacmia8708
@hacmia8708 4 года назад
Fantastic tutorial, Thank you!
@cuzbo_
@cuzbo_ 4 года назад
Thanks for this. Great tutorial!
@moathdlaimi150
@moathdlaimi150 3 года назад
God bless you, fantastic tutorial!
@wenhuiluo1900
@wenhuiluo1900 4 года назад
thank you, sir, this is very helpful.
@tamirsagi4544
@tamirsagi4544 4 года назад
Amazing Tutorial! thank you
@ManuelSavino
@ManuelSavino 4 года назад
Wow Amazing! You should honestly produce more content! Like another comment said, would definitely buy a Udemy course or any type of course from you.
@himadrithaker4857
@himadrithaker4857 4 года назад
Well explained every steps.. thanks
@bunyaminmercan5077
@bunyaminmercan5077 3 года назад
Awesome Tutorial. Super!
@robinkelmen6332
@robinkelmen6332 3 года назад
Great videos!!! Thank you so much.
@no_one1500
@no_one1500 3 года назад
Thankssss complete detailss yet simple and efficient.... Thanksssss alotttt
@shouldicallyoumista1167
@shouldicallyoumista1167 3 года назад
Very well explained. Subbed!
@ntokozomajozi2716
@ntokozomajozi2716 4 года назад
Great tutorial, thank you.
@godwincodes
@godwincodes 4 года назад
Very helpful video! Thanks
@bijarnia_vikash
@bijarnia_vikash 5 лет назад
Good. Thanks for the video.
@illbet4589
@illbet4589 3 года назад
GREAT VIDEO ! Thank you.
@jjurksztowicz
@jjurksztowicz 5 лет назад
Very nice tutorial. +9000
@amberjones6191
@amberjones6191 4 года назад
Great teacher!
@ayubadan3220
@ayubadan3220 4 года назад
Great Video Mate!
@aakashkharche9429
@aakashkharche9429 3 года назад
Really Helped me alot👍
@john-danson3113
@john-danson3113 4 года назад
Great work! Thanks Mister! Tidy it up. Could be 20 mins.
@reprovedcandy
@reprovedcandy Год назад
8:29 i love how it recommends the name so you know this wasnt his first take haha
@MrMrMayday
@MrMrMayday 4 года назад
You saved my life
@almogcohen2858
@almogcohen2858 3 года назад
Great videos, thanks alot !
@JP-vg8vl
@JP-vg8vl 3 года назад
thank you for this video!
@tomdemey5606
@tomdemey5606 5 лет назад
Thank you! :D
@syedimam1998
@syedimam1998 4 года назад
BRO U R just AWesomEEEEEE!!!!!!!!!!!!!!!!!!
@JangBahadur3028
@JangBahadur3028 Год назад
Kudos to the guy. Really knowledge ful video.
@BlockExplorerMedia
@BlockExplorerMedia Год назад
Thanks Jang glad you found it helpful.
@prathameshmahangade8987
@prathameshmahangade8987 4 года назад
You are the best
@noneofourfinbusiness
@noneofourfinbusiness 4 года назад
Thanks for the video it helped me over the first hurdles. My next hurdle is to customize the query to return just the fields I want, and also related fields from other tables hopefully just like they do in GraphQL. I can't seem to find samples for lambda code using clientDocument or even the first way you did it. I found some examples using "ProjectionExpression" but...doesn't seem to be working. If you ever do a video on this I would enjoy it ;)
@CTCCCCCCCC
@CTCCCCCCCC 3 года назад
Thank you so much dude!!!
@nikwycherley9079
@nikwycherley9079 5 лет назад
If you get an error at around 25:35 saying something like "unexpected s found in query" make sure the s in the ID object is set to a capital S.
@coltonjett5635
@coltonjett5635 5 лет назад
i got a error saying " * MissingRequiredParameter: Missing required key 'HashKeyElement' in params.Key * UnexpectedParameter: Unexpected key 'id' found in params.Key " and i even copied word for word and had capital S driving me nuts.
@sach695
@sach695 5 лет назад
This comment needs to be featured or pinned or something.
@DavidJJJ
@DavidJJJ 4 года назад
Just a note to say that you no longer need to specify the data type (ie. ‘S’) in your dynamodb object.
@JayJugJones
@JayJugJones 4 года назад
nice tutorial
@manishpundir28
@manishpundir28 4 года назад
Thanks for the awesome video!👍 One question - Shouldn't the ids be auto generated uniquely for a new item? Otherwise how do we ensure not to pass an existing id? Do we need to look into DB each time?
@jahongirbozarov3135
@jahongirbozarov3135 4 года назад
Thank you so much for making this video! Helped me a lot, but could you please show us how to create new record ( I understand if id we are passing doesn't match with any existing user's id it will create new user ) but I was thinking to create lambda function using post not put ? Thanking in advance
@q1dsdsdsq2dssdsd95
@q1dsdsdsq2dssdsd95 4 года назад
thank you for your videos! say, why dynamodb doesnt say that you try to rewrite existing in the table item?
@balajikesavan9933
@balajikesavan9933 3 года назад
thats a nice one
@hmnyari
@hmnyari 4 года назад
thank you so much !!!!!
@TheBodysome
@TheBodysome 5 лет назад
This is awesome, super simple and works out of the box (Ignoring my IAM issues). Do you have a twitter? oh also, Udemy Update?
@BlockExplorerMedia
@BlockExplorerMedia 5 лет назад
i have a twitter account but haven't been using it much. Udemy...still working on that!
@sahild6584
@sahild6584 Год назад
Thnx a ton
@simpsonandrew9572
@simpsonandrew9572 3 года назад
Good demo! Is there a chance to do a get first and base on the result to do a put to the DB in one js ?
@bennychewDev
@bennychewDev 5 лет назад
Thanks for creating your AWS series, these are very helpful! I'd be interested in a more in depth Udemy course of this if available. Now we are copy pasting the code from local to AWS, I wonder if it is possible to keep writing the Lambda functions locally and with one Terminal command, deploy it to AWS. Or is creating a zip of it the only way?
@BlockExplorerMedia
@BlockExplorerMedia 5 лет назад
there should be a few options for deploying a lambda without copy/paste or zip upload. hope to cover this in a tutorial video soon.
@bennychewDev
@bennychewDev 5 лет назад
@@BlockExplorerMedia I came across Serverless framework couple of days ago. Seems pretty interesting. May be what I was looking for. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-LXB2Nv9ygQc.html
@nand0l
@nand0l 4 года назад
Hi In this video you are adding an String value, how would you add a "list" for an array or a "Map" for an object?
@HemachandranM
@HemachandranM 5 лет назад
That was a good session.. I have a very basic question. Is it possible to store an js object like output of `new AWS.TemporaryCredentials( )` in dynamodb using nodeJs implementation? If yes, is there any samples around it.
@BlockExplorerMedia
@BlockExplorerMedia 5 лет назад
hi Hemachandran, yes you can store a JS object in Dynamo. i just tried to do it this way (from the DynamoDB docs) and it worked ok: docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html#put-property Your json object would be the value of the 'Item.MapAttribute' property. The only thing I had to add was an id (my table required it as the primary key)
@christophermartinez1769
@christophermartinez1769 3 года назад
Thanks a lot
@daronwolff
@daronwolff 4 года назад
Thanks a lot
@paothanh1344
@paothanh1344 4 года назад
hi there, how can you get all the data from the database, from this video it seems only get 1 at a time
@oleersoy6547
@oleersoy6547 5 лет назад
You rock!!
@BlockExplorerMedia
@BlockExplorerMedia 5 лет назад
thanks for watching!
@padmavatibasarkode885
@padmavatibasarkode885 Год назад
hey can one lambda perform 2 operations ? for example writing in ddb and sending request to sqs/sts ?
@RicardoChase894
@RicardoChase894 Год назад
The Best
@BlockExplorerMedia
@BlockExplorerMedia Год назад
Thanks Jiiiiiiiiang!
@keithkinyua6815
@keithkinyua6815 4 года назад
how can i save my results to a postgres DB or dynamoDB after hitting an endpoint via a lambda function
@erlanggarakasatria9652
@erlanggarakasatria9652 4 года назад
i cant get my item from dynamoDB , and the response is : { "statusCode": 200, "body": "\"Hello from Lambda!\"" } can anyone help ?
@ralphdoestream
@ralphdoestream 3 года назад
I think we have a different version of Lambda in Browser. You need to save with File -> Save Option. Then click Deploy. And then you will be able to test successfully.
@devzhy9687
@devzhy9687 Год назад
If I create a full-fledged app using AWS Lambda, do I have to create many roles and assign them manually for all the functions I create? Seems tiring.
@imaxshen
@imaxshen 3 года назад
Hi, I created a new AWS account and followed everything you demonstrated in your video. But when I tried to create a Lambda function, I got "Missing Authentication Token" error. I tried to google the error msg, but almost all the result pages are related to AWS API Gateway. Does anyone hit same issue previously? Any workaround? Thanks a lot
@shahinanishad2258
@shahinanishad2258 3 года назад
@Cloud Path, the AWS app course that you mentioned is available now in Udemy?
@devswami3159
@devswami3159 4 года назад
tq
@tigermk_nft
@tigermk_nft 2 года назад
I notice we hard coded the users in our code, what if we just want to retrieve the data say from an ip without hard coding the user names.
@prakharbakshi7627
@prakharbakshi7627 3 года назад
i cant able to put and get data from dynamoDB please help?
@JP-vg8vl
@JP-vg8vl 3 года назад
please make a tutorial on how to send data from AWS IoT to DynamoDB using Lambda
@ba-en1io
@ba-en1io 4 года назад
hey, is this series included in the free tier
@kikibonbon86
@kikibonbon86 4 года назад
At 28:00 I got an error: "self.configure is not a function" And I'm sure I have the exact same code (I checked every line 10 times 😂) Could you help me with that? Great video btw!
@dohyun0047
@dohyun0047 4 года назад
Awesome too bad i couldn't flow you because teacher didn't let me configure IAM stuff ㅠㅠ
Далее
His reaction 😳 (via @kaitlyn.b0506/TT) #shorts
00:10
Getting Started with Serverless Framework
20:53
Просмотров 30 тыс.
I've been using Redis wrong this whole time...
20:53
Просмотров 339 тыс.
AWS Lambda Python functions with a database (DynamoDB)
25:12
Building a Serverless REST API in .NET with AWS Lambda
20:13
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Просмотров 74 тыс.
Serverless Framework with AWS Lambda Crash Course
1:29:11
Красиво, но телефон жаль
0:32
Просмотров 1,3 млн
iPhone 15 Pro в реальной жизни
24:07
Просмотров 399 тыс.
Choose a phone for your mom
0:20
Просмотров 7 млн