- 최신
- 최다 투표
- 가장 많은 댓글
Hi,
I think starting with aws-serverless-express is a good place to start if you're looking to quickly migrate an existing ExpressJS application. This will make it much easier to get up and running and debugging locally if you are already familiar with ExpressJS.
As your application grows you may want to start looking towards using something a bit more lightweight like middy and breaking up your functions. The idea here is by moving to a more modular approach you'll be able to take advantage of additional API Gateway functionality, follow the principle of least privilege with your policies, and right sizing your lambda functions (ie: lambda-power-tuning).
A good way to get started would be to pick a serverless framework/toolchain. A few worth exploring are:
if it's something small you can start simple and then ramp up as needed.
Edit: I failed to mention; if you are beginning a new project it may be better to look into designing your architecture with serverless in mind, which would be more towards focusing on creating individual lambdas, rather than a single lambda handling multiple routes
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전