|
|
|
|
|
by gazzini
1970 days ago
|
|
I loved reading serverless-stack a couple of years ago; it was really helpful & convinced me to use serverless for a side-project that’s still going (with almost no expenses!). I’m surprised to hear how many separate lambda functions each service in your example had. I understand the need to deploy each service independently... but to have +10 deployments within each service seems crazy to me. Is there a reason each service needs so many lambdas (vs deploying the service code as a single lambda function with different branches)? Fwiw, I found it possible to get quite far with a single monolithic lambda function that defined multiple “routes” within it, similar to how an Express server would define routes & middleware. Anyways, thanks for writing that PDF, and good luck with Seed! |
|
Obviously this can expand the blast radius of any vulnerability and tends to encourage rougher grained privilege grants.