I came from the "Spring Boot y Java en español" Facebook community... And I have to say that It was a very useful video to give me a brief idea of how aws lambda and spring boot deployment process works. New sub here!
Hi @Bro - your tutorials are great but can you please explain how to integrate the and develop microservices architecture and also manage the properties files using lambda function. that would be great. Thanks
About the microservices, I've created a playlist some time ago: th-cam.com/video/iwq0rc-PYNQ/w-d-xo.html. About the properties file using Lambda, as you use Spring Boot, it's actually the same.
@@TheDevWorldbySergioLema i don't know why i get build.gradle when i create maven archtype project :/ Currently I'm trying to test my app with aws toolkit plugin before deploying it. Don;t know what i am doing but here goes nothing 🥲
It's hard to do it, because, by default, you exclude the Tomcat webserver from Spring Boot. This means that you can't run it in your laptop. What I do, create unit tests that request the endpoints.
Hi man, great video! I have a question, you've created a maven archetype project and using ready dependencies. What if I already have ready Spring Boot project? I don't want recreate whole project with a lot of dependencies, connected DB and other. What I need to do then? Thank you
Yes, using Gradle or Maven changes nothing about the application nor the packaging. What you must change is the way the plugins and dependencies are fetch. I remember when building the archetype that both the pom.xml and gradle.build are available.
Great video! I am wondering if you have the template file for AWS SAM do you need to create and upload the lambda? SAM should do that for you. I am currently working on a DynamoDB trigger and would like to have the Spring features you mentioned along with AWS SAM to deploy. SAM init, uses the old AWS SDK for Java and not AWS SDK for Java 2.x unless there is something I am doing wrong.
How do you deal with coldstart? Normally the instance is being shutdown after apporox. 5-7 minutes. Is it possible to keep it alive for not having long responses in between?
First of all, SnapStart has been a thing for quite some time now which heavily reduces cold start. But yes, you can keep your lambdas warm by simply creating a cron job that would fire a request every minute or two or use CloudWatch Timers.
I came from the "Spring Boot y Java en español" Facebook community... And I have to say that It was a very useful video to give me a brief idea of how aws lambda and spring boot deployment process works. New sub here!
Thank you! I try my best
Very helpful video! I couldn't run the Lambda function for a long time. I followed the recommendations from the video, and everything started working.
I'm so happy it helped you!
Hi @Bro - your tutorials are great but can you please explain how to integrate the and develop microservices architecture and also manage the properties files using lambda function. that would be great. Thanks
About the microservices, I've created a playlist some time ago: th-cam.com/video/iwq0rc-PYNQ/w-d-xo.html.
About the properties file using Lambda, as you use Spring Boot, it's actually the same.
awesome video!
Thank you!
@@TheDevWorldbySergioLema i don't know why i get build.gradle when i create maven archtype project :/ Currently I'm trying to test my app with aws toolkit plugin before deploying it. Don;t know what i am doing but here goes nothing 🥲
Can i deploy my springboot app which is image form to lambda? Do you have any link for it
You have the available project in my Github repository: github.com/serlesen/java-lambda
@@TheDevWorldbySergioLema thank you.. you are so kind.
Great video
Thanks John!
How to run this project locally to test the APIs?
It's hard to do it, because, by default, you exclude the Tomcat webserver from Spring Boot.
This means that you can't run it in your laptop.
What I do, create unit tests that request the endpoints.
Hi man, great video! I have a question, you've created a maven archetype project and using ready dependencies. What if I already have ready Spring Boot project? I don't want recreate whole project with a lot of dependencies, connected DB and other. What I need to do then? Thank you
Hi, you need to create the main method according the my project, add the StreamLambdaHandler, and the Maven dependencies to build the JAR or ZIP file
@@TheDevWorldbySergioLema will it work if I am using Gradle as my building system?
Yes, using Gradle or Maven changes nothing about the application nor the packaging. What you must change is the way the plugins and dependencies are fetch. I remember when building the archetype that both the pom.xml and gradle.build are available.
If I deploy telegram bot using spring boot, the process is the same?
I've never tried something like this. I don't know
How do you make a single API Gateway use multiple Spring Boot lambda functions?
When configuring the api gateway, you can choose the path and the target. Here, choose as target different lambdas
Great video! I am wondering if you have the template file for AWS SAM do you need to create and upload the lambda? SAM should do that for you. I am currently working on a DynamoDB trigger and would like to have the Spring features you mentioned along with AWS SAM to deploy. SAM init, uses the old AWS SDK for Java and not AWS SDK for Java 2.x unless there is something I am doing wrong.
The SAM template is available in the Github repository of the project.
I didn't use it because I wanted to explain step by step all the services used.
@@TheDevWorldbySergioLema Fantastic! Thank you! I look forward to more of your content. :-D
How do you deal with coldstart? Normally the instance is being shutdown after apporox. 5-7 minutes. Is it possible to keep it alive for not having long responses in between?
I haven't found a solution for that.
First of all, SnapStart has been a thing for quite some time now which heavily reduces cold start. But yes, you can keep your lambdas warm by simply creating a cron job that would fire a request every minute or two or use CloudWatch Timers.
Cool
Thanks!