What a beautiful example, I tried each step and Absolutely worked, and created Employee API deployed using API Gateway and Lambda function. Thank you Basant ji :)
another day another unique content :) Please ask everyone to delete the instance of lambda and api gateway in the end :D otherwise on free account also will get charge after consuming enough hours. I have faced this in the past.
Yes it's good point somehow I missed to update at end of the video . But I Don't think it will charge more as it's a lambda function and you need to only pay as used .
thanks JT. How do you get to know about the Maven Archetype to use in the first place ? what reference's do you use to learn about this ? great content as ever.
K8s with Docker will have multiple nodes created I think that itself is enough for scaling up and scaling down right , I am still not convinced with how better this AWS Lambda when compared to Docker with k8s., there might be auto scaling facility available in Docker right ?
Can you help me with below question like what are the steps need to be done My use case is for example I have to write cloud watch trigger which triggers the lambda and I want to hit only get API only So I want to hit the get api continuously using lambda and cloudwatch trigger
what if we have multiple services such as course service inside the same spring boot project how can deploy it in to the lambda and what would be best approach ?
It was a nice & informative video, but i wanted to understand why the project was created by Intellij idea and not from spring initialzr. Because i was trying to create from spring initializr and couldn't find spring serverless dependancy
I'm not sure my question is vaild or not, but the spring boot app should be running in tomcat inorder to accept request right ? Will lambda keep on running ? I know that it only startup when request hit lambda, will tomcat start when it get request or it keep on running ? If yes lambda only run for 15 mins right ?
I have a ELB url which have 3 node of app server in differenr AZ ... How and where we can implement lambda here .. please help .. How can we implement Lambda for ELB ( this ELB redirecting to direct to 3 app server and doing Load balancing )
Hello. I managed to create a jar file, put it on an S3 Bucket an uploaded to the lambda function with success. However, when I try to call any test i get the error Class not found: com.project.cr01.StreamLambdaHandler. The handler configurations has the full path, as in "com.project.cr01.StreamLambdaHandler::handleRequest". I did not create a zip as I was having a lot of errors with those libs, but the lambda accepts the jar, and I see it has all the needed files (i see them also when i download it from the lambda). Any ideas why it's not finding the StreamLambdaHandler class? Thank you so much
Bro If I open TH-cam for some other videos I see your video In list I literally forgot which Video I wanted to Play....I will just start watching your video first.......😊
Using AWS lamda you dont have to manage the server/machine like EC2, EBS, EKS. Using lamda just you need to give the jar/war files. Even scaling also will be taken care by lamda if more traffic l.
Bro Lambda can auto scale itself horizontally if there are unprecedented traffic on your requests..... for example. Your application has threshold of 1000 request per second which is hosted on 2 core 2Ghz frequency server with 4GB RAM. Lambda can allocate better resources for the time period in which there are 1000+ requests per second in your case. Then later when the traffic is low then it can deallocate the extra resource in the server... which can save subscription charges in comparison to EC2 instance where you can't have this privilege.
@@Javatechiesir they api gateway availability etc will b taken care by AWS ? 2- how we can customize gate way url as per company name 3- any aws course u providing for all this ?
Yes you can specify domain url, you have the option to specify it while creating Gateway. Exactly didn't remember the page but yes we can customize it .
Yes you can join but I will not suggest you to join now as the course will be completed within next 15 days. So it's good to purchase this with half price I will announce that shortly 😀
What a beautiful example, I tried each step and Absolutely worked, and created Employee API deployed using API Gateway and Lambda function. Thank you Basant ji :)
another day another unique content :)
Please ask everyone to delete the instance of lambda and api gateway in the end :D otherwise on free account also will get charge after consuming enough hours. I have faced this in the past.
same here bro...2 years ago i followed his tutorial and forgot to delete the resourse. then i got huge bill with free tire
Yes it's good point somehow I missed to update at end of the video . But I Don't think it will charge more as it's a lambda function and you need to only pay as used .
Hi Basant, your expertise and eagerness to teach, and simple approach is really admirable.
Thank you for the wonderful tutorial on AWS lambda. Please create a tutorial on deploying Java app using Aws ECS service.
Hi Basant. Thank you so much for your wonderful real-time example. Thank you for your valuable time for creating this video.
Doing great job sir keep it up ..ur doing great service giving such a knowledge for free of cost hats for you
Appreciate your efforts Basant. Thank You! God bless you.😊
This is so well explained! Keep up with the good work
followed same steps as in this video and able to do. Thank you
Exactly what I was looking for. Thank you
Thank you sir for this precious video.
Great lecture! Simple and obious!!
Thank you very much!!
Great explanation. Very Thankful to you.
Great example. Tried and worked for very first time. Basant can you help with security examples for accessing these lambda functions from api gateway?
Great Example. Thank You
thanks JT. How do you get to know about the Maven Archetype to use in the first place ? what reference's do you use to learn about this ? great content as ever.
Hello buddy. I was searching this deployment in medium and then found this solution so thought to share
Exllent topics doing @techie
Please do one video on ci-cd with spring micro service into aws eks
Yes I will do that
@@Javatechie yes bro , please look into it.
Thanks sir, much needed.❤
Thank you so much! very nice explanation.
Great Demo. Thanks! Keep up the good work!. Can you explain how to debug this if we wanted to?
Okay sure
Appreciate your efforts. Can you please add security also for the same if possible
Thanks for good tutorial, a good reference.. can u suggest how can we integrate this above lambda project to aws loadbalancer to access the apis
I will do that
@@Javatechie waiting for it
I did this 5 years ago and faced a lot of cold start problems then shifted to node.js at last 😢 is the cold start issue resolved now these days ?
😂
its been reduce by snapstart but still takes seconds. I try Quarkus + graal native compile and it is very fast
Same issue so I moved to Google cloud run. Cold boot issues
K8s with Docker will have multiple nodes created I think that itself is enough for scaling up and scaling down right , I am still not convinced with how better this AWS Lambda when compared to Docker with k8s., there might be auto scaling facility available in Docker right ?
Is spring boot still relevant in industry with the arrival of node js support for backend development? Would it be a time waste to learn spring boot ?
Since you haven't used any database, how is the data being persisted, given that Lambda functions are stateless?
How stateless relevant with db?
sir please do share guide for how to deploy application which has oauth2 (google,github)
Can you help me with below question like what are the steps need to be done
My use case is for example I have to write cloud watch trigger which triggers the lambda and I want to hit only get API only
So I want to hit the get api continuously using lambda and cloudwatch trigger
No idea need to check this buddy
@@Javatechie Ok sir, if there is any update please post here. Thanks 😊
it is really an useful vedio. is there any option to run this app locally before depoly into AWS?
Yes we have some CLI from aws need to explore that and update you 👍
@@Javatechie OR else if any spring boot api created thro Spring initializer can be converted to AWS lambda. Anyhow your work is awesome dude !
thank u for your guide about AWSLambda and Api gateway.
how to remove this services after use??
Just delete the function
@@Javatechie thank you.
One more question is graal vm integrated in archetype? Because I saw very few logs after the spring logo on console
Need to check buddy. Will update you
what if we have multiple services such as course service inside the same spring boot project how can deploy it in to the lambda and what would be best approach ?
It was a nice & informative video, but i wanted to understand why the project was created by Intellij idea and not from spring initialzr. Because i was trying to create from spring initializr and couldn't find spring serverless dependancy
I'm not sure my question is vaild or not, but the spring boot app should be running in tomcat inorder to accept request right ? Will lambda keep on running ? I know that it only startup when request hit lambda, will tomcat start when it get request or it keep on running ? If yes lambda only run for 15 mins right ?
very nice explanation. big thanks sir 🙏🙏
i saw aws username that was devOps4developer. are you planning to create new course devOps4developers?
This live Course already completed brother . You can checkout recorded session of that
@@Javatechie ok sir. thank you. i already checked as a devops4devloper in playlist but did not find. will check again.
No checkout description of any video you will find the course link . Just go through syllabus once
@@Javatechie ok. sir. Thanks again.
I have one question Not related to this topic but related to java . How do you load millions of record in java
How to use Springboot features like JPA and stuffs for S3event instead of APIGateway ?
Sir, is it necessary to install Maven separately to package the application?
I have a ELB url which have 3 node of app server in differenr AZ ... How and where we can implement lambda here .. please help .. How can we implement Lambda for ELB ( this ELB redirecting to direct to 3 app server and doing Load balancing )
Hello. I managed to create a jar file, put it on an S3 Bucket an uploaded to the lambda function with success. However, when I try to call any test i get the error Class not found: com.project.cr01.StreamLambdaHandler. The handler configurations has the full path, as in "com.project.cr01.StreamLambdaHandler::handleRequest". I did not create a zip as I was having a lot of errors with those libs, but the lambda accepts the jar, and I see it has all the needed files (i see them also when i download it from the lambda). Any ideas why it's not finding the StreamLambdaHandler class? Thank you so much
No buddy uploading jar won't work you need to create thin jar using zip and play with it . I am not sure why this restrictions
If i want to call this Api from other application,then how i can do it ?
can you please do a video by adding dynamo db as database for crud operations using Springboot
Bro If I open TH-cam for some other videos I see your video In list I literally forgot which Video I wanted to Play....I will just start watching your video first.......😊
Thank you for your word 😀. Keep learning buddy 👍
What if our spring boot application has log4j2 integrated...How do we ensure it is able to log our custom message to the log file??.
Still not clear why we used aws lambda here. What other things it did here which ECS or EKS cannot do?
Using AWS lamda you dont have to manage the server/machine like EC2, EBS, EKS. Using lamda just you need to give the jar/war files. Even scaling also will be taken care by lamda if more traffic l.
Bro Lambda can auto scale itself horizontally if there are unprecedented traffic on your requests..... for example. Your application has threshold of 1000 request per second which is hosted on 2 core 2Ghz frequency server with 4GB RAM. Lambda can allocate better resources for the time period in which there are 1000+ requests per second in your case. Then later when the traffic is low then it can deallocate the extra resource in the server... which can save subscription charges in comparison to EC2 instance where you can't have this privilege.
By deploying this wat ..will it can connect to RDS too ?
Yes just configure RDS instance in your code 😀
thx
@@Javatechiesir they api gateway availability etc will b taken care by AWS ? 2- how we can customize gate way url as per company name 3- any aws course u providing for all this ?
Yes you can specify domain url, you have the option to specify it while creating Gateway. Exactly didn't remember the page but yes we can customize it .
Followed each step but getting 502 Gateway Timeout issue. What could the issue can you please help me to resolve
how to test & debug lambda function locally ?
But why deploy as .zip file instead of jar?
Sir I Have hit the end point using post but response is value is null, Status code is Ok like 201, plz sir help me where is my mistake
Can you check it in your local first
@@Javatechie okay I will check and thank u so much sir
for reply me
@@Jitendra-cl7ru no problem please check and let me know if issue still persists
We need a latest microservices video
how can we deploy it for free, just for resumes for showcasing recruiters
Lambda won't charge more . You will pay only when you used it . Regarding free will check and update
Can i join your devops course now??
Yes you can join but I will not suggest you to join now as the course will be completed within next 15 days. So it's good to purchase this with half price I will announce that shortly 😀
Sure thank you
Please upload full length videos on SonarQube and J-Unit
What if i have two controller and both of them have multiple get or put requests?
In that case this api gateway configuration will not work
Yes why not because both url will.have different root url right?
Please upload full length videos on SonarQube and J-Unit