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

Поделиться
HTML-код
  • Опубликовано: 26 июн 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
  • НаукаНаука

Комментарии • 49

  • @mehulkaps
    @mehulkaps 2 месяца назад +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  2 месяца назад +1

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

  • @ammonchristensen519
    @ammonchristensen519 4 месяца назад +6

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

  • @EddieMao
    @EddieMao 3 месяца назад +2

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

  • @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!!!

  • @DarrenSemotiuk
    @DarrenSemotiuk 9 месяцев назад +2

    @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  9 месяцев назад

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

  • @pulodian
    @pulodian 11 месяцев назад +2

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

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  11 месяцев назад +1

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

  • @Antiilitratepeople
    @Antiilitratepeople Год назад +3

    As usual amazing content!!!

  • @patrickwheeler1979
    @patrickwheeler1979 15 дней назад

    This is very helpful, thanks for putting these together.

  • @avisworld745
    @avisworld745 3 месяца назад

    Simple and Perfect explanation..Thanks alot

  • @stephanemenkam
    @stephanemenkam 2 месяца назад

    Speechless. just what we needed...👌

  • @arieladalid9910
    @arieladalid9910 10 месяцев назад

    great video! as always

  • @kdspland
    @kdspland Год назад

    Great post, made my first API!

  • @simranbanwait
    @simranbanwait 5 месяцев назад

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

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  5 месяцев назад

      Oh wonderful! I'm so glad it helped. Thanks 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). 😊

  • @chetankakkireni8870
    @chetankakkireni8870 3 месяца назад

    thanks for the tiny technical tutorial

  • @danielamuel3824
    @danielamuel3824 Месяц назад

    thanks mam for your teaching and guidance.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Месяц назад

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

  • @baptista21
    @baptista21 Год назад

    Awesome 👍

  • @bayardwoodworth7993
    @bayardwoodworth7993 Год назад

    Thanks!

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Год назад

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

  • @Minerva___
    @Minerva___ 10 месяцев назад

    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  10 месяцев назад

      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

  • @tabishahmed7836
    @tabishahmed7836 4 месяца назад

    Than you !

  • @iAndrikMM
    @iAndrikMM Год назад

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

  • @123arskas
    @123arskas Месяц назад

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

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Месяц назад

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

  • @Mark-gx7uz
    @Mark-gx7uz 2 месяца назад +1

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

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  2 месяца назад

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

  • @itaiitai8960
    @itaiitai8960 11 месяцев назад

    send me a link of ur udemy courses please :)

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  11 месяцев назад

      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 12 дней назад

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