top | item 38028694 (no title) tinrab | 2 years ago Is there a way to protect against the "Denial of wallets" attack? discuss order hn newest mcherm|2 years ago Yes, there is a way to protect against that attack!All you need to do is have triggers in place that will shut down or slow down your service when the costs are exceeding some amount.(If you get a moment of viral growth, you can always disable the trigger.)Unfortunately, AWS makes it extremely difficult to build such a trigger, and I'm not sure about other cloud providers. mlhpdx|2 years ago There’s always rate limiting. Cloudfront supports it, API gateway support it, and it’s super easy to set up.
mcherm|2 years ago Yes, there is a way to protect against that attack!All you need to do is have triggers in place that will shut down or slow down your service when the costs are exceeding some amount.(If you get a moment of viral growth, you can always disable the trigger.)Unfortunately, AWS makes it extremely difficult to build such a trigger, and I'm not sure about other cloud providers. mlhpdx|2 years ago There’s always rate limiting. Cloudfront supports it, API gateway support it, and it’s super easy to set up.
mlhpdx|2 years ago There’s always rate limiting. Cloudfront supports it, API gateway support it, and it’s super easy to set up.
mcherm|2 years ago
All you need to do is have triggers in place that will shut down or slow down your service when the costs are exceeding some amount.
(If you get a moment of viral growth, you can always disable the trigger.)
Unfortunately, AWS makes it extremely difficult to build such a trigger, and I'm not sure about other cloud providers.
mlhpdx|2 years ago