Real Life AWS Architecture - Rate Limiting, Auth & Caching

  Рет қаралды 9,306

Be A Better Dev

Be A Better Dev

Күн бұрын

Пікірлер: 21
@InvincibleMan99
@InvincibleMan99 4 ай бұрын
Excellent work. Hats off to you.
@samjones4327
@samjones4327 5 ай бұрын
Thank you for this tutorial! I'm a newbie to AWS and your videos really help me better understand the flow of the design process! Cheers!!
@rishiraj2548
@rishiraj2548 Ай бұрын
thanks
@ChristoKiwi
@ChristoKiwi 5 ай бұрын
It would be great to have a deep dive video into the new AuthZ AWS solution: Verified Permissions!
@DubJrAOT
@DubJrAOT 4 ай бұрын
Hey can you please tell me what program you used to create your diagrams?
@r_sklepovyy
@r_sklepovyy 9 күн бұрын
you can literally see the link of the site
@joudawad1042
@joudawad1042 5 ай бұрын
Great video… thank you for sharing 👌🏻
@bhomiktakhar8226
@bhomiktakhar8226 5 ай бұрын
Again a great video on mastering kubernetes. It makes a lot of sense to continue, we are going at a very good pace for someone wanting to learn kubernetes.
@Aleks-fp1kq
@Aleks-fp1kq 5 ай бұрын
1. how what is actually returned by the lambda? Is there an expectation from the gateway to have the lambda return the api key 2. How does this solution prevent the noisy neighbor, because even though the client has golden badge his excessive request will affect others?
@InvincibleMan99
@InvincibleMan99 4 ай бұрын
For 1. I don't think so lambda has to return api key. Same token can be used to access api's for further requests. The token can be jwt token. So lambda will return the status. If the status is 401, means unauthorized.
@ivanmokhonko9749
@ivanmokhonko9749 3 ай бұрын
The only problem with lambda authorizer is that when rate limit rule is applied and request is throttled in response we get unauthorized/forbidden response which does not tell us that we were throttled. Maybe it's okay in some cases but it would be better if we could return proper 429 HTTP status code to indicate that we are making to many requests and also provide proper rate limiting headers. We can allow reqeust from authorizer and include some kind of meta info in authorizer context and then handle it in lambda and throttle request from there. but stilll it sounds not so good (((((
@alexrusin
@alexrusin 5 ай бұрын
If there are thousands of requests, won't we run out of lambda authorizers? There are only 1k of lambda concurrent invocations.
@ildar5184
@ildar5184 5 ай бұрын
You can limit the number of concurrently running instances of lambdas for your AWS account, so that it doesn't go that high. But I agree, that if that number is reached due to e.g. DDoS attack, then regular users won't be able to access this flow either.
@MdAshraf007
@MdAshraf007 5 ай бұрын
Can someone please explain me why can't we just use one id( the tenantId or the cID) ?
@Aleks-fp1kq
@Aleks-fp1kq 5 ай бұрын
I think we can but it depends on the API gateway implementation. Some expect the key in a custom header.
@optimiskat
@optimiskat 5 ай бұрын
I guess multiple tenant id can map to one CId
@ildar5184
@ildar5184 5 ай бұрын
This is in the context of multi-tenant architecture, the point is to limit the number of requests for each tenant (group of users), depending on their tier (paid tenants get to perform more requests per second). API Gateway distinguishes these tenants by their clientID. You don't need different clientIDs, if you want to limit requests per second uniformly for all users, regardless of their status in your system.
@Aleks-fp1kq
@Aleks-fp1kq 5 ай бұрын
@@ildar5184 the question was why the need for clientid AND tenantid.
@dprophecyguy
@dprophecyguy 5 ай бұрын
bro is using ai for his face video
@Xaoticex
@Xaoticex 5 ай бұрын
this ai face video gives weird vibez
@BeABetterDev
@BeABetterDev 5 ай бұрын
its not ai
Top AWS Services For Backend Developers
37:27
Be A Better Dev
Рет қаралды 19 М.
AWS API Gateway Introduction
27:48
Be A Better Dev
Рет қаралды 31 М.
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 13 МЛН
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
Elza love to eat chiken🍗⚡ #dog #pets
00:17
ElzaDog
Рет қаралды 21 МЛН
Каха и лужа  #непосредственнокаха
00:15
AWS IAM Core Concepts You NEED to Know
21:40
Be A Better Dev
Рет қаралды 217 М.
Don't start your AI project without doing THIS
19:47
PropTech Founder
Рет қаралды 658
Easy Multi-tenant NextJS Apps With Clerk
29:58
Jack Herrington
Рет қаралды 28 М.
AWS SQS vs SNS vs EventBridge - When to Use What?
22:37
Be A Better Dev
Рет қаралды 182 М.
The Most Important AWS Core Services That You NEED To Know About!
18:09
Be A Better Dev
Рет қаралды 416 М.
You Won’t Believe What Excel’s Copilot Can Do! (new updates)
10:37
7 Ways to Deploy Containers on AWS
17:14
Be A Better Dev
Рет қаралды 14 М.
How to Create Engaging Architecture Diagrams Using AWS
18:17
AWS Developers
Рет қаралды 9 М.
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 13 МЛН