Serverless Bliss ! NestJS Serverless + Serverless PostgreSQL with Neon Database on AWS! 💻⚡
HTML-код
- Опубликовано: 24 авг 2024
- In this video, we will see how we can develop APIs using NestJS and then deploy NestJS in an Serverless fashion using Serverless Framework and serverless-express library.
We will be using Serverless PostgreSQL from Neon Tech.
neon.tech/
Github: github.com/imd...
#aws #developers #serverless #postgresql #neon #cloud #lambda #trending #tutorials #career #learning
Note: The logos used are trademarks of Neon.Tech, Serverless Framework, AWS, NodeJS.
This video is not affiliated or sponsored. This video is only for Learning purpose.
Serverless PostgreSQL from Neon.Tech : neon.tech/
Github Code Repository: github.com/imdurgadas/serverless-pg-nestjs
This is a great video! In one video you summarized NestJs, AWS Lambda and Serverless local testing with Serverless deployment.
Thank you !
Thanks!
thank you for this and would you please teach us nestjs or expressjs, postgres/mongodb with ci/cd, deploy aws?
This time I learn aws with lamda wow thank you so much sir
Glad it was useful. I am planning to have few videos on NestJS which will explain concepts in depth.
@@durgadaskamath great to know!!
Please add complete guide tutorial on CI/CD (github, aws) with expressjs/nestjs.
Thank you once again🙏🏽🙏🏽
Hi! amazing video.
In this project, can I deploy a single function?
Because we have only one function in the project.
thanks
Definitely. You can have a single function in the project. Reason for having such organization was to make it easy to understand on how we can have multiple apis being exposed as a function with better code organization.
Great Video. Though I keep getting this error BadRequestError: request size did not match content length . Kindly assist
I will need to look into the code to assist you. Do you have the code pushed to any github so that I can take a look ?
aws lambda is stateless. so where does the cached app instance live?
AWS Lambda spins up a container when it receives the request. So if you make 10 calls in parallel, its 10 containers that is spun up with cold start. Lets say when you make 11th request and the 1st request is done, it would reuse the containers which are already created and has finished execution.
@@durgadaskamath thanks. In the 11th request, I understand it would reuse the specific os container which will be faster but it will again loadup express app (thought that won't take long). right?
@@enableDeepak That's correct. As there won't be cold starts and all the initialization would have been already done.