Thanks a lot for the video. A small feedback from my side would be for you to talk a lil more louder and clearer. Everything else was really good. Thanks again man.
Thanks for your feedback, yes the audio was pretty bad, this is my first time with OBS studio and recording stuffs. Planning to create more videos with better content. Thank you again
I followed the same steps, but after executing npm run deploy command process executed successfully but i dont see endpoints, it is showing as None. I am using mumbai region in lambda file and created keys for mumbai region only "Service Information service: aws-lambda-node-tut stage: production region: ap-south-1 stack: aws-lambda-node-tut-production resources: 2 api keys: None endpoints: None functions: None layers: None" can you please help me
May I know how you get your node_modules and also source code uploaded on lambda? my node_modules are quite large (like 400mb++), so AWS keep prompt me error for this (it only allows file for
Hi there Im getting an error deploying a function with node dependancies. I looks importing a node module in lambda code editor (also in the terminal locally in the EC2 server) does not find the module, even if it is zip "errorType": "Runtime.ImportModuleError", "errorMessage": "Error: Cannot find module 'mailgun-js'", "trace": ... Do you have any tips? The index.js looks lik: const mailgun = require("mailgun-js"); exports.handler = async (event, context, callback) { const DOMAIN
I keep getting Uploaded file must be a non-empty zip (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 5da5428e-d0bc-4dba-bd6d-d3a006510024; Proxy: null) error. When I checked the S# bucket where the zip gets uploaded, the zip is present with all the files and directories.
Great tutorial ! I wonder how did you learn this ? Do you recommend any resource for learning or demo how to build other projects on AWS Lambda? Thanks
I was trying to add mongodb atlas in app.js file using mongoose but getting { "message": "Forbidden" } any reason for this? Or we need to handle separately
Check your connection string. Usually MongoDB Atlas you need to enable your ip address or specify the 0.0.0.0 ip address to access the db from the internet. Also you need to add the username and password in the connection string.
The deployment package of your Lambda function "Projectfile name" is too large to enable inline code editing. However, you can still invoke your function.
Hi, Thanks for the tutorial. I am getting below error - Serverless Error ---------------------------------------
The security token included in the request is invalid. I have configured 'aws configure' and env variables like - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY Thanks
Hi, thanks for your tutorial - i am getting this error on trying to npm run deploy -npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! appname-api@1.0.0 deploy: `serverless deploy` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the appname-api@1.0.0 deploy script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. Any help pls.
Can't figure out the exact reason as this is a common npm error, Try deleting package-lock.json file and npm_modules folder and reinstall dependencies. Also try cloning my repo (link in the description of this video) and modify the logic to your rquirements.
Thanks for the feedback. This is my first video. I'll try to create more quality content in my future videos. I hope the repo in the description can help you.
Awesome....I was struggling to start my express node js in aws from last 3 week, this video solved all my problems, Thanks a lot!!!
Thanks a lot for the video. A small feedback from my side would be for you to talk a lil more louder and clearer. Everything else was really good. Thanks again man.
Thanks for your feedback, yes the audio was pretty bad, this is my first time with OBS studio and recording stuffs. Planning to create more videos with better content. Thank you again
Thanks a lot. This is working.
The mistake you did about app listening to localhost, actually even that is something to learn, thanks for making that mistake :)
THis is what I was exactly looking for! Thank you so much!!
great video!! thanks
Thank you! I have referenced this again and it is still really helpful.
I followed the same steps, but after executing npm run deploy command process executed successfully but i dont see endpoints, it is showing as None. I am using mumbai region in lambda file and created keys for mumbai region only "Service Information
service: aws-lambda-node-tut
stage: production
region: ap-south-1
stack: aws-lambda-node-tut-production
resources: 2
api keys:
None
endpoints:
None
functions:
None
layers:
None" can you please help me
upload your code in GitHub and ping me ill check once.
for me it's coming successfully
In your serverless.yml file change "function" to "functions". This worked for me.
May I know how you get your node_modules and also source code uploaded on lambda? my node_modules are quite large (like 400mb++), so AWS keep prompt me error for this (it only allows file for
Create layer and upload there
@@SamimAlmamun What is layer?
Hi there
Im getting an error deploying a function with node dependancies. I looks importing a node module in lambda code editor (also in the terminal locally in the EC2 server) does not find the module, even if it is zip
"errorType": "Runtime.ImportModuleError",
"errorMessage": "Error: Cannot find module 'mailgun-js'",
"trace": ...
Do you have any tips? The index.js looks lik:
const mailgun = require("mailgun-js");
exports.handler = async (event, context, callback) {
const DOMAIN
Try to install node modules locally like npm I maligun-js and then zip and upload to lambda . It will work
You have saved my time, Tnx
thanks man this tutorial helps me a lot
I keep getting Uploaded file must be a non-empty zip (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 5da5428e-d0bc-4dba-bd6d-d3a006510024; Proxy: null) error.
When I checked the S# bucket where the zip gets uploaded, the zip is present with all the files and directories.
thanks for making that trivial mistake! great tutorial
Great tutorial ! I wonder how did you learn this ? Do you recommend any resource for learning or demo how to build other projects on AWS Lambda? Thanks
i know I am quite off topic but do anyone know a good website to stream new tv shows online ?
Great job ! I really appreciate it !
tum accha kaam kiya hai cs beam bhai
Awesome! Thanks a Lot for this vídeo. It is really life saving.
What a great tutorial!
I was trying to add mongodb atlas in app.js file using mongoose but getting
{
"message": "Forbidden"
}
any reason for this? Or we need to handle separately
Check your connection string. Usually MongoDB Atlas you need to enable your ip address or specify the 0.0.0.0 ip address to access the db from the internet.
Also you need to add the username and password in the connection string.
The deployment package of your Lambda function "Projectfile name" is too large to enable inline code editing. However, you can still invoke your function.
thank you bro
thank you very much. super helpful tutorial :-)
thats amazing
how to remove /production at last I don't want users to add /production at then end of my website
Hi, Thanks for the tutorial. I am getting below error -
Serverless Error ---------------------------------------
The security token included in the request is invalid.
I have configured 'aws configure' and env variables like - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
Thanks
It looks like your access key and secret are wrong. Try checking again . If it's crct then it might be issue with yml file
That poor _'Return'_ key.
Showing error when trying to open file from app using res.render
Nice. 👍🏼
What would I need to do incase of render()
I didn't get any endpoints and function
I have this question too!
In your serverless.yml file change "function" to "functions". This worked for me.
can you help me i am not getting any endpoints
In your serverless.yml file change "function" to "functions". This worked for me.
Thank you man
I'm glad it helped you.
Hi, thanks for your tutorial - i am getting this error on trying to npm run deploy -npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! appname-api@1.0.0 deploy: `serverless deploy`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the appname-api@1.0.0 deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Any help pls.
Can't figure out the exact reason as this is a common npm error, Try deleting package-lock.json file and npm_modules folder and reinstall dependencies. Also try cloning my repo (link in the description of this video) and modify the logic to your rquirements.
Sir, please solve my Issue: It is showing error in case of res.render()
Crack!!!
It is showing error in case of res.render()
where can i find location
your voice is low and discomfortable
You over complicated it
No one able to read text on your video
Thanks for the feedback. This is my first video. I'll try to create more quality content in my future videos. I hope the repo in the description can help you.
@@csbeam appreciate your work 👍
You over complicated it