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: [ Ссылка ]
serverless-http: [ Ссылка ]
Express Docs: [ Ссылка ]
My github: [ Ссылка ]
My portfolio: [ Ссылка ]
![](https://s2.save4k.ru/pic/xUFnPGVs7so/maxresdefault.jpg)