https://serverless-stack.com/ logo
#help
Title
# help
t

Tonny (sstNerd)

03/10/2022, 5:06 AM
Hey SST community, I’ve a random question for those who are really experimented into real serverless applications: do you have a way to lock your application if you ever get slammed? (by either some sort of DDOS or “bots” (apparent real-traffic that is not real but is just killing your AWS budget)? I want to sell SST as a solution in the company I work on but that is my only (and stronger) downside here b/c I’ve no way to guarantee that the billings here are going to stick to our budget as in a traditional cloud. Any input/experience you can share about that?
o

Omi Chowdhury

03/10/2022, 5:23 AM
I just chatted with AWS about this earlier this week - they recommended AWS shield advanced, which looks pricy but makes sense for a larger provider
t

thdxr

03/10/2022, 5:24 AM
APIG has rate limits but I'm not familiar with how it works
s

Seth Geoghegan

03/10/2022, 5:31 AM
Is this a question about SST specifically, or serverless tech in general?
t

Tonny (sstNerd)

03/10/2022, 5:31 AM
good point… I mean I’m using SST but I guess it’s more AWS setup for SST applications
s

Seth Geoghegan

03/10/2022, 5:32 AM
In other words, is there a question about how much it costs to develop natively in the cloud vs locally in docker?
Gotcha. The pay per use model of serverless can be a bit of a paradigm shift
Throw in cloud native development environments like the kind SST supports, and you're breaking another paradigm
Yan Cui wrote a good blog post about this topic, I think you may find it useful: https://theburningmonk.com/2019/01/you-are-thinking-about-serverless-costs-all-wrong/
t

Tonny (sstNerd)

03/10/2022, 5:38 AM
got it, ty I am going to take a break to read it now 👍
t

thdxr

03/10/2022, 6:14 AM
The attack vector of spamming an API does exist
There are lambda concurrency limits you can set in place
r

Roberto Novelo

03/10/2022, 5:26 PM
s

Seth Geoghegan

03/10/2022, 6:10 PM
Probably worth mentioning the existence of Billing Alerts as well