13 Migrating your existing Express.js app to AWS Lambda

This chapter covers

  • Running Express.js applications in AWS Lambda and the serverless ecosystem
  • Serving static content from an Express.js application
  • Connecting to MongoDB from a serverless Express.js application
  • Understanding the limitations and risks of Express.js apps in a serverless ecosystem

Express.js is the most important and most used Node.js framework. That’s not without reason: Express.js is easy to use and has a large ecosystem of middleware that can help you build an API or server-rendered web application. But using Express.js still requires a server that will host the application, which means we’re back to the problems this book tries to solve by using serverless technologies. ...

Get Serverless Applications with Node.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.