1 Answer
- Newest
- Most votes
- Most comments
3
To deploy your Express-based REST API to AWS Lambda, first, create a Lambda handler function that adapts your Express app to work with Lambda. Then, package your app and its dependencies into a deployment package. Finally, deploy the package to Lambda and configure API Gateway to trigger your Lambda function to handle HTTP requests. You can follow the documentation Building Lambda functions with Node.js
Relevant content
- asked 17 days ago
- asked 6 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
Thank you for your answer. I finally figured it out; I even figured out how to allow my Lambda to access DynamoDB to grab my data! Now I just have to figure out logging...