How to deploy Express Server on AWS Lambda

preview_player
Показать описание
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:
- Make sure you aren't using the base express route. API Gateway will not route this to our lambda function

Resources:

Рекомендации по теме
Комментарии
Автор

Thx for this tutorial !! Migration from basic nodejs server to aws can't be more easy with your concise explanation !! 👏🏻

alexandrepayet
Автор

Excellent!!, you have saved me, I had several days trying to solve it... Thank you very much for your contribution

Everything very easy and clear to understand and start up
👋👋👋👋👍👍

GerardoRojasPacheco
Автор

This was the tutorial I was looking for! You are a superstar!

amoutsatsos
Автор

thank you for making this.
making life easier with deploying super simple crud api

RafieGilang-le
Автор

thank you so much. this was the simplest tutorial i found on youtube.

stareditz
Автор

Yes, I enjoyed the video. Thanks for asking, or rather hoping

tech
Автор

Awesome!! Thankyou!! got what I was looking for!!

rajkiranm
Автор

The deployment package of your Lambda function "hotelS3" is too large to enable inline code editing. However, you can still invoke your function.

MrRaj-rzpo
Автор

Thanks for you! This video solved my problem.

mackerel
Автор

This was super clear and helpful! Thank you :) Things seem to be connected on my end, but there's a CORS error that won't go away. any idea? (I enabled it in the gateway)

eves.
Автор

Hi Vini, thanks for the video! Question, I have a simple Node project that connects to the Binance API using a WebSocket, I want to use AWS to keep the Node project running in the cloud instead of my PC. What should I use? Just a Lambda Function? thanks

luisnannini
Автор

This is weird I deployed my express server on vercel cloud serverless once and it was working without any issue. Am I to assume that they change the code base automatically?

slovker
Автор

How do you serve the frontend with an express app?

wingsaber
Автор

I have a express and postgres backend. The api requires jwt token in headers will this way work

sk
Автор

would someone explain why the base route doesn't work?

Abdelmounim-edraak
Автор

hi i have a question can we deploy our old sequelize orm project to lamdba?

shivShaktitech
Автор

Hi Vini,

I'm getting statusCode 404 error I did same as of you, could you please help me to fix it,

"headers" : {
"x-powered-by": "Express",

}

MrPakssa
Автор

Hello! I'm trying to deploy my server. I'm using Prisma, express with routes and controllers with it.
For my client-side i'm using React.

Does this deployment method works for me?

cimoran
Автор

I see serverless-http is no longer being maintained?

Jordan-erbx
Автор

"message": "Internal server error"

Any help?

junjiegong