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

  Рет қаралды 66,104

Be A Better Dev

Be A Better Dev

Күн бұрын

In this video, learn how to set up an API Gateway endpoint that directly interacts with DynamoDB WITHOUT a Lambda function! Previously, developers would typically set up a API Gatweway with a Lambda function that can would call DynamoDB endpoints. If you have a simple use case to insert/update/delete data, this can now be accomplished WITHOUT a lambda! Learn how it works and how to set it up in this video.
Looking to get hands on experience building on AWS with a REAL project? Check out my course - The AWS Learning Accelerator! courses.beabetterdev.com/cour...
📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
Clean Code - amzn.to/37T7xdP
Clean Architecture - amzn.to/3sCEGCe
Head First Design Patterns - amzn.to/37WXAMy
Domain Driver Design - amzn.to/3aWSW2W
Code Complete - amzn.to/3ksQDrB
The Pragmatic Programmer - amzn.to/3uH4kaQ
Algorithms - amzn.to/3syvyP5
Working Effectively with Legacy Code - amzn.to/3kvMza7
Refactoring - amzn.to/3r6FQ8U
🎙 MY RECORDING EQUIPMENT 🎙
Shure SM58 Microphone - amzn.to/3r5Hrf9
Behringer UM2 Audio Interface - amzn.to/2MuEllM
XLR Cable - amzn.to/3uGyZFx
Acoustic Sound Absorbing Foam Panels - amzn.to/3ktIrY6
Desk Microphone Mount - amzn.to/3qXMVIO
Logitech C920s Webcam - amzn.to/303zGu9
Fujilm XS10 Camera - amzn.to/3uGa30E
Fujifilm XF 35mm F2 Lens - amzn.to/3rentPe
Neewer 2 Piece Studio Lights - amzn.to/3uyoa8p
💻 MY DESKTOP EQUIPMENT 💻
Dell 34 inch Ultrawide Monitor - amzn.to/2NJwph6
Autonomous ErgoChair 2 - bit.ly/2YzomEm
Autonomous SmartDesk 2 Standing Desk - bit.ly/2YzomEm
MX Master 3 Productivity Mouse - amzn.to/3aYwKVZ
Das Keyboard Prime 13 MX Brown Mechanical- amzn.to/3uH6VBF
Veikk A15 Drawing Tablet - amzn.to/3uBRWsN
🌎 Find me here:
Twitter - / beabetterdevv
Instagram - / beabetterdevv
Patreon - Donations help fund additional content - / beabetterdev
#APIGateway
#ServiceProxy
#AWS
#DynamoDB
#AWS

