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 ❤️ - วิทยาศาสตร์และเทคโนโลยี
This is superb, Dan! Crystal clear and right to the point!
Thumbs up for making the tests!
This is great Dan! Please make more JAVA/AWS Lambda vids.
Dan Vega's video = upvote. Thanks man!
* link to the repo included. Great tutorial!
Very clean explanation. Thanks
Thank you very much! Great tutorial!!!
Love these videos Dan, keep em coming! Doing the community a favour. big time.
Thank you for the kind words James.
Very good! Let's see more advances java lambda function video.
Thanks for the video. This helps a lot.
Great video! Thanks for sharing!
Great tutorial. Thanks
Thank you very much Dan!
Appreciated. Very useful.
Awesome! Thank you!
I'd like to see more like this great tutorial thanks dear
I love you Dan, maximum useful video. Thanks.
Keep going Dan!
Thank you very much!!!!
Amazing! Thank you!
Thank you!
❤ this is awesome one
You cant imagine how much I grateful to you for this videos. Thank you a lot for your amazing job!
Very useful content Dan..
Glad it was helpful!
Good job well done :)
Great video! Would love to know more about Lambda, perhaps a bit complicated, or a real-world example will greatly help.
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.
Nice
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?
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.
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)?
how to install maven shade plugin for intelliJ?
11th...Thanks Dan.
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?
I can't understand why your jar is sno small (2.5KB). My Jar is 16.
how can i enable msp autocomplete?
Were you able to activate MSP autocomplete? How do this ? help me pls
@@JhoseBieel Hi, did not configure it.
🫶🇲🇽
There is no link to the repo (as promised in the video). Don't waste time here.
or... Dan it seems like you missed putting the link to the Github Repository in the description. Can you please add that? 🤦♂
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.
what to add actullay complete description ?
@@DanVega
@@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! 👏