1 Answer
- Newest
- Most votes
- Most comments
1
This stackoverflow posting covers the topic pretty well.
https://stackoverflow.com/questions/65266948/express-js-app-serverless-using-lambda-or-functions-a-good-idea
Key points are that lambda is best used to create single function microservices (one lambda == one function / microservice) which are small, fast and easy to maintain, test, deploy and troubleshoot. If you use a framework like express you are making one lambda into a full monolithic app and maintaining all the baggage of that architecture. If that is your plan, you are likely better off hosting in containers on ECS with Fargate or an multiple EC2 instances either of which should be fronted with an ALB for redundancy.
Hope this helps!
Relevant content
- asked 3 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 5 months ago