Пікірлер: 92
@vinodhkumarRajasekaran
@vinodhkumarRajasekaran Жыл бұрын
you are a life saver! The way you explained is really awesome! Thank you!
@mamamiakool
@mamamiakool Жыл бұрын
Super detailed and simple explanation. Kudos !! Keep doing the great work !!
@ivanliu1173
@ivanliu1173 Жыл бұрын
Thanks for the clear explanation. Super helpful!
@hamidapremani6151
@hamidapremani6151 Жыл бұрын
Very well-explained, thorough explanation with just the right speech pace. Thank you so much!
@BeABetterDev
@BeABetterDev Жыл бұрын
You're very welcome Hamida!
@VincentFulco
@VincentFulco 3 жыл бұрын
Really terrific, need to watch a few more times.
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Vincent! Glad you enjoyed :)
@ChanceMinus
@ChanceMinus Жыл бұрын
Brilliant! Thank you.
@narayanapadarthy
@narayanapadarthy Жыл бұрын
Thank you so much Daniel!
@johncena-mw3ge
@johncena-mw3ge 2 жыл бұрын
Thank you so much, Daniel. Hope your channel grows exponentially :)
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thank you so much mr cena!
@rayprusia4753
@rayprusia4753 2 жыл бұрын
Wow, keep it up another great video!
@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 :)
@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.
@mathhack8647
@mathhack8647 3 жыл бұрын
Amazing demo. talented and Professional.
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thank you!
@jonathanvargasv2009
@jonathanvargasv2009 2 жыл бұрын
Useful, thank you for your time and sharing!
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Glad you enjoyed it Jonathan!
@jaganbisoyi4031
@jaganbisoyi4031 2 жыл бұрын
Awesome content!. True to the core and NO BullSh***. Thanks for the good work!
@valerylukin8446
@valerylukin8446 3 жыл бұрын
Your content is awesome man! Keep it up.
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Valery! Glad you enjoyed :)
@CarlaAbanes
@CarlaAbanes 2 жыл бұрын
Amazing vid! I learned a lot, you got a new subscriber
@shubham-ij6vp
@shubham-ij6vp 3 жыл бұрын
Great video man. Keep it up!!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Appreciate it!
@Sparkles_Of_Motivation_Tv
@Sparkles_Of_Motivation_Tv 2 жыл бұрын
am a new sub..... you are doing an awesome job. security made simple
@CoderDmitri
@CoderDmitri 3 жыл бұрын
Thank you so much, you are a legend!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Dmitri! Really appreciate it.
@GenieMagicLabs
@GenieMagicLabs Жыл бұрын
Thanks super helpful
@sccts
@sccts 3 жыл бұрын
Great content. Thank you.
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Glad you enjoyed it!
@christianibiri
@christianibiri 3 жыл бұрын
your content is really awesome!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Christian!
@hassanabuhaalah7713
@hassanabuhaalah7713 3 жыл бұрын
Another great vid!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Hassan!
@edwardmcgrath8911
@edwardmcgrath8911 2 жыл бұрын
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!
@andriys5772
@andriys5772 3 жыл бұрын
Thank you soo much!
@BeABetterDev
@BeABetterDev 3 жыл бұрын
You're welcome! Thanks for watching Andriy!
@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.
@edipocdf
@edipocdf 2 жыл бұрын
excelent explanation.
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Glad it was helpful!
@aravind4444
@aravind4444 2 жыл бұрын
you are just amazing
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thank you very much!
@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
@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?
@devprakash5320
@devprakash5320 2 жыл бұрын
awesome !
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thanks Prakash!
@JoshuaDixonHolideckVRShowcase
@JoshuaDixonHolideckVRShowcase Жыл бұрын
Your videos are so useful, do you have any videos utilizing Opensearch
@raulalejandromunozaraya3878
@raulalejandromunozaraya3878 3 жыл бұрын
👏🏻👏🏻👏🏻 amazing
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Raul!
@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!
@jeanpascalmewenemesse
@jeanpascalmewenemesse 2 жыл бұрын
Great video. What are you using to draw your screen please?
@_Username__
@_Username__ 2 жыл бұрын
I salute you
@BeABetterDev
@BeABetterDev 2 жыл бұрын
Thank you sir!
@samwindsor7055
@samwindsor7055 Жыл бұрын
Great video - do you have a video for GET requests?
@nishathahmed1455
@nishathahmed1455 2 жыл бұрын
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 2 жыл бұрын
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?
@HMSydney190
@HMSydney190 2 жыл бұрын
Great Video - at 10:06 , what would be the difference if you had selected "Proxy Resource" ?
@joaoesteves1363
@joaoesteves1363 2 жыл бұрын
How can I do the same but with the GET method? What should I put in the "Action" instead of 'PutItem'?
@tcrippen09
@tcrippen09 Жыл бұрын
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?
@sardesaisantosh
@sardesaisantosh Жыл бұрын
How postman could access end point..?
@fb-gu2er
@fb-gu2er 2 жыл бұрын
How would you use an authorizer here?
@PhuTran-nb7me
@PhuTran-nb7me 2 жыл бұрын
why do you need to wrap $input.path($.key) in double quotes? doesnt it already return a string?
@raulalejandromunozaraya3878
@raulalejandromunozaraya3878 3 жыл бұрын
👏🏻👏🏻👏🏻
@BeABetterDev
@BeABetterDev 3 жыл бұрын
Thanks Raul!
@aufee8101
@aufee8101 2 жыл бұрын
Any Idea on the GetItem Template?
@vickneswarir8965
@vickneswarir8965 3 жыл бұрын
How to use autogenerated timestamp
@mansoorkhanyousefi7709
@mansoorkhanyousefi7709 2 жыл бұрын
can you make username unique using API Gateway Service Proxy?
@michaelgrossman9678
@michaelgrossman9678 Жыл бұрын
can u create another video with elasiccache redis
@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.
@gizzardelectric
@gizzardelectric 10 ай бұрын
It seems like this isn't supported for serverless v2 backends--how can those be connected to API Gateway?
@mitravic
@mitravic Жыл бұрын
Thanks for creating this video. A random id is not getting generated using $context.requestId Can anyone help me understand why that may be?
@mk48sz33
@mk48sz33 Жыл бұрын
When I do the post, I get an error that missing an access token. Any idea why?
@TechPisat
@TechPisat 11 ай бұрын
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>?
@shubhikatiwari9259
@shubhikatiwari9259 Жыл бұрын
throwing error "message": "Missing Authentication Token"
@miluna94
@miluna94 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.
@franklinoladipo2343
@franklinoladipo2343 Жыл бұрын
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
@salvadorsanchez4561
@salvadorsanchez4561 2 жыл бұрын
From POSTMAN getting "message": "Requested resource not found" not sure what is failing, any idea how to troubleshoot
@christiankiss1736
@christiankiss1736 2 жыл бұрын
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.
@John83118
@John83118 5 ай бұрын
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
@prageethpasyala
@prageethpasyala 3 жыл бұрын
please post the code here.
@SoulKey44
@SoulKey44 Жыл бұрын
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" }
@markoguru
@markoguru 2 жыл бұрын
Really nice! Now API is not secured, do we do that in Integration Request part of the path? At kzbin.info/www/bejne/n2axdnute8qYq7s
@mansoorkhanyousefi7709
@mansoorkhanyousefi7709 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 API Gateway Introduction
27:48
Be A Better Dev
Рет қаралды 23 М.
Каха ограбил банк
01:00
К-Media
Рет қаралды 11 МЛН
Sigma Girl Past #funny #sigma #viral
00:20
CRAZY GREAPA
Рет қаралды 30 МЛН
AWS SQS vs SNS vs EventBridge - When to Use What?
22:37
Be A Better Dev
Рет қаралды 167 М.
What is an API Gateway?
10:19
IBM Technology
Рет қаралды 293 М.
Integrate your REST API with Kinesis Using API Gateway Service Proxy
17:08
Secure API Gateway using Cognito Authorizer (NEW)
29:51
LoveToCode
Рет қаралды 36 М.
Reverse Proxy vs API Gateway vs Load Balancer
3:06
ByteByteGo
Рет қаралды 104 М.
Build a HTTP API using AWS Lambda and API Gateway
24:21
Jonathan Davies
Рет қаралды 15 М.
Event-Driven Architecture (EDA) vs Request/Response (RR)
12:00
Confluent
Рет қаралды 119 М.