Тёмный

Serverless Functions in Depth with AWS Amplify 

Nader Dabit
Подписаться 50 тыс.
Просмотров 46 тыс.
50% 1

Twitch Live Stream - Learn how to build, deploy, update, delete & test serverless functions using AWS Amplify. We'll also learn how to add an API endpoint to interact with the functions as well as add authentication & authorization to the APIs working within a React application.
aws-amplify.github.io/docs/js...

Опубликовано:

 

13 май 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 43   
@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
@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
@xXDameanXx
@xXDameanXx 4 года назад
This video is what I was looking for, thank you man!!!
@VadimMelnicuk
@VadimMelnicuk 3 года назад
Thanks, this tutorial was very helpful.
@usamaliaquat4751
@usamaliaquat4751 5 лет назад
great explanation Nader | nice video
@hedy5096
@hedy5096 4 года назад
This is great! Thank you!
@hassannadeem8919
@hassannadeem8919 3 года назад
You are a lifesaver. Cheers Mate
@peterkulik5943
@peterkulik5943 4 года назад
Great video.
@TrippLilley
@TrippLilley 3 года назад
@54:30 your ternary expressions are swapped. That’s why the query always returns the same results.
@frankenmint
@frankenmint Год назад
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 :)
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 5 лет назад
Thank u for this awesome video
@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 18 дней назад
As an engineerworking at Amazon this is true
@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!
@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
@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...
@ricardoruiz2800
@ricardoruiz2800 4 года назад
There is an error at 13:00. If you are using Aurora Serverless, you cannot trigger functions automatically.
@RahulAhire
@RahulAhire 4 года назад
What theme are you using for vscode
@mycraplife
@mycraplife 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 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.
@enzoyuna8599
@enzoyuna8599 4 года назад
Could we use AWS SES on amplify??
@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?
@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.
@Garejoor
@Garejoor 2 года назад
posting in 2021, AWS CDK is a viable (and much better imho) solution as well
@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
@diegocamilopenaramirez6101
@diegocamilopenaramirez6101 3 года назад
Where can i find the source code of this example?
@-_-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] ???
@RenM908
@RenM908 2 года назад
Is this how you interact with environment secrets?
@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 10 месяцев назад
damn a very long video with all the table of contents not covered was watching for nothing damn.