Serverless Web Application on AWS [S3, Lambda, SQS, DynamoDB and API Gateway]

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 เม.ย. 2023
  • In this AWS video tutorial, we will show you how to create a serverless web application using AWS services like Lambda, API Gateway, SQS, DynamoDB, and S3.
    We'll start by creating a static website on S3, which will contain a form for submitting order information. When the form is submitted, the data will be passed to the API Gateway service, which will trigger a Lambda function to process the information.
    The Lambda function will then add the order information to an SQS queue for further processing. Another Lambda function will pick up the message from the queue and add the order information to a DynamoDB table for storage.
    Throughout the tutorial, we'll discuss the benefits of serverless computing and how AWS services can help you build scalable and cost-effective applications without the need for servers.
    By the end of this video, you'll have a better understanding of how to use AWS services to create a serverless web application that can process orders submitted through a form. So, let's get started!
    This video is a snippet from our AWS Solutions Architect Associate video training course. To learn more about how to best prepare for this popular certification exam, visit:
    digitalcloud.training/aws-cer...
    Make sure you download the code to follow along with this hands-on lab:
    youtube-code-download-32132b3...
    At Digital Cloud Training, our mission is to help you succeed in your #cloud career.
    👉 Check out our popular training options for #AmazonWebServices, including
    🔸On-Demand Courses digitalcloud.training/aws-tra...
    🔸Hands-on Challenge Labs digitalcloud.training/hands-o...
    🔸Cloud Mastery Bootcamps digitalcloud.training/cloud-m...
    💡 Explore FREE #AWS Training Resources at digitalcloud.training/free-aw...
    👍 Like, comment, and SUBSCRIBE to our channel for more videos from #digitalcloudtraining. We appreciate your support! / digitalcloudtraining
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Just wanted to say thanks for the awesome content on your TH-cam channel! I'm learning a lot from you and it's really cool to see kind-hearted people like you out there. Keep up the great work!

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

      Can u explain why we using /items and {id} I didn't understand

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

    Awesome tutorial! You are always my go to teacher for all things cloud. Thank you very much Neil! Cheers!

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

      It's our pleasure to be of help to the AWS community.

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

    Please create such mini projects, it will be great help ❤

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

    You are GREAT !

  • @ShaileshKumar-qp1xx
    @ShaileshKumar-qp1xx 12 วันที่ผ่านมา

    Nice presentation and learning!!

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

    TIP: Learn to use chatgtp by inputing the error your recieving. That is how i breeze thru issues when the arise. Example the Rollback Error: To fix the issue with your AWS CloudFormation template, especially regarding the error that occurred because the Lambda function runtime nodejs12.x is no longer supported, you need to update the Runtime property of your ItemLambdaFunction resource to a supported version

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

    Thanks Neal!

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

    Thank you

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

    i upload success src code on s3, but use website, alert error
    i was change nodejs 12.x -> 20.x
    Failed to fetch items: Network Error
    help me

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

      Hi there, we recommend posting your question in our Facebook group. Our community members are always happy to share their knowledge and help each other out.
      If you're not already a member of our Facebook community, we'd love to have you join us! 

      Here's the link to sign up: facebook.com/groups/awscertificationqa
      Once you're in, you can post your question and get some helpful insights.

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

    my npm install did not install on my machine and i couldn't get pass it. am on a windows10. this is the error i got: ECONNRESET
    npm ERR! network aborted
    npm ERR! network This is a problem related to network connectivity.
    npm ERR! network In most cases you are behind a proxy or have bad network settings.
    npm ERR! network
    npm ERR! network If you are behind a proxy, please make sure that the
    npm ERR! network 'proxy' config is set properly. See: 'npm help config'

  • @advaithrai6272
    @advaithrai6272 11 หลายเดือนก่อน +3

    Sir could you please help me with one thing. I followed the exact same instructions. Bit in the template i had to change the node version from 12x to 18x as aws said it was outdated, then it worked. But at the end when i launch the site using the s3 link, the frontend loads, but says failed to display the values, and also it doesn't accept any value that we enter and displays an error

    • @advaithrai6272
      @advaithrai6272 11 หลายเดือนก่อน +2

      Could you please tell me what the error might be and how to fix it?

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

      @@advaithrai6272 Hi there, we recommend posting your question in our Facebook group. Our community members are always happy to share their knowledge and help each other out.
      If you're not already a member of our Facebook community, we'd love to have you join us! 

      Here's the link to sign up: facebook.com/groups/awscertificationqa
      Once you're in, you can post your question and get some helpful insights.
      Thank you for your understanding, and we wish you all the best in your exam preparations!

    • @floprete9422
      @floprete9422 10 หลายเดือนก่อน +4

      @@advaithrai6272 Open the yaml file in vsCode and ctrl F to find nodejs12 and change it to nodejs18. For me it's on line 30 of the document.

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

      i saw this same issue, have u found a fix? initially i thought updating it to 18 would fix it but seems that causes some issues according to you. im still at the beginning of the lab but i decided to just upgrade to 14 instead of 18, if it works will post again

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

      @waylonwilliams9946 I had tried that too brother, but was of no use. The main problem comes after you finish up everything, so its very difficult to find exactly what the problem is

  • @jawadsabih4979
    @jawadsabih4979 7 หลายเดือนก่อน +2

    I may have found the issue, it is within the lambda function as the "aws-sdk" is missing

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

      Hi! Same issue. Any solve problem?

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

      @andreichirita702 nope, I spoke to a backend developer with 20 years experience. He said to make a separate lambda func specifically for the cors rights and attach it to the api gateway

    • @wouzer09
      @wouzer09 24 วันที่ผ่านมา

      @@jawadsabih4979 use node16.js. The aws-sdk is excluded in nodejs18. Just change it in the setting of your Lampda runtime env or in the cloudformation template

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

    Hello, This YAML file do not have the same configuration as shown in video. Where did i go wrong?

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

      Hi there, we recommend posting your question in our Facebook group. Our community members are always happy to share their knowledge and help each other out.
      If you're not already a member of our Facebook community, we'd love to have you join us! 

      Here's the link to sign up: facebook.com/groups/awscertificationqa
      Once you're in, you can post your question and get some helpful insights.

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

    Unable to perform npm run build. The error is filling up all the terminal. Is there any alternate

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

      Hi there, we recommend posting your question in our Facebook group. Our community members are always happy to share their knowledge and help each other out.
      If you're not already a member of our Facebook community, we'd love to have you join us! 

      Here's the link to sign up: facebook.com/groups/awscertificationqa
      Once you're in, you can post your question and get some helpful insights.

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

    I need help as my Api is not created in APi Gateway.?

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

      Hi there, we recommend posting your question in our Facebook group. Our community members are always happy to share their knowledge and help each other out.
      If you're not already a member of our Facebook community, we'd love to have you join us! 

      Here's the link to sign up: facebook.com/groups/awscertificationqa
      Once you're in, you can post your question and get some helpful insights.

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

    I have ROLLBACK_COMPLETE with some status errors. I got
    CREATE_FAILED Resource handler returned message: "The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions. (Service: Lambda, Status Code: 400,

    • @danieltikamori
      @danieltikamori 9 หลายเดือนก่อน +1

      Me too... Changed to 18.x, but I haven't succeeded. Even using NodeJS 18.x version installed.

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

      i have the solution if u need

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

      can you please share it ?@@jawadsabih4979

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

      @@jawadsabih4979yes let me know please

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

      changed to node.js 18 and it works for me.

  • @SuperRider-RS
    @SuperRider-RS ปีที่แล้ว

    Thank you