This repository contains example code I used to test running an express/node.js app on AWS Lambda.
The orginal example code came from ClaudiaJS Example Projects
Prerequisite: Set up AWS credentials
-
Install dependencies:
npm install
-
Generate a proxy for the express app:
npm run generate-proxy
-
Configure AWS Lambda and deploy project:
npm run deploy
After the last step, the url to invoke the lambda handler will be printed out.
To deploy code changes to lambda run: npm run update