AWS Lambda Java: How to create your first AWS Lambda Function in Java

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ย. 2022
  • In this tutorial, you will learn how to create your first AWS Lambda function in Java. I will walk you through how to create the project from scratch using Maven, how to write the serverless function using Java, and finally how to build and deploy the function to AWS.
    🔗Resources & Links mentioned in this video:
    Serverless Spring: tanzu.vmware.com/developer/gu...
    GitHub Repo: github.com/danvega/newsletter...
    👋🏻Connect with me:
    Website: www.danvega.dev
    Twitter: / therealdanvega
    Github: github.com/danvega
    LinkedIn: / danvega
    Newsletter: www.danvega/dev/newsletter
    SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @huaqian3654
    @huaqian3654 9 หลายเดือนก่อน

    This is superb, Dan! Crystal clear and right to the point!

  • @Confusedcapybara8772
    @Confusedcapybara8772 10 หลายเดือนก่อน +1

    Thumbs up for making the tests!

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

    This is great Dan! Please make more JAVA/AWS Lambda vids.

  • @MarcoDebernardi-xj8sv
    @MarcoDebernardi-xj8sv 9 หลายเดือนก่อน

    Dan Vega's video = upvote. Thanks man!

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

    * link to the repo included. Great tutorial!

  • @umittas20000
    @umittas20000 11 หลายเดือนก่อน

    Very clean explanation. Thanks

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

    Thank you very much! Great tutorial!!!

  • @James-to6lh
    @James-to6lh ปีที่แล้ว +4

    Love these videos Dan, keep em coming! Doing the community a favour. big time.

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

      Thank you for the kind words James.

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

    Very good! Let's see more advances java lambda function video.

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

    Thanks for the video. This helps a lot.

  • @BobFixOn
    @BobFixOn 11 หลายเดือนก่อน

    Great video! Thanks for sharing!

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

    Great tutorial. Thanks

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

    Thank you very much Dan!

  • @selvasun4491
    @selvasun4491 11 หลายเดือนก่อน

    Appreciated. Very useful.

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

    Awesome! Thank you!

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

    I'd like to see more like this great tutorial thanks dear

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

    I love you Dan, maximum useful video. Thanks.

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

    Keep going Dan!

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

    Thank you very much!!!!

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

    Amazing! Thank you!

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

      Thank you!

  • @vigneshkv2478
    @vigneshkv2478 11 หลายเดือนก่อน

    ❤ this is awesome one

  • @user-zn2ym3qj1v
    @user-zn2ym3qj1v ปีที่แล้ว

    You cant imagine how much I grateful to you for this videos. Thank you a lot for your amazing job!

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

    Very useful content Dan..

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

      Glad it was helpful!

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

    Good job well done :)

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

    Great video! Would love to know more about Lambda, perhaps a bit complicated, or a real-world example will greatly help.

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

      Lambda is a serverless compute service, or a Function as a Service (FaaS) offering, that runs code in response to events and automatically manages the underlying compute resources for you. This makes it a great choice for hosting microservices, data processing jobs, and event-driven applications.
      A real-world example of Lambda is an image processing application. For example, you can set up a Lambda function to automatically resize user-uploaded images for different platforms. When a user uploads an image, the function is triggered and automatically resizes the image to the specific dimensions required for the platform. The Lambda function can also store the resized images in an S3 bucket. This type of application would be difficult to build and manage on a traditional server, but is easily achievable with Lambda.

  • @rajemon
    @rajemon 5 หลายเดือนก่อน

    Nice

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

    Great video! I guess maven shade plugin is meant to be used to create uber jar for non Spring Boot apps, because Spring Boot uses spring-boot-maven-plugin, is that correct?
    Also just as a food for thought, why is maven shade not used by default for Spring? Any advantages of the spring-boot-maven plugin? Or it is built on top of maven shade plugin?

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

    Superb. Thank you
    Do you know if there is a way to configure your AWS lambda account, to tell Amazon a max dollar amount you want to spend, and then if you accidentally exceed that amount with your resources, they either immediately notify you, or just simply shut down your site? I'd prefer it works that way.
    I'd hate to get a big surprise bill from amazon, because I didn't know my code was very inefficient, and the code was spending too much time during a function invocation.

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

    In the 1st example, i don't understand when you 'test' using empty string, and 'test' succeed. what test is it? is the lambda running the junit test you write earlier, because it's also packed in the jar? or it's just calling the handler deployed in aws and see that SOME response is coming back (but not verifying the value of response)?

  • @himalaygswm
    @himalaygswm 6 หลายเดือนก่อน +1

    how to install maven shade plugin for intelliJ?

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

    11th...Thanks Dan.

  • @ChazWinter
    @ChazWinter 6 หลายเดือนก่อน +1

    7:44 The file name specified in the terminal is not the filename you're pointing your mouse at in the directory. And then you file you uploaded was the ORIGINAL file, and not the SHADED one that replaced it. It's stuff like this that confuses me. Aren't those two different files? If the file names are intentionally different, that seems like something to mention.
    Why is the filename in the terminal different from the ones in the directory?
    If the point was to replace the ORIGINAL jar with the SHADED jar, why did you then upload the ORIGINAL jar instead?

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

    I can't understand why your jar is sno small (2.5KB). My Jar is 16.

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

    how can i enable msp autocomplete?

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

      Were you able to activate MSP autocomplete? How do this ? help me pls

    • @nolediganamimadre5714
      @nolediganamimadre5714 หลายเดือนก่อน +1

      @@JhoseBieel Hi, did not configure it.

  • @joseeduardoguerreromartine3400
    @joseeduardoguerreromartine3400 11 หลายเดือนก่อน

    🫶🇲🇽

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

    There is no link to the repo (as promised in the video). Don't waste time here.

    • @DanVega
      @DanVega  ปีที่แล้ว +11

      or... Dan it seems like you missed putting the link to the Github Repository in the description. Can you please add that? 🤦‍♂

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

      Thanks for adding the repo in the description​ @Dan Vega. Great tutorial (whole series).
      I was just frustrated with the practice of not including source code in the tutorial. I saw that too many times and I'm guessing that motivation comes from the fact that source code significantly accelerates the learning process which leads to less time spent on the video.

    • @charik7343
      @charik7343 5 หลายเดือนก่อน

      what to add actullay complete description ?
      @@DanVega

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

      @@DanVega maybe that should be “go ahead” and add that. Loved the video but lost count of the number of times you say “I’m going to [go ahead and] [do thing]…”. But hey, still a good intro! 👏