Great question. With Heroku, Git is how they manage app deployments; however, deploying to AWS Lambda + API Gateway is a bit different.
I did just try bundling up an Atlassian Connect Express sample app, and uploaded it to Lambda (and configured it to trigger with AWS API Gateway), but it didn’t work on this attempt (
TypeError in at
node_modules/atlassian-connect-express/lib/internal/util.js). So out of the box, no, I couldn’t get it to work.
Come to think of it, I don’t think that I’ve ever tried to deploy a whole Express framework app to Lambda before. If you’re up to the task – here are a couple of things that I’m likely to give a try next:
AWS Labs Serverless Express - library and sample app to run Express app on Lambda+API Gateway
Claudia.js - library that lets you just build, and not deal with complexities of config/deployment – looks very cool
Would love to hear from other folks in community that are running apps/services in prod on Lambda + API Gateway.