AWS Lambda with API Gateway and CloudWatch Example | Serverless Architecture | Tech Primers

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 มี.ค. 2019
  • This video covers how can we create a AWS Lambda (using Java) with Amazon API Gateway and use Amazon Cloud Watch to stream logs.
    Github Link for the code: github.com/TechPrimers/aws-la...
    Website: techprimers.com
    Slack Community: techprimers.slack.com
    To get invite, drop a mail to info@techprimers.com
    Twitter: / techprimers
    Facebook: TechPrimers
    GitHub: github.com/TechPrimers or techprimers.github.io/
    Video Editing: iMovie
    Background Music:
    Joakim Karud
    Dyalla
    ---------------------------------------------------------------
    Disclaimer/Policy:
    The content/views/opinions posted here are solely mine and the code samples created by me are open sourced.
    You are free to use the code samples in Github after forking and you can modify it for your own use.
    All the videos posted here are copyrighted. You cannot re-distribute videos on this channel in other platforms.
    #AWSLambda #AmazonAPIGateway #AWSPrimer
  • แนวปฏิบัติและการใช้ชีวิต

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

  • @vjnt1star
    @vjnt1star 4 ปีที่แล้ว +14

    +1 from me for using a Java based Lambda. I hate all this node.js nonsense

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

      Bro complied language are not great for lambda due cold start.

  • @AnandKumar-is1lp
    @AnandKumar-is1lp 5 ปีที่แล้ว +1

    You rocks, big thanks for your videos

  • @lorenzodinelli2329
    @lorenzodinelli2329 4 ปีที่แล้ว

    Sei un grande, grazie a te AWS smetterà di provare a SPILLARMI gli spiccioli con quelle chiamate

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

    nice video i was looking for something lambda function with java this helped me out

  • @RajeshSamson
    @RajeshSamson 5 ปีที่แล้ว +2

    Very Nice video and it's an interesting topic to investigate.

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

    Thank you. Well explained

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

    Great bro, looking for more tutorials

  • @AnkitYadav-pm3xi
    @AnkitYadav-pm3xi 4 ปีที่แล้ว +1

    Learned something new.. thanks

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

    Nice tutorial. But you've missed to show the S3 storage and how it's being saved.

  • @ajinkyapande9767
    @ajinkyapande9767 5 ปีที่แล้ว +2

    Amazing...

  • @karthiky898989
    @karthiky898989 4 ปีที่แล้ว

    Excellent video

  • @rahulgoti3864
    @rahulgoti3864 5 ปีที่แล้ว +2

    Thank You

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

    thanks it was good

  • @anirbanroy1524
    @anirbanroy1524 5 ปีที่แล้ว +4

    Great one.. can you show something with posting some values to api gateway/ lambda.

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

    Good one.. with lamba 👍

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

    Awesome

  • @kaushalkishorerocker
    @kaushalkishorerocker 5 ปีที่แล้ว

    Good job bro , can you please give a demo on how will it work if trigger point is code commit from git . Additionally lambda as of now is not taking any specific object request i.e the request is a generic object how can we make it object eccentric like a student object coming in the request .

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

    How can i merge two different log group like want to get data from lamba logs and api gateway logs

  • @ts_sci
    @ts_sci 4 ปีที่แล้ว

    Le tue arti sopraffine della programmazione hanno superato le barriere di AWS

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

    It's possible to deploy spring boot app on lambda
    I mean what about fronted ?

    • @TechPrimers
      @TechPrimers  5 ปีที่แล้ว +2

      Yes you can do it. However startup time of the lambda will be more. The more complexity you add in your lambda it will turn into a bigger chunk and wont be usable with lambda. Since lambda has size n memory restriction. For UI, you can host it as another Lambda with a API Gateway.

  • @Kishor.Boddu_25
    @Kishor.Boddu_25 5 ปีที่แล้ว +1

    can our lambda call mirco service which is running inside the ec2 to get the response back to api gateway?

    • @TechPrimers
      @TechPrimers  5 ปีที่แล้ว

      yes you can use it like any other service.

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

    Ajay, Did the jar uploaded to s3 bucket by default when we uploaded to lambda??

    • @TechPrimers
      @TechPrimers  5 ปีที่แล้ว

      actually it didn't. But we can references from our S3 buckets

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

    Sir can you please make a video on how to use aws cognito with aws lamda and gateway

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

    Hello Primers,
    I have just watched Tech primers AWS lambda tutorial on youtube. I have doubt whihc is mentioned below
    1. If we want to expose 50 on aws lambda, then is we need to create 50 lambda function with 50 java projects.
    Please do answer me it's important to know.

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

    How you read all these technologies so fast. R u referring other TH-cam videos or read documentation n implement?

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

      Doc's I think

    • @TechPrimers
      @TechPrimers  5 ปีที่แล้ว +10

      Mixture of both. But most of the time i make videos on topic that lack good implementation detail. So i try out myself by using the docs. For AWS lambda it took more than a week since the docs are stale and no one showed using java.

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

    Nice Video. I just wants to know how can I debug my lambda project code?. As we don't have main method how can I check my code is fine?

    • @TechPrimers
      @TechPrimers  4 ปีที่แล้ว

      You can use SAM to run lambda locally

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

    Great video. I ran by the same steps, but finally didn't work with awsgateway url. Getting 500 error

  • @tracy_gao
    @tracy_gao 4 ปีที่แล้ว

    The BGM makes me be extracted.

  • @shekarbk1274
    @shekarbk1274 4 ปีที่แล้ว

    Nicely explained but you missed mentioning how you will trigger S3 and store the jar in S3

    • @TechPrimers
      @TechPrimers  4 ปีที่แล้ว

      That's where the CICD comes into picture

    • @shekarbk1274
      @shekarbk1274 4 ปีที่แล้ว

      @@TechPrimers Thank you, can I create cookie inside lambda function?

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

    Hello techprimers where you have used s3...?? U did not uploaded the jar/war file to s3 if am wrong...?

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

      hi vijy, the uploaded jar resides in s3, that is where Lambda gets the artifact from. though we say serverless, we need a server and storage space to store the jar.

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

      @@TechPrimers Thank for your reply

    • @karthikgayakwad6289
      @karthikgayakwad6289 5 ปีที่แล้ว

      Where exactly in s3 does it store??

    • @sanjaykantheti4002
      @sanjaykantheti4002 4 ปีที่แล้ว

      @@karthikgayakwad6289 in S3 bucket

  • @adhithyahc4272
    @adhithyahc4272 4 ปีที่แล้ว

    How to deploy springboot application with 5 or 6 rest api ?

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

      You should not deploy spring boot to lambda. Instead split it into 5/6 lambda’s and use API Gateway to trigger them if you need serverless processing.

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

    But you missed to show the S3 bucket where code is placed.

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

      can you give a link where this CICD is shown to push the code from git and linked to S3 ?

  • @ts_sci
    @ts_sci 4 ปีที่แล้ว

    Vaaaaaaai, Lode a te indiano e a tutto il popolo indiano