Serverless Functions in Depth with AWS Amplify

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 43

  • @BC-zv5dt
    @BC-zv5dt 2 роки тому

    Just come across amplify after setting up a custom nodejs framework in aws and I'm totally sold! Thanks for the tutorial, this is super helpful

  • @hassannadeem8919
    @hassannadeem8919 3 роки тому

    You are a lifesaver. Cheers Mate

  • @contractorwolf
    @contractorwolf 5 років тому +1

    Excellent Nader, I thought it would be rough to get through an hour but you made it interesting and I learned a ton, thx

  • @xXDameanXx
    @xXDameanXx 4 роки тому +1

    This video is what I was looking for, thank you man!!!

  • @usamaliaquat4751
    @usamaliaquat4751 5 років тому +1

    great explanation Nader | nice video

  • @VadimMelnicuk
    @VadimMelnicuk 3 роки тому

    Thanks, this tutorial was very helpful.

  • @TrippLilley
    @TrippLilley 4 роки тому +2

    @54:30 your ternary expressions are swapped. That’s why the query always returns the same results.

  • @waytospergtherebro
    @waytospergtherebro Рік тому

    Actual AWS engineering conversation:
    "So how will people debug these things?"
    "We're Amazon; we don't debug anything and neither should anyone else."
    "I'm sold. Ship it."

    • @nammi895
      @nammi895 6 місяців тому

      As an engineerworking at Amazon this is true

  • @frankenmint
    @frankenmint 2 роки тому +1

    Hello from the year 2022! at around +27:55, my setup triggers a deprecation warning. To fix it, I did this
    import { Amplify } from 'aws-amplify';
    take care and best wishes future internet person :)

  • @peterkulik5943
    @peterkulik5943 5 років тому

    Great video.

  • @hedy5096
    @hedy5096 5 років тому

    This is great! Thank you!

  • @AbhishekKumar-mq1tt
    @AbhishekKumar-mq1tt 5 років тому +2

    Thank u for this awesome video

  • @mycraplife
    @mycraplife 5 років тому +4

    I followed the tutorial and my app.js in the backend has the 'Enable CORS for all methods' block of code, however it is still being blocked because of cors - it says 'Access-Control-Allow-Origin' header is not present - nothing seems to solve and each attempt I have to amplify push and wait

    • @ttngocthao
      @ttngocthao 4 роки тому

      Have you found a solution for it? I’ve got the same issue and have not found the solution yet 😭😭😭

    • @sylvainverdat7135
      @sylvainverdat7135 4 роки тому

      @@ttngocthao when you create a path in your api , for example /people using aws console , you SHOULD write code in your app.js using /people in the ligne app.get('/people', async function (req, res) {.
      In other words , if you add a new path , for example /birds, in the app.js code , you have then to create this path using the command line 'amplify add api' and declare a new path /birds.
      Respect the path name.
      Regards,

    • @ttngocthao
      @ttngocthao 4 роки тому

      @@sylvainverdat7135 : I did create a path but that does not solve the cors issue.

    • @MichaelMcCrae
      @MichaelMcCrae 3 роки тому

      @@ttngocthao I had some luck using the Moseif extension in Chrome.

  • @ricardoruiz2800
    @ricardoruiz2800 4 роки тому

    There is an error at 13:00. If you are using Aurora Serverless, you cannot trigger functions automatically.

  • @ProgramWithErik
    @ProgramWithErik 5 років тому +3

    Hey great tutorial! Maybe I can have you on my channel while I do something similar and I can ask you questions :)

    • @naderdabit
      @naderdabit  5 років тому +1

      Hey Erik, I'd still love to come on to the channel!

  • @RahulAhire
    @RahulAhire 4 роки тому +1

    What theme are you using for vscode

  • @bernhardsmuts2265
    @bernhardsmuts2265 4 роки тому +1

    Amplify's docs are really tricky to understand. Adding packages to a lambda function isn't documented anywhere, this is the first time that I have seen it's possible. Does anyone else have a good source to learn the capabilities of each Amplify service that maybe expands on the official docs? I feel the official docs only shows a keyhole of information and not really to bigger picture making learning it a bit frustrating...

  • @-_-unseen-_-
    @-_-unseen-_- 5 років тому +4

    looks painful to have to push the lambda up each time to run it.

    • @jomab29
      @jomab29 4 роки тому

      What did you do to solve that time?

    • @-_-unseen-_-
      @-_-unseen-_- 4 роки тому

      @@jomab29 with the aws tooling you can invoke the function locally. There is a command for it in the CLI as well as vs code extension

    • @jomab29
      @jomab29 4 роки тому

      @@-_-unseen-_- $amplify function invoke [theFunction] ???

  • @jarrettgoh8920
    @jarrettgoh8920 4 роки тому

    Does anyone get the error of net::ERR_CONTENT_DECODING_FAILED 200 when you send a GET request to the api endpoint and expect to receive an array of objects?

  • @RenM908
    @RenM908 2 роки тому

    Is this how you interact with environment secrets?

  • @Garejoor
    @Garejoor 3 роки тому

    posting in 2021, AWS CDK is a viable (and much better imho) solution as well

  • @RaquelCasadoDias
    @RaquelCasadoDias 4 роки тому

    Is anyone getting a 403? I tried adding headers {Authorization: {jwt}} but that didn't work,. I'm not doing the exercise in a new app, I'm adding to my add which already uses cognito

  • @enzoyuna8599
    @enzoyuna8599 5 років тому

    Could we use AWS SES on amplify??

  • @TuffyMonroe
    @TuffyMonroe 4 роки тому

    fyi, the swapi api no longer works, at least not for me. I had to use a different rest endpoint for it to work.

  • @diegocamilopenaramirez6101
    @diegocamilopenaramirez6101 4 роки тому

    Where can i find the source code of this example?

  • @jomab29
    @jomab29 4 роки тому

    how can I upload the apis faster from amplify to AWS to test them faster? I think that time is crucial for development performance.

    • @wtho
      @wtho 4 роки тому

      To achieve faster development cycles for your lambdas, you might want to switch over to the serverless framework, it can spin up a local dev environment, running the lambda Functions on your machine. You can still do everything else than lambda development using amplify.

    • @wtho
      @wtho 4 роки тому

      Actually I think you can also invoke them through amplify cli.
      This is complicated though when you use them tightly coupled to dbs

  • @devonlamond
    @devonlamond 3 роки тому

    "if you get a 100 million user which probably will happen for you"

  • @justfly1984
    @justfly1984 5 років тому +4

    I find that keeping production environment at the same AWS account with other environments is very dangerous. Your dev and test environment can simply eat your budget for DynamoDB or other limited services, and then you are fucked. Please be warned, deploy your production environment on separate AWS account.

  • @OmarMassad
    @OmarMassad 3 роки тому

    Arnold Schwarzenegger?

  • @mrkeyboardwarrior9969
    @mrkeyboardwarrior9969 Рік тому

    damn a very long video with all the table of contents not covered was watching for nothing damn.