3 ms·
A variant of #1 that I've encountered has a single "service" with a multiple entry-point functions, being deployed as several lambda's - one per entry point - s
by BerislavLopac 5y ago
A variant of #1 that I've encountered has a single "service" with a multiple entry-point functions, being deployed as several lambda's - one per entry point - so each lambda contains a copy of the whole codebase.
- WatchDog 5y agoIt addresses the least privilege issue, and maybe package size (depending how intelligent your build tooling is).
- lormayna 5y agoYou can use a Lambda Layer and avoid repeating the same code: https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html https://docs.aws.amazon.com/lambda/latest/dg/invocation-laye...