Serverless Functions in Depth with AWS Amplify

  Рет қаралды 46,115

Nader Dabit

Nader Dabit

Күн бұрын

Пікірлер: 43
@BC-zv5dt
@BC-zv5dt Жыл бұрын
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
@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 2 ай бұрын
As an engineerworking at Amazon this is true
@contractorwolf
@contractorwolf 4 жыл бұрын
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 жыл бұрын
This video is what I was looking for, thank you man!!!
@usamaliaquat4751
@usamaliaquat4751 5 жыл бұрын
great explanation Nader | nice video
@hassannadeem8919
@hassannadeem8919 3 жыл бұрын
You are a lifesaver. Cheers Mate
@TrippLilley
@TrippLilley 3 жыл бұрын
@54:30 your ternary expressions are swapped. That’s why the query always returns the same results.
@VadimMelnicuk
@VadimMelnicuk 3 жыл бұрын
Thanks, this tutorial was very helpful.
@frankenmint
@frankenmint 2 жыл бұрын
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 :)
@hedy5096
@hedy5096 5 жыл бұрын
This is great! Thank you!
@Garejoor
@Garejoor 2 жыл бұрын
posting in 2021, AWS CDK is a viable (and much better imho) solution as well
@ProgramWithErik
@ProgramWithErik 5 жыл бұрын
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 жыл бұрын
Hey Erik, I'd still love to come on to the channel!
@RahulAhire
@RahulAhire 4 жыл бұрын
What theme are you using for vscode
@mycraplife
@mycraplife 5 жыл бұрын
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 3 жыл бұрын
Have you found a solution for it? I’ve got the same issue and have not found the solution yet 😭😭😭
@sylvainverdat7135
@sylvainverdat7135 3 жыл бұрын
@@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 3 жыл бұрын
@@sylvainverdat7135 : I did create a path but that does not solve the cors issue.
@MichaelMcCrae
@MichaelMcCrae 2 жыл бұрын
@@ttngocthao I had some luck using the Moseif extension in Chrome.
@bernhardsmuts2265
@bernhardsmuts2265 3 жыл бұрын
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...
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 5 жыл бұрын
Thank u for this awesome video
@peterkulik5943
@peterkulik5943 4 жыл бұрын
Great video.
@ricardoruiz2800
@ricardoruiz2800 4 жыл бұрын
There is an error at 13:00. If you are using Aurora Serverless, you cannot trigger functions automatically.
@jarrettgoh8920
@jarrettgoh8920 3 жыл бұрын
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?
@RaquelCasadoDias
@RaquelCasadoDias 3 жыл бұрын
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
@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.
@RenM908
@RenM908 2 жыл бұрын
Is this how you interact with environment secrets?
@-_-unseen-_-
@-_-unseen-_- 5 жыл бұрын
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] ???
@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
@enzoyuna8599
@enzoyuna8599 5 жыл бұрын
Could we use AWS SES on amplify??
@diegocamilopenaramirez6101
@diegocamilopenaramirez6101 4 жыл бұрын
Where can i find the source code of this example?
@devonlamond
@devonlamond 3 жыл бұрын
"if you get a 100 million user which probably will happen for you"
@justfly1984
@justfly1984 5 жыл бұрын
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.
@danubiomuller
@danubiomuller 3 жыл бұрын
Good point.
@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.
I think I was wrong about AWS Amplify
30:39
Web Dev Cody
Рет қаралды 59 М.
My daughter is creative when it comes to eating food #funny #comedy #cute #baby#smart girl
00:17
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 16 МЛН
Introduction to AWS Lambda & Serverless Applications
56:02
Amazon Web Services
Рет қаралды 315 М.
I tried 5 Firebase alternatives
10:31
Fireship
Рет қаралды 791 М.
Realtime Chat App in React Native and AWS (Backend) 🔴
3:29:01
notJust․dev
Рет қаралды 139 М.
Angular HTTP API | FULL COURSE
3:34:08
Get Arrays
Рет қаралды 70 М.
Building a Serverless REST API in .NET with AWS Lambda
20:13
Nick Chapsas
Рет қаралды 76 М.
Getting Started with Serverless Framework
20:53
Serverless
Рет қаралды 31 М.
AWS Amplify Fullstack Project Setup (React, Node, Lambda, REST API)
35:59
My daughter is creative when it comes to eating food #funny #comedy #cute #baby#smart girl
00:17