AWS Lambda Task timed out after 3.00 seconds


I created a simple Node.js script to connect to a RDS instance but sadly it always returns with timeout error. It is strange because it works perfectly from my machine.

The instance is public accessible and context.callbackWaitsForEmptyEventLoop = false;

have you got any idea?


Lambda has a property of time out. Have you checked this configuration in the Lambda via console (Basic configuration) or in your deployment template file?

Leave a Reply