Create a REST API with API Gateway and Lambda | AWS Cloud Computing Tutorials for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ส.ค. 2024
  • The world runs on APIs (application programming interfaces) these days, and it’s likely that you’ll need to build APIs for your own application, or for others to consume.
    In AWS, it’s common to create Lambda functions to do a very specific task (more in this video if you’re interested: • Create Your First AWS ... ). But those Lambda functions aren’t going to be exposed to the outside world. Instead, you’d want the requests to go to an API endpoint, which will then call Lambda. And API Gateway is what allows you to do that.
    In this hands-on tutorial, we’ll build a simple “hello world” Lambda function, and then create an API Gateway GET method that calls it. And be sure to stick around to the end where I’ll show you how to delete the resources.
    🌟🌟If you’re interested in getting AWS certifications, check out these full courses. They include lots of hands-on demos, quizzes and full practice exams. Use FRIENDS10 for a 10% discount!
    - AWS Certified Cloud Practitioner: academy.zerotomastery.io/a/af...
    - AWS Certified Solutions Architect Associate: academy.zerotomastery.io/a/af...
    00:00 - Creating a Hello World Lambda function so we can call it from API Gateway
    00:57 - Creating a new REST API in API Gateway
    01:52 - Creating a GET method in API Gateway to call our Lambda function
    02:46 - Testing the API Gateway GET method
    03:09 - Deploying our API in API Gateway
    03:36 - Invoking the API Gateway URL to call our Lambda function
    03:58 - IMPORTANT! Delete your Lambda function and API
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @mehulkaps
    @mehulkaps 4 หลายเดือนก่อน +5

    Exactly what I needed. Concise and to the point information. This 4 and a half minute video is fully loaded with exact information that developer needs for API Gateway and Lambda Function Integration. Thank you.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  3 หลายเดือนก่อน +1

      Glad it was helpful! Thanks for watching, and for the nice comment! 🤓🙏🌟

  • @ammonchristensen519
    @ammonchristensen519 5 หลายเดือนก่อน +6

    This is the best tutorial I've found, no fluff, just the basics to help get me started. Thank you so much!

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

      Such a wonderful compliment!! Thanks so much, Ammon! 🙏🌟🤓

  • @EddieMao
    @EddieMao 5 หลายเดือนก่อน +2

    Exactly what I need, always hands-on tutorial. Thanks again!

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  5 หลายเดือนก่อน +1

      I'm so glad it helped! Thanks for supporting the channel!! 🥰

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

    Amazing tutorial! I have to watch this a few times to soak it all in but this is best tutorial I've seen so far to demo REST API in action and Lambda. Once again thank you so much for making things make sense with visuals!!! You're the best👌Be well, be safe and Cheers!!!

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

    Easy delivery of helpful information, I liked your calm & soft voice, intonation, speed. Please keep me happy with your new videos!

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

      Thanks for the nice comment, @pulodian! 😊 More videos on the way...stay tuned!

  • @DarrenSemotiuk
    @DarrenSemotiuk 10 หลายเดือนก่อน +3

    @1:14 thanks for showing "The Other Direction" for creating an AWS API Gateway trigger for an AWS Lambda function.
    The normal direction most of us are familiar with is via the "Create Trigger" on the Lambda console -- then you choose API Gateway and it will automatically create the "/ANY/" method for you as a convenient API (aka all the methods, not just GET or POST etc.), and as a proxy for Lambda (aka it handles all sorts of property name mapping in the Request and the Response for you, can be confusing when you look at the index.handler "event" arg that is passed, but your way lets you have full control... pros and cons to that of course!

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

      Full control...muahahaha! 😈 Thanks for the detailed comment...you clearly "get" it! 🤓

  • @ArturoVictoria-q2o
    @ArturoVictoria-q2o วันที่ผ่านมา

    Thanks for share!!!

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

    As usual amazing content!!!

  • @ArjunKumar-zu2kl
    @ArjunKumar-zu2kl หลายเดือนก่อน

    On the spot explanation, thank you so much...

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  28 วันที่ผ่านมา +1

      Yay!! I'm so glad it helped. Thanks for watching!! 🙏🤓🌟

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

    Speechless. just what we needed...👌

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

      I'm so glad it helped! Thanks for watching! 🙏🤓🌟

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

    This is very helpful, thanks for putting these together.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  28 วันที่ผ่านมา +1

      Yay! I'm so glad it helped. Thanks for watching!! 🙏🤓🌟

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

    great video! as always

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

    Great post, made my first API!

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

    Simple and Perfect explanation..Thanks alot

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

      So nice of you!! Thanks so much for watching!! 🙏🤓🌟

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

    Awesome explanation ............ I was always strugging to get the hands on b/w API Gateway and Lambda.
    Keep up ur good work ........ Love frm India.
    God bless you .........

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

      Thanks so much, Zameer! Glad it helped! 😊

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

      Hi Jyoti! No, AWS automatically reserves them. You don't need to specifically do anything with them (just know that they're not available for you to use). 😊

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

    Very straight forward.... Nice video ma'am

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

      Oh wonderful! I'm so glad it helped. Thanks for watching! 🙏🌟🤓

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

    thanks mam for your teaching and guidance.

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

      I'm so glad it helped!! Thanks for watching, and for the nice comment! 🤓🙏🌟

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

    thanks for the tiny technical tutorial

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

    Awesome 👍

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

    Than you !

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

    Thanks!

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

      Oh wow, thanks so much for the donation, @bayardwoodworth7993!!! 🥰 Really appreciate you supporting the channel!

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

    Hello! I come from Código Morsa, new subscriber !

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

    I would love to see another video on this but when using a Private REST API. I’m wrestling with DNS resolution with one right now and I’m sure with a clear walkthrough from you I’d be able to sort it out 😂

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

      Hey @AdrianKeith! 👋 Thanks for the suggestion! I'll add this to my list. In the meantime, maybe something here will be helpful? repost.aws/knowledge-center/api-gateway-private-endpoint-connection

  • @123arskas
    @123arskas 2 หลายเดือนก่อน

    This is beautiful. You're beautiful. Loved it.

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

      Awwww...you're very kind!!! Thanks for watching, and for the nice comment! 🤓🙏🌟

  • @Mark-gx7uz
    @Mark-gx7uz 3 หลายเดือนก่อน +1

    I had a question, my homework was to create API Gateway, is this video did this?

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

      Hi Mark! 👋 With this video, you create an API endpoint that uses a Lambda on the backend.

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

    send me a link of ur udemy courses please :)

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

      Awwww...thanks so much! 🔥🥰🙏 I've got the AWS Cloud Practitioner course on Udemy here: www.udemy.com/course/aws-certified-cloud-practitioner-master-aws-fundamentals/. Enjoy!

  • @MarcoPolo-su2fc
    @MarcoPolo-su2fc หลายเดือนก่อน +1

    If I keep getting error "message": "Missing Authentication Token"

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  28 วันที่ผ่านมา

      Hey Marco Polo! 👋 Sorry for the slow response! If you're still looking for an answer, maybe this will help? stackoverflow.com/questions/39655048/missing-authentication-token-while-accessing-api-gateway