Intro to AWS Lambda with Python | AWS Lambda Python Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ค. 2019
  • Join us in this video tutorial we walk through step-by-step how to write AWS Lambda functions in Python to interact with S3 and DynamoDB.
    Topics covered include: AWS Lambda functions, Python, Python Boto3 SDK, DynamoDB, S3
    Intro to AWS Lambda (NodeJS / Javascript version):
    • AWS Lambda & DynamoDB ...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 194

  • @TheTruthNotControl
    @TheTruthNotControl 4 ปีที่แล้ว +131

    I really appreciate that you made a video with errors and fixed those errors in your video. That is far more important then making a clean video where everything goes fine. Half the people watching your video like myself are learning and to see that even those in the know get errors and have to work through them is good to see. So appreciate you keeping that in the video, kudos to you sir!

  • @studentlearner1453
    @studentlearner1453 5 ปีที่แล้ว +289

    14:00 - Really great to see you receiving multiple errors one after another and then fixing it one by one - please do not edit out such step-by-step learnings from your videos and simply show the final ‘working code’ (as many instructors do).

    • @BlockExplorerMedia
      @BlockExplorerMedia  5 ปีที่แล้ว +69

      yep, I like to leave mistakes, etc. in the videos because it helps illustrate real world development and how to go about solving problems as they come up.

    • @renyirish
      @renyirish 4 ปีที่แล้ว +1

      Exactly...well agreed!

    • @KalyaElisha
      @KalyaElisha 4 ปีที่แล้ว +3

      Very true. Those errors getting fixed as you watch is really the way to go since learners will most likely run into the same errors.

    • @PaulJamesOnGoogle
      @PaulJamesOnGoogle 4 ปีที่แล้ว +1

      @@BlockExplorerMedia Yup, very helpful, thanks!

    • @injrav7160
      @injrav7160 4 ปีที่แล้ว

      The best instructions on lamda and Python

  • @tHcnunz
    @tHcnunz 3 ปีที่แล้ว +3

    As everyone is saying here, love that you have left in all the errors you encountered and worked through them. Troubleshooting 101. Great job mate!

  • @benweaver6544
    @benweaver6544 4 ปีที่แล้ว +1

    This is one of the best tutorials I have seen in a long time. It was candid and practical. It started with a very simple example that nevertheless showed most of the many setup details for lamdas. These details of setup are not obvious to the newcomer, but the tutorial explained them very clearly. Then it moved on to other very useful examples, like accessing a database also in AWS. Along the way, the author courageously showed, and then very well explained, what kind of mistakes python newbies like myself might make. Excellent.

  • @MarcMcRae
    @MarcMcRae 4 ปีที่แล้ว

    Like most people here, am learning, specifically python and how to use it within AWS. This tied a whole bunch of tech and concepts together for me. Really appreciate this kind of sharing, with real-time errors. Thank you.

  • @Van-pf2or
    @Van-pf2or ปีที่แล้ว +1

    I really loved this video with errors and fixes. Its 1000% times better than an usual video with no errors. As a developer, I really love it.

  • @zacharygonzales4113
    @zacharygonzales4113 4 ปีที่แล้ว +2

    Thank you for uploading this tutorial. This has given me the confidence to go forth and learn python by creating lambda functions!

  • @lynzapalac6483
    @lynzapalac6483 3 ปีที่แล้ว +1

    Thanks So Much for making a REALISTIC video of your process. It is such a relief to see someone go through the process of not doing it perfectly the try and going through the troubleshooting process. I learned so much. You are teaching us "How to Fish" instead of just giving us the fish to eat :-)

  • @hasifzulkifli5416
    @hasifzulkifli5416 4 ปีที่แล้ว

    Thanks for this tutorial! Ive tried many nodejs but python makes my life easier with this tut!

  • @tylerdavis3745
    @tylerdavis3745 4 ปีที่แล้ว

    I agree with the others. You leaving the errors in the video was super helpful to me. It really cleared up a lot of the questions I was having on permissions. Thank you so much!

  • @palashs1
    @palashs1 4 ปีที่แล้ว +1

    I like your style wherein you encounter issues and solve them on the fly. Thank you..

  • @sanjayplays5010
    @sanjayplays5010 4 ปีที่แล้ว

    I agree with the others, it's really good to see how you went about fixing those errors that popped up. I actually ran into that exact issue so it was really helpful to see the solution to what's probably a very common problem. Thanks for the quality upload!

  • @kesterbelgrove818
    @kesterbelgrove818 3 ปีที่แล้ว

    Thank you, thank you , thank you. I was looking for a beginners course in lambda and you did it. The errors in it were super helpful also as it helps with finding and resolving issues that I may have in the future. Keep up the good work and again.... thank you

  • @lakshmimaha5716
    @lakshmimaha5716 2 ปีที่แล้ว +1

    Highly satisfied with the demo in a simple and clean way

  • @david2358
    @david2358 3 ปีที่แล้ว +1

    Thank you for this video, for the first time now, i am starting to understand where/how lambda can be used. 👍

  • @MrTheAnt
    @MrTheAnt 4 ปีที่แล้ว +4

    Subbed, a good and honest walk through. Really helped me with Lambdas thanks :)

  • @ashwindhage7305
    @ashwindhage7305 2 ปีที่แล้ว +2

    That's a very easy and simplest way to explain any beginner, thanks for making such videos.

  • @anthonygonsalvis121
    @anthonygonsalvis121 3 ปีที่แล้ว

    @Cloud Path, Very nice, step-by-step explanation without any mindless cliche typical of the industry. Thank you and please keep up the good work.

  • @Gorbachul
    @Gorbachul ปีที่แล้ว

    Agree with comments here that keeping and explaining the errors in this tutorial adds much educational value.

  • @SaiKiran-kd6cq
    @SaiKiran-kd6cq 3 ปีที่แล้ว

    I am on half way but this video is damn useful unlike some who advertise more and have less content. This is exactly the opposite of that .Very Impressive .

  • @rajsona
    @rajsona 3 ปีที่แล้ว

    Liked the way you are teaching and resolving errors on the go.

  • @JuniorShepherd
    @JuniorShepherd 2 ปีที่แล้ว

    Excellent tutorial and I appreciate your honesty in showing us your errors and how you fixed them. That enhances the learner's experience. :)

  • @pavansingara9408
    @pavansingara9408 3 ปีที่แล้ว +1

    Really good explanation , I wanted to learn how coding actually works in a cloud this was awesome.

  • @cesarmostacero
    @cesarmostacero 4 ปีที่แล้ว +5

    Great tutorial, it's a nice getting started with aws-lambda, everything clear and awesome that you included error-fix process and not only the happy path, I think that was the best part of this video!
    Few recommendations:
    1 - You might also use an example to re-use already existing role on different lambdas (it was implicitly, but still it helps new people on aws).
    2 - Maybe the only one missing part was include a lambda with both services (dynamodb and s3)
    3 - For putItem function, you could take it to explain how to make it dynamic instead of hardcoded using arguments.
    4 - Sample of test different of the default one.
    Anyways those 4 points could be taken as next steps for audience to practice the learnings from this video.
    Again, great tutorial!

    • @BlockExplorerMedia
      @BlockExplorerMedia  4 ปีที่แล้ว +2

      hi Cesar - thanks a lot for the feedback. i hope to do some new aws tutorials soon and will integrate your suggestions.

  • @RavindraKumar-to4zl
    @RavindraKumar-to4zl 4 ปีที่แล้ว +1

    just because of this video i'm subscribing your channel.. great work.

  • @Jason7591969
    @Jason7591969 4 ปีที่แล้ว

    Great video, I enjoyed seeing you make mistakes and how you resolved them!

  • @VivekKBangaru
    @VivekKBangaru 2 ปีที่แล้ว

    Really Great demonstration with Lambda Function. Thank you so much.

  • @sampyism
    @sampyism 6 หลายเดือนก่อน

    Thank you, I appreciate this video. Introduced me to Lambda in an easy to understand manner.

  • @payam-bagheri
    @payam-bagheri 3 ปีที่แล้ว

    Really clear demonstrations; thank you!

  • @retheeshandrews5798
    @retheeshandrews5798 ปีที่แล้ว

    Excellent video, thanks much for keeping the errors in the video and showing how you fixed them.

  • @HimanshuGupta-nk9yf
    @HimanshuGupta-nk9yf 4 ปีที่แล้ว

    Those errors were really helpful! Thanks for a great video!

  • @BlazinEdit
    @BlazinEdit 3 ปีที่แล้ว

    Pure gold, hope we can get more content from you

  • @dillipsahu8306
    @dillipsahu8306 10 หลายเดือนก่อน

    excellent course with super explanation.

  • @windowspowershellawscloudv8591
    @windowspowershellawscloudv8591 2 ปีที่แล้ว +1

    Excellent session. Very helpful. I have done everything along with you and learnt a lot. Thank you so much

  • @moglimogify
    @moglimogify 7 หลายเดือนก่อน

    Concise and easy to understand, Thank you :)
    WARNING: for dynamoDB, make sure your table is created in the same region as your function. For some reason dynamoDB window defaulted to a different location. I had to recreate it in the same region.

  • @LearningToLiveNow
    @LearningToLiveNow 4 ปีที่แล้ว

    EXCELLENT VIDEO! Thank you!

  • @macmohanku
    @macmohanku 4 ปีที่แล้ว

    Great stuff Man. Thanks for uploading.

  • @chaitanyakumar979
    @chaitanyakumar979 4 ปีที่แล้ว

    I enjoyed troubleshooting which is unconventional content creation...sub'ed instantly. Looking forward to see more videos on Boto3/python and AWS combination. way to go.

  • @swathinr4286
    @swathinr4286 4 ปีที่แล้ว

    Exactly what I was looking for. Brilliant video!! Liked, subscribed :)

  • @anujdhiman9649
    @anujdhiman9649 3 ปีที่แล้ว

    Thank you so much for such a great explanation step by step

  • @dukegaming2231
    @dukegaming2231 3 ปีที่แล้ว

    Cheers .. my troubleshooting skills got better due to this video😁
    And literally this video is informative 👍..thanks

  • @douniam.a.8694
    @douniam.a.8694 9 หลายเดือนก่อน

    This is a wonderful video, i learned a lot, I love it. I also like that you had errors and fixed them. Thank you very much for your efforts.

  • @chinarquality
    @chinarquality 3 ปีที่แล้ว

    Super thanks for wonderful lambda lab

  • @hycinth5371
    @hycinth5371 4 ปีที่แล้ว

    Excellent! Thank you!

  • @srivanipatchava6172
    @srivanipatchava6172 2 ปีที่แล้ว +1

    i needed in python...thnakssss a lott

  • @alexemanoel9432
    @alexemanoel9432 3 ปีที่แล้ว

    Awesome tutorial. Thank you!

  • @jamesvalery9367
    @jamesvalery9367 3 ปีที่แล้ว

    Thank you so much for this!!

  • @tedmanasa907
    @tedmanasa907 4 ปีที่แล้ว

    Great video, really helpful! I’ll use this to get my own serverless Python web app up and running. Thanks!

    • @timmytat
      @timmytat 3 ปีที่แล้ว

      did you?

  • @viniciushenrique8211
    @viniciushenrique8211 ปีที่แล้ว

    Great tutorial! Thanks, bro

  • @kolektivmozak238
    @kolektivmozak238 4 ปีที่แล้ว

    Pretty cool - thanks!

  • @sanjayg2686
    @sanjayg2686 3 ปีที่แล้ว

    Wonderful explanation with grate control over the code , keep it up!

  • @CoolBishop1997
    @CoolBishop1997 4 ปีที่แล้ว

    beautiful and fun tutorial! thanks sir

  • @rishabsharma7114
    @rishabsharma7114 3 ปีที่แล้ว

    Bro you are great.

  • @FinanzMinimalist
    @FinanzMinimalist 3 ปีที่แล้ว

    Awesome tutorial. Thank you! :)

  • @andresgutierrez3965
    @andresgutierrez3965 2 ปีที่แล้ว

    Great video, thanks for sharing

  • @madansirish9356
    @madansirish9356 4 ปีที่แล้ว

    Really enjoyed... Nice explanation

  • @swetasingh4404
    @swetasingh4404 3 ปีที่แล้ว

    It's really helpful for beginners ...thanks 👍

  • @franciscogustavomotamunoz7077
    @franciscogustavomotamunoz7077 3 ปีที่แล้ว

    Congratulations, a natural and great tutorial, you make it seem simple, thakyou

  • @MarcelaoVMS
    @MarcelaoVMS 3 ปีที่แล้ว

    very good tutorial! Thank you very much!

  • @manisharora2084
    @manisharora2084 4 ปีที่แล้ว

    great video !! Thank you. Good troublehsooting

  • @rickhehe
    @rickhehe 2 ปีที่แล้ว

    Thanks for the instruction. I appreciated it very much. BTW, in relation to the last example, string worked for me.

  • @vinaykumar-qq9wq
    @vinaykumar-qq9wq 3 ปีที่แล้ว

    Definitely a good tutorial including debugging stuff, Keep up good work.,

  • @ernestledo341
    @ernestledo341 4 ปีที่แล้ว

    You are awesome. Keep up the good work

  • @ayencoscolfield3312
    @ayencoscolfield3312 ปีที่แล้ว

    this was cool thanks even though i have a bit of experience but i still appreciate your work

  • @rossbrook9182
    @rossbrook9182 ปีที่แล้ว

    great video, thanks

  • @samanehghafouri5743
    @samanehghafouri5743 3 ปีที่แล้ว

    Thank you it was perfect! I realized whenever you get errors and you see your code looks fine, you just need to go back and save your code again, and it will work fine! I think there is a delay for aws to execute code in lambda.

  • @pavansingara9408
    @pavansingara9408 3 ปีที่แล้ว

    Fantastic 👍

  • @Oumayma_essarhi
    @Oumayma_essarhi 10 หลายเดือนก่อน

    Thank you it was very useful

  • @KundanKumar-uu9ws
    @KundanKumar-uu9ws 4 ปีที่แล้ว

    Great job...keep up the good work. It was really helpful. Your content was very good.

  • @srikarthallada6307
    @srikarthallada6307 3 ปีที่แล้ว

    Excellent Video. I'm waiting for new videos on AWS Lambda with python

  • @moiacolucci
    @moiacolucci 4 ปีที่แล้ว +1

    Decent walkthrough of Lamdba. Would appreciate explanations of the components of Lamdba though, i.e., handlers, context, events...

  • @peterlom6160
    @peterlom6160 4 ปีที่แล้ว

    Very nice tutorial! Non-sarcastic comment: your tiny hiccups made this EXCELLENT because you showed us how to locate errors.

  • @kesterbelgrove818
    @kesterbelgrove818 3 ปีที่แล้ว +2

    I see you haven't posted in a year. Hope you have plans to produce more videos in the future. You are an important resource please don't stop

  • @trevorw2681
    @trevorw2681 2 ปีที่แล้ว +1

    Amazing tutorial for a complete noob like me. I love how raw this video is.

    • @BlockExplorerMedia
      @BlockExplorerMedia  2 ปีที่แล้ว

      Thanks Trevor. Yeah most my videos are on the raw side and rough around the edges lol glad to hear that's a good thing!

  • @markclayton9163
    @markclayton9163 ปีที่แล้ว

    That was good, thanks

  • @stannylou1636
    @stannylou1636 3 ปีที่แล้ว

    Thanks a bunch

  • @prabhatpal1153
    @prabhatpal1153 3 ปีที่แล้ว

    Really its great explanation error with solution.

  • @pcomalumni
    @pcomalumni 4 ปีที่แล้ว

    very good. thank you

  • @ArunKumar-bp5lo
    @ArunKumar-bp5lo ปีที่แล้ว

    thank you so much

  • @sridharb8154
    @sridharb8154 4 ปีที่แล้ว

    Awesome video , please upload more videos on Lambda with Python

  • @febinmohammed6160
    @febinmohammed6160 4 ปีที่แล้ว

    Please continue doing videos with pyton. Thaknx👍🏻

  • @DopeHub
    @DopeHub 3 ปีที่แล้ว +1

    Thank you for this.really helped me.
    please upload new videos

  • @ShahabAffan
    @ShahabAffan 4 ปีที่แล้ว

    Helpful content

  • @psychobuddha5379
    @psychobuddha5379 4 ปีที่แล้ว +1

    Awesome tutorial! I recently started learning AWS, and I will need to combine it with Python, so this really helped. I am just curious why do have to pass event and context every time, if we're not using it? Also, do we must return a dict with statusCode and body, why we just don't return the content?

  • @anfedres
    @anfedres 4 ปีที่แล้ว +1

    Dude, best tutorial ever. I have found several of them where they just talk and talk and the tutorial takes 40 - 60 minutes. I mean... why! yours instead... it was clear and straight to the point. Do you have a tutorial based on IAM? If not... it would be great if you could make one... thanks!

    • @BlockExplorerMedia
      @BlockExplorerMedia  4 ปีที่แล้ว

      Thanks Andres, glad you found it useful! I have been thinking about doing one on IAM...it's definitely on my list.

  • @aiktunchannel
    @aiktunchannel 2 ปีที่แล้ว

    Thanks 😊

  • @mhashmi3593
    @mhashmi3593 4 ปีที่แล้ว

    Good one. Please add more complex Lambda functions for some realistic application or based on something microservices in Python.

  • @hamids2065
    @hamids2065 2 ปีที่แล้ว +1

    Nice video:)

  • @sureshr3659
    @sureshr3659 3 ปีที่แล้ว

    Good Video

  • @dawidkrol
    @dawidkrol 2 ปีที่แล้ว

    Thank you for your video.
    It's really cool that we can see how you solve errors. :)

  • @alan123hvy7
    @alan123hvy7 4 ปีที่แล้ว

    Thank youuuuuuuu!!!!!!!!!!!!!!!

  • @zaidalattar2483
    @zaidalattar2483 3 ปีที่แล้ว

    Perfect!

    • @SohailKhan-ll9kh
      @SohailKhan-ll9kh 3 ปีที่แล้ว

      How is your learning bro? Are you using python or java?

  • @ForsakePariah
    @ForsakePariah 4 ปีที่แล้ว +3

    Really liked the video! As a side note, I wouldn't focus so much on zooming in and out. So long as your resolution is good, we can see it.

  • @subhajitmishra8597
    @subhajitmishra8597 4 ปีที่แล้ว

    That helped me a lot. Thanks for he video and also can you please make a video on how to get data from a form or any dynamic page and store it in dynamodb using lambda and apigateway ! Also if possible please make a video abt how to use boto3 commands(u know the aws boto3 documents)

  • @adrestrada1
    @adrestrada1 3 ปีที่แล้ว

    nice tutorial guy. :) I would like see this work with scala . :)

  • @rugvedkhanwalkar2785
    @rugvedkhanwalkar2785 4 ปีที่แล้ว

    Amazingly taught buddy! Really enjoyed the learning.. I don't know may be you can have an entire playlist with application of boto3

    • @cesarmostacero
      @cesarmostacero 4 ปีที่แล้ว

      Agree! Some basic examples for different services or even a kind of CRUD functions applied to s3.

  • @dgillies5420
    @dgillies5420 4 หลายเดือนก่อน

    22:00 I used the following bit of code so that I could just append the dynamodb code to the existing lambda function to list all the s3 buckets AND run the dynamodb query, so both bits of code run in the same lambda function.
    bucket_list.append(table.get_item(
    Key={
    'id': 'mercury'
    }
    ))

  • @sourceschaudes9587
    @sourceschaudes9587 4 ปีที่แล้ว +1

    Hi, how to deal with Conda environment ? is it possible to include it in the lambda function?

  • @arig2519
    @arig2519 3 ปีที่แล้ว

    Very nice video, especially explaining the errors! Do you have any reference (document or video) for working with Lambda and EC2? I have tried using basic Lambda functions such as describe.ec2 and so on but I am not sure what I should setup as Trigger in the AWS Console?

  • @lavakumar5181
    @lavakumar5181 2 ปีที่แล้ว

    Please do more videos on python and lambda