Integrate your REST API with AWS Services using API Gateway Service Proxy

  Рет қаралды 69,140

Be A Better Dev

Be A Better Dev

Күн бұрын

Пікірлер: 93
@hamidapremani6151
@hamidapremani6151 2 жыл бұрын
Very well-explained, thorough explanation with just the right speech pace. Thank you so much!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
You're very welcome Hamida!
@ronityadav3936
@ronityadav3936 Жыл бұрын
This is something I was looking for. Appreciate man. However, I have a question from a security perspective: how would you implement rate limiting? or do you have any video on securing these endpoints? Please share the link here.
@johncena-mw3ge
@johncena-mw3ge 3 жыл бұрын
Thank you so much, Daniel. Hope your channel grows exponentially :)
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thank you so much mr cena!
@VincentFulco
@VincentFulco 3 жыл бұрын
Really terrific, need to watch a few more times.
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Vincent! Glad you enjoyed :)
@mamamiakool
@mamamiakool Жыл бұрын
Super detailed and simple explanation. Kudos !! Keep doing the great work !!
@pradeepnair4875
@pradeepnair4875 3 жыл бұрын
Excellent video explaning the concept in a simple manner and it helped me save so much time Googling. Good on you and I am sure you'll feel satisfied with many of us finding your video very useful!!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Pradeep! Super glad you enjoyed :)
@vinodhkumarRajasekaran
@vinodhkumarRajasekaran 2 жыл бұрын
you are a life saver! The way you explained is really awesome! Thank you!
@HMSydney190
@HMSydney190 2 жыл бұрын
Great Video - at 10:06 , what would be the difference if you had selected "Proxy Resource" ?
@ivanliu1173
@ivanliu1173 2 жыл бұрын
Thanks for the clear explanation. Super helpful!
@valerylukin8446
@valerylukin8446 3 жыл бұрын
Your content is awesome man! Keep it up.
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Valery! Glad you enjoyed :)
@mathhack8647
@mathhack8647 3 жыл бұрын
Amazing demo. talented and Professional.
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thank you!
@joaoesteves1363
@joaoesteves1363 2 жыл бұрын
How can I do the same but with the GET method? What should I put in the "Action" instead of 'PutItem'?
@abdoualgerian5396
@abdoualgerian5396 3 жыл бұрын
liked your video before watching a sec ! you deserve all the support for this gold you are teaching , and also , i wanna start from scratch in your channel , if you can tell me where to start exactely , the basics i mean , Thank you
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thank you so much Abdou for your kind words. I would suggest starting with my video on the most important AWS services (link below). I'm also going to be coming out with a new video about pet projects you can do to learn AWS. This was inspired by reading this comment, so thank you!
@abdoualgerian5396
@abdoualgerian5396 3 жыл бұрын
@@BeABetterDev that means a lot to me , thank you i'm the number 1 fan of your channel
@gregf9160
@gregf9160 3 жыл бұрын
This is a big help: _complicated_ but can obviously cut out a lot of middleware stuff. Thanks -- I'm hopefully going to be allowed to do this 👍
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Hi Greg, Thanks for the comment. I agree it is more complicated to get this up and running. Also I think this is only applicable in certain cases where direct integration makes sense (where business logic is necessary). Thanks for watching and take care.
@tcrippen09
@tcrippen09 2 жыл бұрын
What would be an example mapping template if the http post was in XML and I wanted to pass it through to dynamoDB as json?
@jonathanvargasv2009
@jonathanvargasv2009 2 жыл бұрын
Useful, thank you for your time and sharing!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Glad you enjoyed it Jonathan!
@dansavidge2130
@dansavidge2130 3 жыл бұрын
Really useful video for a beginner like me. I am wondering how to do this if I have an EC2 which hosts a spring boot database? How to I identify it and which action names do I use?
@Sparkles_Of_Motivation_Tv
@Sparkles_Of_Motivation_Tv 3 жыл бұрын
am a new sub..... you are doing an awesome job. security made simple
@jeanpascalmewenemesse
@jeanpascalmewenemesse 2 жыл бұрын
Great video. What are you using to draw your screen please?
@ChanceTEK
@ChanceTEK Жыл бұрын
Brilliant! Thank you.
@samwindsor7055
@samwindsor7055 2 жыл бұрын
Great video - do you have a video for GET requests?
@edwardmcgrath8911
@edwardmcgrath8911 3 жыл бұрын
Great Video man! loved it! would you have a video on the non-service proxy integration with the work flow you demo in the video e.g. Browser -> Rest API -> Lambda -> DynamoDB ? love the content!
@jonasmellquist7140
@jonasmellquist7140 3 жыл бұрын
Daniel your content is awesome, thanks for taking the time to post all this relevant and often overlooked content domain.. I don't know if I'm the only one that thinks this but your speech pace is really slow.. Using a video speed control extension for Chrome you're comprehensible up to about 3.10x which is a record ;)
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Jonas! I've never been told I speak too slowly before, quite the contrary actually haha. I'll try to keep this in mind for my next videos. Thanks again for watching!
@JoshuaDixonHolideckVRShowcase
@JoshuaDixonHolideckVRShowcase 2 жыл бұрын
Your videos are so useful, do you have any videos utilizing Opensearch
@shubham-ij6vp
@shubham-ij6vp 3 жыл бұрын
Great video man. Keep it up!!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Appreciate it!
@edipocdf
@edipocdf 2 жыл бұрын
excelent explanation.
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Glad it was helpful!
@rolucic
@rolucic Жыл бұрын
Thanks Daniel for another very useful video. Two things maybe worth mentioning: 1. for sure you need to deploy the API after specifying or changing the mapping template; 2. by using the mapping template you can make sure that you pass into the request to DynamoDB table only the parameters you want from the request (I've tested this by adding other key/values in the JSON request and seeing that they don't get added to the table) Again, thanks for the very useful tutorial.
@CarlaAbanes
@CarlaAbanes 3 жыл бұрын
Amazing vid! I learned a lot, you got a new subscriber
@nishathahmed1455
@nishathahmed1455 3 жыл бұрын
Dear Daniel, you saved my day! This video fits to my use-case thanks for your effort. But I wish to know how do I send response back to user in json. Answer anticipated.
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Hi Nisharth, I believe the response should be automatically flowing back to you after calling the API endpoint. Are you running into a specific issue?
@gizzardelectric
@gizzardelectric Жыл бұрын
It seems like this isn't supported for serverless v2 backends--how can those be connected to API Gateway?
@narayanapadarthy
@narayanapadarthy 2 жыл бұрын
Thank you so much Daniel!
@PhuTran-nb7me
@PhuTran-nb7me 3 жыл бұрын
why do you need to wrap $input.path($.key) in double quotes? doesnt it already return a string?
@RuslanSkiraUkraine
@RuslanSkiraUkraine 4 ай бұрын
Maybe I missed but where is using of {proxy+} ? In this example.
@TechPisat
@TechPisat Жыл бұрын
HI I am conecting RDS service and I am getting an error as AWS ARN for integration contains invalid action. Please can you give me solution>?
@mk48sz33
@mk48sz33 Жыл бұрын
When I do the post, I get an error that missing an access token. Any idea why?
@rayprusia4753
@rayprusia4753 3 жыл бұрын
Wow, keep it up another great video!
@sardesaisantosh
@sardesaisantosh 2 жыл бұрын
How postman could access end point..?
@fb-gu2er
@fb-gu2er 3 жыл бұрын
How would you use an authorizer here?
@christianibiri
@christianibiri 3 жыл бұрын
your content is really awesome!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Christian!
@franklinoladipo2343
@franklinoladipo2343 2 жыл бұрын
Hello, thanks for the video. I'm trying to do this now but I think alot has changed with AWS UI. I can't seen to find DynamoDB under API Gateway Integrations. What do you advise? thanks
@JustinSmith-oh5yh
@JustinSmith-oh5yh Жыл бұрын
I had some trouble with this too. Make sure your API is REST and not HTTP - HTTP doesn't have service proxies
@franklinoladipo2343
@franklinoladipo2343 Жыл бұрын
@@JustinSmith-oh5yh thanks
@jaganbisoyi4031
@jaganbisoyi4031 3 жыл бұрын
Awesome content!. True to the core and NO BullSh***. Thanks for the good work!
@CoderDmitri
@CoderDmitri 3 жыл бұрын
Thank you so much, you are a legend!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Dmitri! Really appreciate it.
@raulmunoz3878
@raulmunoz3878 3 жыл бұрын
👏🏻👏🏻👏🏻 amazing
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Raul!
@aravind4444
@aravind4444 3 жыл бұрын
you are just amazing
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thank you very much!
@sccts
@sccts 3 жыл бұрын
Great content. Thank you.
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Glad you enjoyed it!
@devprakash5320
@devprakash5320 3 жыл бұрын
awesome !
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Prakash!
@aufee8101
@aufee8101 3 жыл бұрын
Any Idea on the GetItem Template?
@salvadorsanchez4561
@salvadorsanchez4561 3 жыл бұрын
From POSTMAN getting "message": "Requested resource not found" not sure what is failing, any idea how to troubleshoot
@christiankiss1736
@christiankiss1736 3 жыл бұрын
did you spell the TableName correctly? I accidentally named my table "customers" and not "Customers", which is why postman failed with this error. good luck.
@mansoorjahan
@mansoorjahan 2 жыл бұрын
can you make username unique using API Gateway Service Proxy?
@mitravic
@mitravic 2 жыл бұрын
Thanks for creating this video. A random id is not getting generated using $context.requestId Can anyone help me understand why that may be?
@hassanabuhaalah7713
@hassanabuhaalah7713 3 жыл бұрын
Another great vid!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Hassan!
@GenieMagicLabs
@GenieMagicLabs Жыл бұрын
Thanks super helpful
@michaelgrossman9678
@michaelgrossman9678 Жыл бұрын
can u create another video with elasiccache redis
@andriys5772
@andriys5772 3 жыл бұрын
Thank you soo much!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
You're welcome! Thanks for watching Andriy!
@_Username__
@_Username__ 3 жыл бұрын
I salute you
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thank you sir!
@vickneswarir8965
@vickneswarir8965 3 жыл бұрын
How to use autogenerated timestamp
@SoulKey44
@SoulKey44 2 жыл бұрын
in 23:20, { "TableName": "Customers", "Item": { "customerId": { "S": "1" }, "date": { "S": "2020" }, "name": { "S": "John Doe" } } } in 28:01, { "TableName": "Customers", "Item": { "customerId": { "S": "$context.requestId" }, "date": { "S": "$input.path('$.date')" }, "name": { "S": "$input.path('$.name')" } } } in 31:45, { "date": "2020", "name": "Jane Doe" }
@milunacodes
@milunacodes 3 жыл бұрын
I guess this approach is useful if no data validations are required right? Would you recommend doing it directly with lambda if you think you would need validations in the future?
@gaurravprakash
@gaurravprakash 3 жыл бұрын
Request validations can also be done in API Gateway itself. The documentation might be thin around that but it's possible.
@raulmunoz3878
@raulmunoz3878 3 жыл бұрын
👏🏻👏🏻👏🏻
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Raul!
@prageethpasyala
@prageethpasyala 3 жыл бұрын
please post the code here.
@John83118
@John83118 10 ай бұрын
Wow, this is truly remarkable content. I had the pleasure of reading something similar, and it was an unforgettable experience. "Mastering AWS: A Software Engineers Guide" by Nathan Vale
@alexkaouris6755
@alexkaouris6755 26 күн бұрын
This seems to simplify things when your business logic is at the client side.
@markoguru
@markoguru 3 жыл бұрын
Really nice! Now API is not secured, do we do that in Integration Request part of the path? At kzbin.info/www/bejne/n2axdnute8qYq7s
@mansoorjahan
@mansoorjahan 2 жыл бұрын
please do not produce 50% percent of the subject :( do that to end. what about get specific item or query for example i registered users and i want to get a user if username and pass is exist in DB??????
AWS SQS vs SNS vs EventBridge - When to Use What?
22:37
Be A Better Dev
Рет қаралды 188 М.
AWS API Gateway Introduction
27:48
Be A Better Dev
Рет қаралды 35 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
How to Setup AWS ECS Fargate with a Load Balancer | Step by Step
27:33
Be A Better Dev
Рет қаралды 178 М.
AWS Aurora VS DynamoDB
38:39
Be A Better Dev
Рет қаралды 83 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН