Trying to deploy an express server to AWS lambda can be difficult if you don't have a lot of experience with AWS services or if you have never used serverless-http. In this video, I walk you through deploying your express server to a Lambda function and explain the process to show how simple it can actually be.
Tips:
- When deploying the lambda function make sure your index.js file is in your projects root directory
- Make sure you aren't using the base express route. API Gateway will not route this to our lambda function
Resources:
Github Repo: github.com/Vin...
serverless-http: www.npmjs.com/...
Express Docs: expressjs.com/...
My github: github.com/Vin...
My portfolio: www.vinibjazev...
Негізгі бет Ғылым және технология How to deploy Express Server on AWS Lambda
Пікірлер: 41