Using Lambda Functions With NodeJS


Simple example of setting up Lambda with NodeJS.


Loksubhash Pulivarthi

hi, my name is Loksubhash Pulivarthi. My good name is Lock.So I was trying out the example on AWS lambda with the code you have made public on GitHub but the status in the lambda showed me undefined instead of the message that the server is operating normally and increased API Error Rates. I would like to show images but unfortunately there are no options for that in the comment area. So, i will just post it as a text.

Loksubhash Pulivarthi

Response: {} Request ID: "9184136e-d8cc-11e8-afd9-4df202ade535" Function Logs: START RequestId: 9184136e-d8cc-11e8-afd9-4df202ade535 Version: $LATEST 2018-10-26T03:09:36.686Z 9184136e-d8cc-11e8-afd9-4df202ade535 AWS EC2 us-east-1 ----------------- Loksubhash Pulivarthi reports the server status is...undefined END RequestId: 9184136e-d8cc-11e8-afd9-4df202ade535 REPORT RequestId: 9184136e-d8cc-11e8-afd9-4df202ade535 Duration: 658.30 ms Billed Duration: 700 ms Memory Size: 128 MB Max Memory Used: 50 MB

Loksubhash Pulivarthi

Response: {} Request ID: "9184136e-d8cc-11e8-afd9-4df202ade535" Function Logs: START RequestId: 9184136e-d8cc-11e8-afd9-4df202ade535 Version: $LATEST 2018-10-26T03:09:36.686Z 9184136e-d8cc-11e8-afd9-4df202ade535 AWS EC2 us-east-1 ----------------- Loksubhash Pulivarthi reports the server status is...undefined END RequestId: 9184136e-d8cc-11e8-afd9-4df202ade535 REPORT RequestId: 9184136e-d8cc-11e8-afd9-4df202ade535 Duration: 658.30 ms Billed Duration: 700 ms Memory Size: 128 MB Max Memory Used: 50 MB



Built using a homegrown CMS called Kore

© 2017 AWS Tutorial Series