Serverless and price of DDoS attacks

There's one thing in serverless that I'm not able to figure out: as far as I know if you suffer a DDoS attack in AWS then you have to pay for all the usage that the DDoS attack has caused, which can get very pricey. Other non-serverless hosting companies dont have this issue: if you suffer a DDoS attack you dont get charged an extra amount. Does that simply not exist in serverless? How do you tackle DDoS attacks for your apps in serverless? A rate limiter wouldnt be enough, right?
2 Replies
awexis
awexis16mo ago
I think vercel on the enterprise plan has DDOS protection
Neto
Neto16mo ago
You can simply use cloudflare on handle the traffic, or some other provider