Trigger Spring Cloud Function on AWS Lambda using API Gateway | JavaTechie

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ส.ค. 2020
  • This tutorial will guide you How trigger lambda function using API Gateway | Serverless Architecture
    #javatechie #AWS #Lambda #SpringBoot #APIGateway
    GitHub:
    github.com/Java-Techie-jt/aws...
    Blogs:
    / javatechie
    Facebook:
    / 919464521471923
    guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
    Disclaimer/Policy:
    --------------------------------
    Note : All uploaded content in this channel is mine and its not copied from any community , you are free to use source code from above mentioned GitHub account
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Thanks Basant for this wonderful aws videos, this is turning out to be the first complete AWS microservices series on youtube

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

    Nice Video, one request can you please make some video series on explaining the concept of Spring Batch. It will be really helpful.

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

    Good video 👍

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

    Good video

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

    I am getting {"message":"Internal Server Error"} calling the function from this video. Test is working fine, but calling function from API Gateway not working.
    I went through the logs - nothing to see. Tried to increase the timeout - the same error. Read various posts, including the Kyle Galbraith blog.
    I am using AWS free tier account. Thanks

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

    What is the startup time you have with the Lambda and this small demo app? We battled to get SpringBoot down to less that 23 seconds....causing some fancy footwork to get bigger Lambda's loaded when doing datasources, etc.

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

    You've saved my code!

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

    Suppose I don't want to manually change environmental for order and findorderbyname method,so is there any way to execute at same time using API or any feature?

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

    hello sir, the spring boot application is taking approx 2 seconds to startup before the code is being executed (saw it in cloudwatch logs and using max memory), is there a way to avoid it?

  • @sudheerkumar-tp1mg
    @sudheerkumar-tp1mg 9 หลายเดือนก่อน

    Actually I have existing spring boot with cotollers and need to integreated all paths in aws api gateway, ex: take 2 micro services api gateway configuration please suggest any video

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

    Thanks Basant for such wonderful Tutorial. let me know how can we avoid the FUNCTION_NAME update in case we hit the apigateway url

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

      We have option to edit from gateway otherwise create another function name without changing existing one

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

    Hi! Fantastic video! Is there a video showing how to pass Rest API gateway PUT, or POST content to cloud function and handle these content with APIGatewayProxyRequestEvent?

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

      Yup it's already there please checkout my AWS playlist

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

      any solution you found?

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

    You said we learn in the previous video. Where is that previous video? Can you paste the link here?

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

    Hi, now SpringBootRequestHandler is deprecated. I haven't found any alternative to do the function, do you know how to do this in spring-cloud-function 3.1.2 ?

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

      you can use function invocker

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

    Plss share previous tutorial link

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

    Hi Friend, SpringBootRequestHandler is deprecated. Have you created new video with latest versions? Please share a link to a video or article. Thanks

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

      No Rupesh I didn't explore it

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

    Great content , but sir can you please make a video , where lambda is invoked for an event and it is load balanced (ALB) , eg : event "write log" is an event , so by using SQS and ALb , we will trigger our lamda for the perticular event we register in sqs

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

      I will try this

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

      I am working on similar requirement

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

    How can we make a POST API ??

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

    can you release a complete video on aws gateway, configurations, connection establishment etc

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

      Okay sure i will

  • @KINGOFGAMING-ir9js
    @KINGOFGAMING-ir9js 3 ปีที่แล้ว +1

    Suppose the entire records are 5000000
    Are divided into 5 parts means 100000 records in each batch . I have to validate each record and send email whether he is eligible or not for the plan . What should i go for HIBERNATE or Spring JDBC

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

      Better to go for jdbc with batch processing or else with hibernate use completableFuture

    • @KINGOFGAMING-ir9js
      @KINGOFGAMING-ir9js 3 ปีที่แล้ว

      @@Javatechie bro can you do a video on batch processing with hube data. Every one will expect that.

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

    Hi. Thank you very much for all your videos.
    I am getting {"message":"Internal Server Error"} calling the function from this video. Test is working fine, but calling function from API Gateway not working.
    I went through the logs - nothing to see. Tried to increase the timeout - the same error. Read various posts, including the Kyle Galbraith blog.
    I am using AWS free tier account. Thanks

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

      Can you share your GitHub in javatechie4u@gmail.com

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

      ​@@Javatechieeven I also got same issue any solution you found

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

      I am also getting Internalserver error

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

      Does anyone able to resolve it ? Or still facing same issue

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

      I am also getting the same error {
      "message": "Internal Server Error"
      }

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

    How to deploy Springboot rest api in aws lambda

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

      This is what rest api only with functional style of coding

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

      @@Javatechie like if we have a controller with an endpoint , how can we use that controller method and deploy that in lambda.

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

      @@sreekanthkumar1485 I have the same question, did you find an answer to that please ?

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

      Guys I did this video please checkout my AWS playlist

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

    Getting 502 while calling the rest api

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

      Check your application health

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

      @@Javatechie how to check it

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

      Check in elastic bean stack buddy